/* =========================================================
   xloscloud 会员中心 · 绿色主题（公共壳）
   供 clientarea 所有页面（finance/productList/order 等）共用
   由 header.php 在 common.js 之后加载，覆盖 common.css 默认样式
   ========================================================= */

:root {
  --hc-deep: #04291A;
  --hc-deep-2: #03180F;
  --hc-brand: #0B9D5C;
  --hc-bright: #12B36C;
  --hc-soft: #E8F8F0;
  --hc-line: #DFF2E8;
  --hc-title: #0A3D2A;
  --hc-text: #1E2736;
  --hc-text-2: #5C7A6B;
  --hc-shadow: 0 14px 34px -18px rgba(3, 32, 20, 0.16);
  --hc-shadow-sm: 0 8px 20px -12px rgba(3, 32, 20, 0.12);
}

html,
body {
  background: #EDF4F0 !important;
}

.template,
.el-container {
  background: transparent !important;
}

/* ---------- 顶部工具条 · 深绿玻璃拟态 ---------- */
.el-header {
  height: 64px !important;
  padding: 0 28px !important;
  background: rgba(4, 41, 26, 0.78) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important;
}
.el-header .header-left .el-input__inner {
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #fff;
}
.el-header .header-left .el-input__inner::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.el-header .header-right .header-right-item .un-login {
  color: rgba(255, 255, 255, 0.88);
}
.el-header .header-right .header-right-item .un-login img,
.el-header .header-right .right-item img,
.el-header .header-left .left-img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.el-header .header-right .header-right-item .el-dropdown-country img {
  filter: none;
  opacity: 1;
}
.el-header .header-right .header-right-item .cloum-line {
  border-color: rgba(255, 255, 255, 0.18);
}
.el-header .header-right .right-icon {
  color: rgba(255, 255, 255, 0.85);
}
.el-header .head-box {
  background: linear-gradient(135deg, var(--hc-bright), var(--hc-brand)) !important;
  color: #fff !important;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

/* 顶部下拉面板 */
.el-dropdown-menu {
  padding: 6px;
  border: 1px solid var(--hc-line);
  border-radius: 12px;
  box-shadow: 0 16px 36px -16px rgba(3, 32, 20, 0.28);
}
.el-dropdown-menu__item {
  border-radius: 8px;
  color: var(--hc-text);
}
.el-dropdown-menu__item:hover,
.el-dropdown-menu__item:focus {
  background: var(--hc-soft);
  color: var(--hc-brand);
}
.el-autocomplete-suggestion {
  border-radius: 12px;
  border: 1px solid var(--hc-line);
  box-shadow: 0 16px 36px -16px rgba(3, 32, 20, 0.28);
}
.el-autocomplete-suggestion li:hover {
  background: var(--hc-soft);
}

/* ---------- 左侧菜单 · 深绿渐变 ---------- */
.el-aside {
  padding: 0 10px !important;
  background:
    radial-gradient(420px 260px at 50% -8%, rgba(18, 179, 108, 0.28), transparent 70%),
    linear-gradient(180deg, #053323 0%, var(--hc-deep) 46%, #031A12 100%) !important;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05), 16px 0 40px rgba(0, 0, 0, 0.18) !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.el-aside::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}
.el-aside::-webkit-scrollbar-thumb,
.el-aside::-webkit-scrollbar-track {
  background: transparent !important;
}
.el-aside .ali-logo {
  height: 34px;
  max-width: 150px;
  margin-top: 20px;
}
.el-aside .menu-top {
  margin-top: 72px;
}
.el-aside .menu-top .el-menu-item,
.el-aside .menu-top .el-submenu__title {
  height: 44px;
  line-height: 44px;
  margin: 3px 0;
  padding-left: 16px !important;
  border-radius: 10px;
  font-size: 14px;
}
.el-aside .menu-top .el-menu-item.is-active {
  background: #fff !important;
  color: var(--hc-brand) !important;
  font-weight: 600;
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.75);
}
.el-aside .menu-top .el-menu-item.is-active i {
  color: var(--hc-brand) !important;
}
.el-aside .menu-top .el-submenu .el-menu-item {
  height: 36px;
  line-height: 36px;
  padding-left: 46px !important;
}
.el-aside .menu-top .el-submenu .el-menu-item.is-active {
  background: rgba(255, 255, 255, 0.94) !important;
  border-radius: 8px;
}
.el-aside .aside-menu-text {
  margin-left: 14px;
}
.el-aside .line {
  width: auto;
  margin: 26px 14px;
  border-color: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

/* 加载动画：竖条改为脉冲波纹（覆盖上方 .ddr 规则） */
#mainLoading .ddr { display: none; }
#mainLoading .ddr1,
#mainLoading .ddr2,
#mainLoading .ddr3 {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  float: none;
  border-radius: 50%;
}
#mainLoading .ddr1 {
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border: none;
  animation: none;
  transform: translate(-50%, -50%);
}
#mainLoading .ddr2,
#mainLoading .ddr3 {
  width: 14px;
  height: 14px;
  background: transparent;
  border: 3px solid var(--color-primary);
  animation: mainLoadingPulse 1.4s ease-out infinite;
}
#mainLoading .ddr3 { animation-delay: .7s; }
@keyframes mainLoadingPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}
