/* Cartoon主题 - 主样式文件 */

/* ===== 基础样式 ===== */
:root {
    --primary-color: #1396558a;
    --text-color: #333;
    --border-color: #fba9da8c;
    --shadow-color: #ed9b9bb3;
    --success-color: #27ae60;
    --warning-color: #f68b8b;
    --info-color: #0C84D1;
    --danger-color: #f15858;
    --purple-color: #8d16e3;
    --pink-color: #ff9191;
}

/* ===== 导航栏样式 ===== */
.navbar-brand .brand-name {
    color: var(--primary-color);
}

/* ===== 用户信息样式 ===== */
.user-avatar {
    width: 32px;
    height: 32px;
    object-fit: cover;
    background-color: #f8f9fa;
}

.username-text {
    font-size: 14px;
    line-height: 1.2;
}

.user-balance-text {
    font-size: 12px;
    line-height: 1.2;
}

/* ===== 个人中心样式 ===== */
.avatar-input {
    display: none;
}

.avatar-hidden-input {
    display: none;
}

.avatar-img {
    height: 100px;
    width: 100px;
    border-radius: 100%;
    border: 1px solid var(--border-color);
    box-shadow: 1px 1px 10px 1px var(--shadow-color);
    cursor: pointer;
}

.form-input {
    color: var(--pink-color);
    width: 320px;
}

.captcha-input {
    width: 160px;
    display: inline-block;
}

.form-body-text {
    color: var(--pink-color);
    width: 320px;
}

.alipay-input {
    display: none;
}

.alipay-hidden-input {
    display: none;
}

.alipay-qrcode-temp {
    font-size: 32px;
    color: #1677FF;
    cursor: pointer;
}

.wechat-input {
    display: none;
}

.wechat-hidden-input {
    display: none;
}

.wx-qrcode-temp {
    font-size: 32px;
    color: #0C84D1;
    cursor: pointer;
}

.save-button-container {
    margin-top: 25px;
}

/* ===== 充值页面样式 ===== */
.recharge-info {
    color: var(--info-color);
}

.recharge-info-purple {
    color: var(--purple-color);
}

.welfare-container {
    margin-top: 25px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

.welfare-container::before {
    content: '🎁 充值福利';
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.welfare-container .form-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 0;
}

.welfare-text {
    background: white;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    padding: 15px 20px 15px 50px;
    margin: 0;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.welfare-text::after {
    content: '💰';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0.7;
}

.welfare-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.welfare-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.welfare-amount {
    color: #e74c3c;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(231, 76, 60, 0.2);
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.welfare-amount::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border-radius: 1px;
    opacity: 0.3;
}

.welfare-bonus {
    color: #27ae60;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(39, 174, 96, 0.2);
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.welfare-bonus::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border-radius: 1px;
    opacity: 0.3;
}

.balance-info {
    color: #63b584;
    font-size: 14px;
}

.welfare-buttons-container {
    margin-bottom: 15px;
}

.recharge-btn {
    margin-right: 12px;
    margin-bottom: 10px;
    position: relative;
    padding: 12px 20px;
    font-size: 16px;
    background: white;
    color: #333;
    border: 2px solid var(--info-color);
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    overflow: visible;
}

.recharge-btn:hover {
    background: #f0f8ff !important;
    border-color: #0066cc !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.recharge-btn.selected {
    background: #28a745 !important;
    color: white !important;
    border-color: #28a745 !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.recharge-btn.selected:hover {
    background: #218838 !important;
    border-color: #218838 !important;
}

.bonus-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    border-radius: 12px;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    font-size: 11px;
    line-height: 24px;
    text-align: center;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    border: 2px solid white;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    transform-origin: center;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    }
}

.amount-input {
    width: 150px;
    color: var(--pink-color);
}

.pay-button-container {
    margin-top: 25px;
}

.level-description {
    color: #0a53be;
}

.group-icon {
    height: 24px;
    width: auto;
}

.group-recharge {
    color: var(--warning-color);
    font-weight: bolder;
}

.group-discount {
    color: var(--success-color);
    font-weight: bolder;
}

.group-cost {
    color: #ff6b35;
    font-weight: bolder;
}

/* ===== 仪表板样式 ===== */
.more-table {
    padding: 10px;
}

.login-ip {
    color: #00A3FF;
}

.last-login-ip {
    color: #00A3FF;
}

.remote-login {
    color: red;
}

.reset-key {
    cursor: pointer;
}

