/* 让滚动条丝滑的滚动 */
html {
  scroll-behavior: smooth;
}

/* 去除常见标签默认的 margin 和 padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 设置网页统一的字体大小、行高、字体系列相关属性 */
body {
  font: 16px/1.5  Open Sans, sans-serif;
  color: #333;
}

/* 去除列表默认样式 */
ul,
ol {
  list-style: none;
}

/* 设置img的垂直对齐方式为居中对齐，去除img默认下间隙 */
img {
  vertical-align: middle;
}

/* 去除input默认样式 */
input {
  border: none;
  outline: none;
  color: #333;
}

/* 去除默认的倾斜效果 */
em,
i {
  font-style: normal;
}

/* 去除a标签默认下划线，并设置默认文字颜色 */
a {
  text-decoration: none;
  color: #333;
}

a:hover {
  color: #333;
}

#app {
  max-width: 95%;
  margin: 0 auto;
}
.page_container{
    width:100%;
    margin:0px auto;
}

button {
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.mr20 {
  margin-right: 20px;
}

.header-content {
  cursor: pointer;
  padding: 50px 20px 0;
  background-color: #1B2E58;
}
@media (min-width: 768px) {
.header-content {
  height: 180px;
}

}

.header-box {
  height: 70px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ouroom-logo {
  width: 220px;
  height: 62px;
}

.ouroom-logo:hover {
  /* transform: scale(1.05); */
}

/* 分享 搜索 start */
.searchShare-box {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.share-box {
  display: flex;
}

.share-icon {
  margin-right: 10px;
  width: 24px;
  height: 24px;
}

.share-icon:hover {
  /* transform: scale(1.05); */
}

.search-input {
  margin-left: 20px;
  display: flex;
  align-items: center;
  width: 280px;
  background-color: #fff;
}

.search-icon {
  margin: 0 10px;
  width: 20px;
  height: 20px;
}

/* 分享 搜索 end */


/* menu 菜单 start */
.header-menu {
  cursor: pointer;
}

.xfcart-main-content{
  padding-top:150px;
  margin:0px auto;
  width:100%;
}

.el-dropdown-link {
  display: inline-block;
  font-family: Arial Nova;
  font-weight: normal;
  font-size: 16px;
  color: #fff;
}

.el-dropdown-link:hover {
  transform: scale(1.05) !important;
}

.el-dropdown-menu {
  padding: 10px 20px;
  border: none;
  background-color: #5B6073;
}

.el-dropdown-menu__item {
  min-width: 160px;
  margin: 5px 10px !important;
  padding-inline: 0 10px !important;
  font-family: Arial Nova;
  font-weight: 300;
  font-size: 16px;
  color: #FFFFFF;
  border-bottom: 1px solid #fff;
}

.el-dropdown-menu__item:hover {
  /* transform: scale(1.05) !important; */
  color: #fff !important;
  font-weight: 700;
  /* color: #1B2E58 !important; */
  background-color: #5B6073 !important;
}

.el-popper[x-placement^="bottom"] .popper__arrow {
  display: none;
}

.inquier-box {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inquier-content {
  width: 100%;
  margin-left: 20px;
  display: flex;
  flex-flow: column;
}

.inquier-name {
  width: 100%;
  font-family: Arial Nova;
  font-weight: 300;
  font-size: 16px;
  line-height: 20px;
}

.inquier-info {
  margin-top: 10px;
  width: 100%;
  font-family: Arial Nova;
  font-weight: 300;
  font-size: 12px;
  line-height: 20px;
}

.inquier-delete {
  margin-left: 20px;
  width: 22px;
  height: 22px;
  background-color: #1B2E58;
}

.inquier-btn-box {
  padding: 20px 40px;
}

.inquier-btn {
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #1B2E58;
}

/* menu 菜单 end */
.mian-content {
  min-height: calc(100vh - 792px);
}

/* 加载蒙版样式 */
.loading-mask {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    z-index: 9999; /* 确保在最上层 */
    justify-content: center;
    align-items: center;
}

.loading-content {
    background-color: white;
    padding: 30px 50px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 加载动画（旋转的圆圈） */
.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1b2e58; /* 使用主题色 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content p {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    margin: 0;
}

/* 确保与现有样式兼容 */
{% if template.is_mobile %}
.loading-content {
    padding: 20px 30px;
}
.spinner {
    width: 30px;
    height: 30px;
}
.loading-content p {
    font-size: 14px;
}
{% endif %}
