/* css变量 */
:root {
  --color1: #000;
  --color2: #266FFF;
  --color3: #101010;
  --color4: #333;
}
/* 公共样式 */
* {
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",Arial, sans-serif;
}
body::-webkit-scrollbar {
	display: none !important;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE / Edge */
}

a {
    text-decoration: none;
}

body {
    background-color: #F2F3F4;
    font-size: 14px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: var(--color1);
    z-index: 100;
}

.header-inner{
    padding: 10px 0;
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 20px;
    color: var(--color3);
    font-weight: bold;
}

.logo-img{
    height: 33px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    display: block;
    font-size: 14px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
    color: var(--color1);
}

.nav-link.active, .nav-link:hover {
    color: var(--color2);
}

.btn-login {
    background-color: #0088ff;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-login:hover {
    background-color: #0077e6;
}

.admin-nav-link{
    width: 82px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    border: 1px solid currentColor;
    color: var(--color2);
    font-size: 14px;
    transition: 0.2s;
}

.admin-nav-link:hover{
    background: var(--color2);
    color: #fff;
}

.register-nav-link {
    font-weight: normal;
}

.page-container{
    width: 1200px;
    margin: 54px auto 0;
}

/* 登录弹窗 */
.login-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.login-mask.show {
    display: flex;
}