.clipboard {
    cursor: pointer;
}

.commission-info {
    color: #0f6674;
}

.cash-wallet-btn {
    line-height: 22px;
    color: #db66ac;
}

.category-container {
    margin-bottom: 5px;
    margin-top: 15px;
}

/* ===== 认证模态框样式 ===== */
.auth-modal-brand-spacing {
    margin-bottom: 20px;
}

.auth-modal-title-size {
    font-size: 20px;
}

.auth-modal-back-link {
    text-align: center;
    margin-top: 15px;
}

/* ===== 分类图标样式 ===== */
.chip-icon {
    background: center/cover no-repeat;
}

.chip-icon[data-bg] {
    background-image: url(attr(data-bg));
}

/* ===== 查询页面样式 ===== */
.query-input-container {
    width: 300px;
}

.query-hidden {
    display: none;
}

.query-no-results-icon {
    font-size: 3rem;
    color: #6b7280;
}

.query-loading-icon {
    font-size: 2rem;
    color: var(--acg-primary);
}

/* ===== 通用页面样式 ===== */
.common-body-bg {
    background: url('#{$config.background_url}') fixed no-repeat;
    background-size: cover;
}

.common-hidden {
    display: none;
}

.common-bg-content {
    background: #504c89;
    overflow: auto;
    height: 100vh;
}

.group-icon-small {
    transform: scale(.8,.8);
    margin-left: 0;
}

.nav-link-center {
    text-align: center;
}

.nav-icon-size {
    font-size: 18px;
}

.nav-hr {
    margin: 5px 0;
}

/* ===== 安全中心额外样式 ===== */
.security-nav {
    margin-bottom: 20px;
}

.security-form {
    max-width: 600px;
}

.security-form .form-block {
    margin-bottom: 20px;
}