.login-container {
    display: flex;
    width: 800px;
    height: 500px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

.login-left {
    width: 40%;
    background: url(../image/login_bg.png) no-repeat;
    background-size: 100%;
    color: #fff;
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right {
    width: 60%;
    padding: 40px 50px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-area {
    text-align: center;
}

/* 登录 Tab 切换 */
.login-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
    padding-bottom: 0;
}

.login-tab {
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
    padding-bottom: 12px;
    position: relative;
    transition: color 0.2s;
}

.login-tab:hover {
    color: #4080FF;
}

.login-tab.active {
    color: #4080FF;
    font-weight: 600;
}

.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4080FF;
    border-radius: 2px;
}

.login-tab-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 手机登录表单 */
.phone-login-content {
    width: 100%;
}

.phone-login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-input {
    width: 100%;
    height: 48px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 14px;
    color: #1f2937;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.login-input::placeholder {
    color: #9ca3af;
}

.login-input:focus {
    border-color: #4080FF;
    box-shadow: 0 0 0 2px rgba(64, 128, 255, 0.15);
}

.login-submit-btn {
    width: 100%;
    height: 48px;
    background: #4080FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.login-submit-btn:hover {
    background: #3366cc;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #4080FF;
}

.forgot-pwd {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-pwd:hover {
    color: #4080FF;
}

.login-footer {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-top: 10px;
}

.register-link {
    color: #4080FF;
    text-decoration: none;
    cursor: pointer;
}

.register-link:hover {
    text-decoration: underline;
}

/* 短信验证码行 */
.sms-code-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.sms-input {
    flex: 1;
}

.sms-btn {
    width: 120px;
    height: 48px;
    border: 1px solid #4080FF;
    color: #4080FF;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.sms-btn:hover {
    background: #EBF2FF;
}

.sms-btn.disabled {
    border-color: #d1d5db;
    color: #9ca3af;
    background: #f3f4f6;
    cursor: not-allowed;
}

/* 注册协议 */
.register-agree {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: -8px;
}

.register-agree a {
    color: #4080FF;
    text-decoration: none;
}

.register-agree a:hover {
    text-decoration: underline;
}

/* 找回密码面板 */
.forgot-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.forgot-header {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
}

.forgot-back {
    font-size: 18px;
    color: #333;
    cursor: pointer;
    margin-right: 12px;
    user-select: none;
    transition: color 0.2s;
    font-weight: bold;
}

.forgot-back:hover {
    color: #4080FF;
}

.forgot-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.forgot-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    margin: 6px 12px;
    padding: 12px 20px;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    font-size: 14px;
}

.menu-item .menu-icon {
    margin-right: 8px;
    flex-shrink: 0;
}

.menu-item span:not(.menu-arrow) {
    flex: 1;
}

.menu-item:hover {
    background: #ebf2ff;
}

.menu-item.active {
    background: linear-gradient(268.5deg, rgba(38, 111, 255, 1) 1.98%, rgba(70, 179, 240, 1) 98.71%);
    color: #fff;
}

.menu-item.active .menu-icon {
    filter: brightness(0) invert(1);
}

.submenu {
    display: none;
    background: #fafbfc;
}

.submenu.show {
    display: block;
}

.submenu-item {
    display: flex;
    align-items: center;
    margin: 6px 12px;
    padding: 12px 20px 12px 35px;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

.submenu-item .menu-icon {
    margin-right: 8px;
    flex-shrink: 0;
}

.submenu-item:hover {
    background: #ebf2ff;
}

.submenu-item.active {
    background: linear-gradient(91.6deg, rgba(70,179,240,1) 1.5%,rgba(38,111,255,1) 65.76%);
    color: #fff;
}

.submenu-item.active .menu-icon {
    filter: brightness(0) invert(1);
}

.menu-arrow {
    transition: 0.2s;
}

.menu-arrow.open {
    transform: rotate(90deg);
}

/* 微信登录容器样式 */
.wx-login-container {
    width: 300px;
}

.wx-login-container iframe {
    width: 300px !important;
}

.refresh-btn:hover {
    background: #0077e6;
}

.login-tip {
    display: none;
}

.login-status {
    margin-top: 10px;
    font-size: 14px;
}

.login-status.success {
    color: #07c160;
    font-weight: bold;
}

/* 用户信息样式 */
.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sub-admin-badge {
    font-size: 10px;
    color: #fff;
    background: #f59e0b;
    border-radius: 3px;
    padding: 1px 5px;
    margin-left: 6px;
    white-space: nowrap;
    line-height: 16px;
}

/* 用户静态信息展示样式 */
.user-static-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.user-static-info:hover {
    background: #f5f5f5;
}

.icon-user {
    width: 16px;
    height: 16px;
}

.user-phone {
    font-size: 14px;
    color: var(--color1);
}

.dropdown-arrow {
    display: inline-block;
    margin-top: -1px;
    width: 6px;
    height: 6px;
    border-right: 1px solid var(--color1);
    border-bottom: 1px solid var(--color1);
    transform: rotate(45deg);
    margin-left: 4px;
}

/* 用户信息弹窗 */
.user-info-popup {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 340px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 16px;
    z-index: 200;
}

.user-info-popup::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 6px;
}

.user-static-info:hover .user-info-popup {
    display: block;
}

.popup-phone {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

.popup-vip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f2f3f5;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
}

.popup-vip-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.popup-vip-desc {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.popup-vip-btn {
    display: inline-block;
    background: #fff;
    color: #266fff;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.popup-vip-btn:hover {
    background: #266fff;
    color: #fff;
}

.popup-resource-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.popup-resource-card {
    flex: 1;
    background: #f7f8fa;
    border-radius: 8px;
    padding: 12px;
}

.resource-label {
    font-size: 13px;
    color: #666;
}

.resource-value {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.resource-progress {
    width: 100%;
    height: 4px;
    background: #e8e8e8;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.resource-progress-bar {
    height: 100%;
    background: #266fff;
    border-radius: 2px;
}

.resource-btn {
    margin-top: 10px;
    width: 100%;
    background: transparent;
    border: 1px solid #266fff;
    color: #266fff;
    border-radius: 4px;
    padding: 5px 0;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.resource-btn:hover {
    background: #266fff;
    color: #fff;
}

.popup-menu-list {
    border-top: 1px solid #f0f0f0;
    padding-top: 4px;
}

.popup-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.popup-menu-item:hover .popup-menu-text {
    color: #266fff;
}

.popup-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.popup-menu-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.popup-menu-arrow {
    flex-shrink: 0;
}

/* ==================== 购买资源弹窗 ==================== */
.resource-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.resource-modal-mask.show {
    display: flex;
}

.resource-modal-container {
    width: 700px;
    overflow-y: auto;
    background: linear-gradient(134.38deg, rgba(235,242,255,1) 17.78%,rgba(231,233,248,1) 98.75%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

.resource-modal-box{
    margin: 60px 20px 20px;
    border-radius: inherit;
    background: #fff;
}

/* 关闭按钮 */
.resource-modal-close-x {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.2s;
    z-index: 10;
}

.resource-modal-close-x:hover {
    color: #333;
}

.resource-modal-close-x svg {
    width: 18px;
    height: 18px;
}

/* Tab 切换 */
.resource-modal-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.resource-modal-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 0;
    font-size: 15px;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.resource-modal-tab:first-child {
    border-radius: 0 0 0 16px;
}

.resource-modal-tab:last-child {
    border-radius: 0 0 16px 0;
}

.resource-modal-tab .tab-icon {
    width: 20px;
    height: 20px;
}

.resource-modal-tab.active {
    color: var(--color2);
    font-weight: 600;
}

.resource-modal-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--color2);
    border-radius: 2px;
}

/* 弹窗主体 */
.resource-modal-body {
    padding: 20px 24px 24px;
}

/* 标题 */
.resource-section-title {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.resource-title-main {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.resource-title-sub {
    font-size: 13px;
    color: #999;
}

/* 套餐网格 */
.resource-pkg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.resource-pkg-card {
    position: relative;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.resource-pkg-card:hover {
    border-color: #93b5ff;
    background: #f8fbff;
}

.resource-pkg-card.active {
    border-color: var(--color2);
    background: #f0f5ff;
    box-shadow: 0 2px 8px rgba(38, 111, 255, 0.12);
}

.resource-pkg-card .resource-pkg-yen {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.resource-pkg-card .resource-pkg-price-num {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.resource-pkg-card .resource-pkg-name {
    font-size: 14px;
    color: #333;
    margin-left: 4px;
}

/* 说明区域 */
.resource-desc-box {
    background: #fafbfc;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.resource-desc-main {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.resource-desc-highlight {
    color: var(--color2);
    font-weight: 500;
}

.resource-desc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.resource-desc-tips {
    font-size: 12px;
    color: #999;
}

.resource-order-total {
    font-size: 13px;
    color: #666;
}

.resource-order-price {
    color: var(--color2);
    font-size: 16px;
    font-weight: 700;
}

/* 支付方式 */
.resource-pay-section {
    margin-bottom: 20px;
}

.resource-pay-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.resource-pay-methods {
    display: flex;
    gap: 16px;
}

.resource-pay-method {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    font-size: 16px;
}

.resource-pay-method:hover {
    border-color: #93b5ff;
}

.resource-pay-method.active {
    border-color: var(--color2);
    background: #f0f5ff;
}

.resource-pay-method .icon-wx,
.resource-pay-method .icon-zf,
.resource-pay-method .icon-card {
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.resource-pay-method .icon-wx {
    background-image: url(../image/icon-wx.png);
}

.resource-pay-method .icon-zf {
    background-image: url(../image/icon-zf.png);
}

.resource-pay-method .icon-card {
    background-image: url(../image/icon-card.png);
}

/* 银行转账表单 */
.resource-bank-form {
    height: 75px;
    display: flex;
    flex-direction: column;
}

.resource-bank-wrap{
    flex: 1;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.resource-bank-label {
    margin-right: 16px;
    font-size: 14px;
    color: #333;
}

.resource-bank-label .required {
    color: #ff4444;
    margin-right: 2px;
}

.resource-bank-input {
    flex: 1;
    width: 0;
    height: 30px;
    padding: 0 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
}

.resource-bank-input:focus {
    border-color: var(--color2);
}

/* 提交按钮 */
.resource-submit-btn {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #266fff, #1a5ce6);
    color: #fff;
    border: none;
    border-radius: 23px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.resource-submit-btn:hover {
    background: linear-gradient(135deg, #1a5ce6, #1450cc);
    box-shadow: 0 4px 16px rgba(38, 111, 255, 0.3);
}

/* 底部提示 */
.resource-bottom-tip {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: #bbb;
}

/* ==================== 支付弹窗 ==================== */
.pay-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.pay-mask.show {
    display: flex;
}

.pay-container {
    width: 1000px;
    height: 700px;
    background: linear-gradient(134.38deg, rgba(235,242,255,1) 17.78%,rgba(231,233,248,1) 98.75%);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

/* 弹窗头部 */
.pay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 19px;
    border-bottom: 1px solid #f0f0f0;
}

.pay-header-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.pay-header-expire {
    font-size: 13px;
    font-weight: 400;
    color: #999;
    margin-left: 4px;
}

.pay-close-btn {
    width: 32px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: all 0.2s;
    user-select: none;
}

.pay-close-btn:hover {
    color: #666;
}

/* 弹窗主体 */
.pay-body {
    display: flex;
    flex: 1;
    height: 0;
    overflow: hidden;
    padding: 0 20px 20px;
}

/* 左侧权益 */
.pay-left {
    width: 260px;
    border-radius: 10px;
    background: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.pay-benefits-title {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8e8e8;
}

.pay-diamond-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.pay-diamond-icon.small {
    width: 18px;
    height: 18px;
}

.pay-diamond-icon.gray {
    color: #8c9bb3;
}

.pay-diamond-icon.gold {
    color: #cfa84e;
}

.pay-diamond-icon.blue {
    color: #266FFF;
}

.pay-benefits-list {
    flex: 1;
    overflow-y: auto;
}

.pay-benefit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
}

.pay-benefit-label {
    color: #555;
}

.pay-benefit-value {
    color: #333;
    font-weight: 500;
}

.pay-check-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pay-left-footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.pay-view-more-btn {
    width: 100%;
    padding: 8px 0;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-view-more-btn:hover {
    border-color: #266FFF;
    color: #266FFF;
}

.pay-invoice-tip {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

/* 右侧支付 */
.pay-right {
    flex: 1;
    width: 0;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

.pay-right-container{
    flex: 1;
    height: 0;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    background: #fff;
}

/* 版本切换 */
.pay-plan-tabs {
    position: relative;
    height: 56px;
    display: flex;
}

.pay-plan-tab {
    flex: 1;
    cursor: pointer;
}

.pay-plan-tab.active .pay-plan-tab-img{
    display: block;
}

.pay-plan-tab-img {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    pointer-events: none;
}

.pay-plan-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

/* 时长选择 */
.pay-duration-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.pay-duration-card {
    flex: 1;
    height: 160px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1.5px solid #e8e8e8;
    border-radius: 8px;
    padding: 14px 6px 10px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    background: #fff;
    user-select: none;
}

.pay-duration-card:hover {
    border-color: #b3c6ff;
}

.pay-duration-card.active {
    border-color: #266FFF;
    background: #eef3ff;
}

.pay-duration-tag {
    position: absolute;
    top: -10px;
    left: -1px;
    background: #266FFF;
    color: #fff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 0 7px 0 7px;
    font-weight: 500;
    line-height: 1.4;
}

.pay-duration-unit {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.pay-duration-price {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.pay-yen {
    position: relative;
    top: 4px;
    font-size: 15px;
    font-weight: 600;
    margin-right: 2px;
}

.pay-duration-tip {
    font-size: 12px;
    color: #bbb;
    line-height: 1.5;
    min-height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pay-duration-check {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 24px 24px 0;
    border-color: transparent #266FFF transparent transparent;
    border-radius: 0 7px 0 0;
}

.pay-duration-check svg {
    position: absolute;
    top: 4px;
    right: -20px;
    width: 10px;
    height: 10px;
}

.pay-box{
    margin: 24px 0;
    padding: 0 16px;
    border-radius: 12px;
    background-color: rgba(250,250,250,1);
}

/* 到期日期 */
.pay-expire-row {
    position: relative;
    color: #888;
    padding: 12px 0;
}

.pay-expire-row:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #E5E5E5;
}

/* 订单总额 */
.pay-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    padding: 4px 0 8px;
    font-weight: 500;
}

.pay-total-original .num{
    text-decoration: line-through;
}

.pay-total-discount {
    margin-left: auto;
}

.pay-total-discount .num{
    color: #e74c3c;
}

.pay-total-right {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-left: auto;
}

.pay-total-price {
    color: #266FFF;
    font-size: 20px;
    font-weight: 700;
}

/* 分隔线 */
.pay-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 0 18px;
}

/* 底部支付区 */
.pay-bottom {
    display: flex;
    flex-direction: column;
}

.pay-row-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
}

.pay-method-section {
    margin-top: 16px;
}

.pay-method-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
}

.pay-submit-btn {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(135deg, #1677ff, #4096ff);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.pay-submit-btn:hover {
    background: linear-gradient(135deg, #0958d9, #1677ff);
}

.pay-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pay-invoice-tip {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

/* 银行转账表单 */
.pay-bank-section {
    margin-bottom: 16px;
}
.pay-bank-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.pay-bank-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}
.required-star {
    color: #ff4444;
    margin-right: 2px;
}
.pay-bank-input {
    flex: 1;
    min-width: 0;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.pay-bank-input:focus {
    border-color: #1677ff;
}
.bank-submit {
    flex-basis: 100%;
    padding: 9px 0;
    font-size: 14px;
}

/* 银行转账结果弹窗 */
.bank-modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.bank-modal-mask.show {
    opacity: 1;
    pointer-events: auto;
}
.bank-modal-box {
    background: #fff;
    border-radius: 12px;
    width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    animation: modalIn 0.25s ease;
}
.bank-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.bank-modal-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}
.bank-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 2px;
    line-height: 1;
}
.bank-modal-close:hover { color: #333; }

/* 收款信息卡片 */
.bank-info-card, .bank-order-card {
    background: #f8faff;
    border: 1px solid #e8ecf5;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.bank-info-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
}
.bank-info-label {
    color: #999;
    flex-shrink: 0;
}
.bank-info-value {
    color: #333;
    font-weight: 500;
    text-align: right;
    word-break: break-all;
}
.bank-info-account {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}
.bank-info-amount {
    font-size: 18px;
    font-weight: 700;
    color: #1677ff;
}

/* 复制按钮 */
.bank-copy-btn {
    width: 100%;
    padding: 9px 0;
    background: linear-gradient(135deg, #1677ff, #4096ff);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background 0.2s;
}
.bank-copy-btn:hover {
    background: linear-gradient(135deg, #0958d9, #1677ff);
}

/* 温馨提示 */
.bank-tips-section {
    margin-bottom: 14px;
}
.bank-tips-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.bank-tips-list {
    font-size: 12px;
    color: #888;
    line-height: 1.8;
}
.bank-tips-item {
    padding-left: 0;
}

/* 确认勾选 + 按钮 */
.bank-confirm-section {
    border-top: 1px solid #eee;
    padding-top: 14px;
}
.bank-confirm-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 16px;
}
.bank-confirm-check input { display: none; }
.bank-check-box {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s;
}
.bank-check-box.checked {
    background: #1677ff;
    border-color: #1677ff;
}
.bank-check-box.checked::after {
    content: '✓';
    color: #fff;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.bank-confirm-text {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}
.bank-btn-row {
    display: flex;
    gap: 12px;
}
.bank-btn {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.bank-btn-gray {
    background: #f0f2f5;
    color: #666;
}
.bank-btn-gray:hover {
    background: #e8e8e8;
}
.bank-btn-blue {
    background: linear-gradient(135deg, #1677ff, #4096ff);
    color: #fff;
}
.bank-btn-blue:hover {
    background: linear-gradient(135deg, #0958d9, #1677ff);
}
.bank-btn-blue:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 升级方式区域 */
.pay-upgrade-info{
    margin-bottom: 24px;
}

.pay-upgrade-section {
    margin: 24px 0 30px;
}

.pay-upgrade-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.pay-upgrade-card {
    width: 60%;
    padding: 12px 0;
    background: #e8f4ff;
    border: 1px solid currentColor;
    color: #266fff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 2px;
}

/* 升级场景：订单金额 + 到期日期 */

.pay-upgrade-info-item {
    margin-bottom: 24px;
}

.pay-upgrade-info-item:last-child {
    margin-bottom: 0;
}

.pay-upgrade-info-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.pay-upgrade-info-amount {
    color: #1677ff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.pay-upgrade-info-date {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.pay-upgrade-info-contact {
    font-size: 16px;
    font-weight: 600;
    color: #fa8c16;
    line-height: 1.4;
}

/* 支付方式切换 */
.pay-method-row {
    display: flex;
    justify-content: center;
}

.pay-method-tabs {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 24px;
}

.pay-method-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    height: 48px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    background: #fff;
    transition: all 0.2s;
    user-select: none;
}

.pay-method-tab:hover {
    border-color: #bbb;
}

.pay-method-tab.active {
    border-color: #266FFF;
    color: #266FFF;
    background: #f0f5ff;
}

.pay-agreement {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* ==================== 微信二维码弹窗 ==================== */
.wx-qr-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.wx-qr-modal-mask.show {
    display: flex;
}

.wx-qr-modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 32px 32px 24px;
    width: 320px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.wx-qr-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
    line-height: 1;
}

.wx-qr-modal-close:hover {
    color: #333;
}

.wx-qr-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.wx-qr-modal-amount {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.wx-qr-modal-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wx-qr-modal-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wx-qr-modal-code .alipay-qr-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.wx-qr-modal-loading {
    font-size: 13px;
    color: #999;
}

.wx-qr-modal-tip {
    font-size: 13px;
    color: #666;
}

/* ==================== Toast 提示 ==================== */
.toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.toast-item {
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
    background: #555;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    cursor: pointer;
    pointer-events: auto;
    white-space: nowrap;
    max-width: 80vw;
    overflow: hidden;
    text-overflow: ellipsis;
}

.impowerBox .title{
    display: none;
}

.toast-item.toast-success { background: #52c41a; }
.toast-item.toast-error   { background: #ff4d4f; }
.toast-item.toast-warning { background: #faad14; color: #333; }
.toast-item.toast-info    { background: #1677ff; }

/* ==================== 子管理员账户选择弹窗 ==================== */
.account-select-mask {
    z-index: 10001;
}

.account-select-container {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.account-select-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 8px;
}

.account-select-desc {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-bottom: 24px;
}

.account-select-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-select-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1.5px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.account-select-item:hover {
    border-color: #93b5ff;
    background: #f8fbff;
}

.account-select-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-select-icon.own-icon {
    background: linear-gradient(135deg, #266fff, #1a5ce6);
}

.account-select-icon.managed-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.account-select-info {
    flex: 1;
    min-width: 0;
}

.account-select-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.account-select-phone {
    font-size: 13px;
    color: #999;
}

.account-select-arrow {
    flex-shrink: 0;
}