.security-form .form-header {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.security-form .form-body {
    margin-bottom: 15px;
}

/* ===== 工单系统样式 ===== */
.ticket-info-card {
    margin-bottom: 15px;
}

.ticket-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-title-inline {
    margin: 0;
    display: inline-block;
}

.ticket-id-info {
    margin-left: 15px;
    color: #999;
    font-size: 14px;
}

.ticket-replies-container {
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    background: #f5f5f5;
    padding: 15px;
}

.ticket-loading {
    padding: 50px;
    color: #999;
}

.ticket-loading-cell {
    padding: 50px;
    color: #999;
}

.ticket-reply-form {
    margin-top: 0;
    border-top: none;
}

.ticket-reply-body {
    padding: 15px;
    background: white;
}

.ticket-reply-textarea {
    height: 100px;
    resize: none;
    border: 1px solid #e6e6e6;
}

.ticket-content-textarea {
    height: 200px;
}

.ticket-hidden-input {
    display: none;
}

.ticket-attachment-preview {
    display: none;
    margin-top: 10px;
}

.ticket-attachment-left {
    text-align: left;
}

.ticket-attachment-alert {
    margin-bottom: 10px;
}

.ticket-remove-btn {
    float: right;
}

.ticket-reply-actions {
    text-align: right;
    margin-top: 10px;
}

.ticket-form-actions {
    text-align: right;
    padding-top: 20px;
}

.ticket-upload-btn {
    margin-right: 5px;
}

.ticket-upload-icon {
    font-size: 18px;
}

.ticket-upload-tips {
    margin-top: 10px;
    text-align: left;
    color: #999;
    font-size: 12px;
}

.ticket-warning-alert {
    margin-bottom: 20px;
}

.ticket-view-btn {
    margin-top: 10px;
}

.ticket-form-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.ticket-pagination {
    margin-top: 20px;
}

.required-mark {
    color: red;
}

/* ===== 代理系统样式 ===== */
.member-avatar-small {
    width: 18px;
    border-radius: 100%;
}

/* ===== 工单系统额外样式 ===== */
.ticket-form .form-block {
    margin-bottom: 20px;
}

.ticket-form .form-header {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.ticket-form .form-body {
    margin-bottom: 15px;
}

.ticket-form select,
.ticket-form input,
.ticket-form textarea {
    width: 100%;
    max-width: 500px;
}

/* ===== 充值页面额外样式 ===== */
.recharge-form .form-block {
    margin-bottom: 20px;
}

.recharge-form .form-header {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.recharge-form .form-body {
    margin-bottom: 15px;
}

.recharge-form .pay-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.recharge-form .pay-list .pay-item {
    padding: 10px 15px;
    border: 2px solid #e6e6e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.recharge-form .pay-list .pay-item:hover {
    border-color: #0C84D1;
    background: #f0f8ff;
}

.recharge-form .pay-list .pay-item.selected {
    border-color: #0C84D1;
    background: #e6f3ff;
}

/* ===== 通用表单样式 ===== */
.form-data .form-block {
    margin-bottom: 20px;
}

.form-data .form-header {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-data .form-body {
    margin-bottom: 15px;
}

.form-data input,
.form-data select,
.form-data textarea {
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-data input:focus,
.form-data select:focus,
.form-data textarea:focus {
    border-color: #0C84D1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(12, 132, 209, 0.1);
}

/* ===== 按钮样式增强 ===== */
.layui-btn {
    border-radius: 4px;
    transition: all 0.3s ease;
}

.layui-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.layui-btn-pink {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    border: none;
}

.layui-btn-pink:hover {
    background: linear-gradient(135deg, #ff5a8a 0%, #b83a5e 100%);
}

/* ===== 卡片样式增强 ===== */
.layui-card {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.layui-card-header {
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
}

.layui-card-body {
    background: white;
}

/* ===== 表格样式增强 ===== */
.table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    vertical-align: middle;
    padding: 12px 15px;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

/* ===== 购买弹窗样式 ===== */
.purchase-modal-content {
    background: linear-gradient(180deg, rgba(38,39,46,0.92), rgba(38,39,46,0.88));
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.purchase-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.purchase-modal-close-btn i {
    color: white;
    font-size: 16px;
}

.purchase-modal-wrapper {
    background: linear-gradient(116.85deg, rgba(252, 70, 107, 0.2) 0%, rgba(63, 94, 251, 0.2) 100%);
    display: flex;
    flex-direction: row;
}

.purchase-modal-left {
    padding: 32px;
    border-right: 1px solid rgba(255,255,255,0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.purchase-modal-right {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.purchase-modal-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-height: calc(1.3em * 2);
}

.purchase-modal-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: white;
}

.purchase-modal-info-item {
    display: flex;
    align-items: center;
}

.purchase-modal-info-icon {
    color: #3b82f6;
    margin-right: 12px;
    width: 20px;
}

.purchase-modal-info-text {
    color: white;
}

.purchase-modal-guest-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.purchase-modal-guest-content {
    flex: 1;
}

.purchase-modal-price-card {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.purchase-modal-price-title {
    font-size: 18px;
    color: #ef4444;
    margin-bottom: 8px;
    font-weight: bold;
}

.purchase-modal-price-info {
    font-size: 14px;
    font-weight: bold;
    color: #3b82f6;
}

.purchase-modal-price-info.nowrap {
    white-space: nowrap;
}

.purchase-modal-price-original {
    text-decoration: line-through;
    opacity: 0.7;
}

.purchase-modal-price-current {
    font-size: 28px;
    color: #ef4444;
    font-weight: 900;
}

.purchase-modal-price-large {
    font-size: 24px;
}

.purchase-modal-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.purchase-modal-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.purchase-modal-btn-cancel {
    background: rgba(107, 114, 128, 0.6);
}

.purchase-modal-btn-cancel:hover {
    background: rgba(107, 114, 128, 0.8);
}

.purchase-modal-btn-primary {
    background: #3b82f6;
}

.purchase-modal-btn-primary:hover {
    background: #60a5fa;
}

.purchase-modal-btn-success {
    background: #10b981;
}

.purchase-modal-btn-success:hover {
    background: #34d399;
}

.purchase-modal-user-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.purchase-modal-user-content {
    flex: 1;
}

.purchase-modal-user-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.purchase-modal-user-item {
    font-size: 13px;
    color: white;
    font-weight: bold;
    margin-bottom: 4px;
}

.purchase-modal-user-value {
    font-size: 18px;
    font-weight: 600;
}

.purchase-modal-user-recharge {
    color: #10b981;
}

.purchase-modal-user-level {
    color: #eab308;
}

.purchase-modal-captcha-section {
    margin-bottom: 10px;
}

.purchase-modal-captcha-label {
    display: block;
    margin-bottom: 5px;
    color: white;
}

.purchase-modal-captcha-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.purchase-modal-captcha-img {
    height: 38px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.purchase-modal-captcha-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.purchase-modal-order-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.purchase-modal-order-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.purchase-modal-expire-warning {
    background: rgba(234, 179, 8, 0.2);
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    color: rgba(254, 240, 138, 1);
}

.purchase-modal-expire-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    color: rgba(167, 243, 208, 1);
}

.purchase-modal-expire-text {
    font-weight: 500;
}

.purchase-modal-download-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.purchase-modal-download-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.purchase-modal-download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.purchase-modal-download-title {
    font-size: 16px;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
}

.purchase-modal-download-icon {
    color: #3b82f6;
    margin-right: 8px;
}

.purchase-modal-download-content {
    margin-top: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.purchase-modal-download-text {
    flex: 1;
    color: white;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: monospace;
    line-height: 1.4;
    min-width: 0;
    width: 0;
}

.purchase-modal-download-link {
    flex: 1;
    color: white;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    line-height: 1.4;
    min-width: 0;
    width: 0;
    cursor: text;
    user-select: text;
    pointer-events: none;
}

.purchase-modal-copy-btn {
    background: #3b82f6;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.purchase-modal-copy-btn:hover {
    background: #60a5fa;
}

.purchase-modal-copy-btn.success {
    background: #10b981;
}

.purchase-modal-copy-btn.error {
    background: #ef4444;
}

/* 解压密码样式 */
.purchase-modal-extract-password {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.purchase-modal-extract-password::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.purchase-modal-extract-password .purchase-modal-download-header {
    margin-bottom: 12px;
}

.purchase-modal-extract-password .purchase-modal-download-title {
    color: #000000;
    font-weight: 600;
    font-size: 15px;
}

.purchase-modal-extract-password .purchase-modal-download-icon {
    color: #f59e0b;
}

.purchase-modal-extract-password .purchase-modal-download-content {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #fbbf24;
}

.purchase-modal-extract-password .purchase-modal-download-text {
    color: #92400e;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.purchase-modal-extract-password .purchase-modal-copy-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.purchase-modal-extract-password .purchase-modal-copy-btn:hover {
    background: linear-gradient(135deg, #f97316, #ea580c);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* ===== 登录注册弹窗样式 ===== */
.auth-modal-container {
    position: relative;
    width: 100%;
    padding: 30px;
}

/* 品牌头部 */
.auth-modal-brand {
    text-align: center;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.auth-modal-brand-spacing {
    margin-bottom: 20px;
}

.auth-modal-logo {
    height: 60px;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-modal-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.auth-modal-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #6366F1, #22D3EE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-modal-title-size {
    font-size: 20px;
}

.auth-modal-subtitle {
    font-size: 14px;
    color: #8a99b0;
    margin: 0;
}

/* 标签切换 */
.auth-modal-tabs {
    display: flex;
    background: rgba(243, 244, 246, 0.5);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.1s forwards;
}

.auth-modal-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
    gap: 6px;
}

.auth-modal-tab.active {
    background: white;
    color: #3772ff;
    box-shadow: 0 2px 8px rgba(55, 114, 255, 0.15);
}

.auth-modal-tab:hover:not(.active) {
    color: #3772ff;
    background: rgba(255, 255, 255, 0.5);
}

/* 表单容器 */
.auth-modal-form-container {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.auth-modal-form-container.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease 0.2s forwards;
}

/* 表单样式 */
.auth-modal-form {
    width: 100%;
}

/* 输入组 */
.auth-modal-input-group {
    margin-bottom: 20px;
}

/* 输入框包装器 */
.auth-modal-input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(229, 231, 235, 1);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.auth-modal-input-wrapper:focus-within {
    border-color: #3772ff;
    box-shadow: 0 0 0 3px rgba(55, 114, 255, 0.1);
    transform: translateY(-1px);
}

/* 输入框图标 */
.auth-modal-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    transition: color 0.3s ease;
    font-size: 16px;
}

.auth-modal-input-wrapper:focus-within .auth-modal-input-icon {
    color: #3772ff;
}

/* 输入框 */
.auth-modal-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #1f2937;
    outline: none;
    transition: color 0.3s ease;
}

.auth-modal-input::placeholder {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.auth-modal-input:focus::placeholder {
    color: #d1d5db;
}

/* 密码输入框 */
.auth-modal-input-password {
    padding-right: 50px;
}

/* 密码切换按钮 */
.auth-modal-password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: color 0.3s ease;
}

.auth-modal-password-toggle:hover {
    color: #3772ff;
}

/* 验证码包装器 */
.auth-modal-captcha-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.auth-modal-captcha-wrapper .auth-modal-input-wrapper {
    flex: 1;
}

/* 验证码图片 */
.auth-modal-captcha-img {
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid rgba(229, 231, 235, 1);
    transition: all 0.3s ease;
    min-width: 100px;
}

.auth-modal-captcha-img:hover {
    border-color: #3772ff;
    transform: translateY(-1px);
}

/* 发送验证码按钮 */
.auth-modal-send-code {
    padding: 12px 18px;
    background: linear-gradient(135deg, #3772ff, #4361ee);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 100px;
}

.auth-modal-send-code:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 114, 255, 0.3);
}

.auth-modal-send-code:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* 选项区域 */
.auth-modal-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* 记住我 */
.auth-modal-remember {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
}

.auth-modal-remember input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #3772ff;
}

/* 忘记密码 */
.auth-modal-forgot {
    font-size: 14px;
    color: #3772ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-modal-forgot:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* 返回登录链接 */
.auth-modal-back-link {
    text-align: center;
    margin-top: 15px;
}

/* 协议同意 */
.auth-modal-agreement {
    margin-top: 15px;
    margin-bottom: 10px;
}

.auth-modal-agree-label {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    line-height: 1.4;
}

.auth-modal-agree-label input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
    width: 14px;
    height: 14px;
    accent-color: #3772ff;
}

.auth-modal-agree-link {
    color: #3772ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-modal-agree-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 登录注册弹窗响应式设计 */
@media (max-width: 480px) {
    .auth-modal-container {
        padding: 20px;
    }
    
    .auth-modal-captcha-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    
    .auth-modal-captcha-wrapper .auth-modal-input-wrapper {
        width: 100%;
    }
    
    .auth-modal-captcha-img,
    .auth-modal-send-code {
        width: 100%;
    }
    
    .auth-modal-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* 购买弹窗响应式设计 */
@media (max-width: 768px) {
    .purchase-modal-wrapper {
        flex-direction: column;
    }
    
    .purchase-modal-left,
    .purchase-modal-right {
        padding: 20px;
    }
    
    .purchase-modal-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .purchase-modal-title {
        font-size: 22px;
        max-height: calc(1.3em * 2);
    }
    
    .purchase-modal-download-content {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .purchase-modal-download-text,
    .purchase-modal-download-link {
        font-size: 13px;
    }
    
    .purchase-modal-copy-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .purchase-modal-left,
    .purchase-modal-right {
        padding: 15px;
    }
    
    .purchase-modal-title {
        font-size: 20px;
        max-height: calc(1.3em * 2);
    }
    
    .purchase-modal-download-text,
    .purchase-modal-download-link {
        font-size: 12px;
    }
    
    .purchase-modal-copy-btn {
        width: 32px;
        height: 32px;
    }
}

/* ===== 空状态样式 ===== */
.empty-state-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    min-height: 300px;
    width: 100%;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 4rem;
    color: #c9d1d9;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    text-align: center;
    width: 100%;
}

.empty-state-description {
    font-size: 1rem;
    color: white;
    line-height: 1.6;
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .form-input,
    .form-body-text {
        width: 100%;
        max-width: 320px;
    }
    
    .recharge-btn {
        min-width: 60px;
        height: 40px;
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .avatar-img {
        height: 80px;
        width: 80px;
    }
    
    .welfare-container .form-body {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .welfare-text {
        padding: 12px 16px 12px 45px;
        font-size: 13px;
    }
    
    .welfare-text::after {
        left: 12px;
        font-size: 18px;
    }
    
    .welfare-amount,
    .welfare-bonus {
        font-size: 15px;
    }
    
    .welfare-container::before {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .empty-state-container {
        padding: 60px 15px;
        min-height: 250px;
    }
    
    .empty-state-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .empty-state-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .empty-state-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .recharge-btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .bonus-badge {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
        line-height: 20px;
        padding: 0 6px;
        border-radius: 10px;
        animation: pulse 2s infinite;
    }
    
    .welfare-container {
        padding: 15px;
        margin-top: 20px;
    }
    
    .welfare-text {
        padding: 10px 14px 10px 40px;
    }
    
    .welfare-text::after {
        left: 10px;
        font-size: 16px;
    }
    
    .welfare-container::before {
        left: 15px;
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .empty-state-container {
        padding: 40px 10px;
        min-height: 200px;
    }
    
    .empty-state-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .empty-state-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .empty-state-description {
        font-size: 0.85rem;
        padding: 0 10px;
    }
}