/* ========== 基础设置 ========== */
:root {
    font-size: 16px; /* 基准字体大小 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    font-size: 0.875rem; /* 14px */
    padding-bottom: 4rem; /* 64px */
    padding-top: 3.5rem; /* 56px */
    min-height: 100vh;
    line-height: 1.5;
}

/* ========== 顶部导航 ========== */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5rem; /* 56px */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem; /* 16px */
    z-index: 100;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.15);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.625rem; /* 10px */
}

.header-logo {
    height: 1.875rem; /* 30px */
    width: auto;
}

.header-title {
    color: #fff;
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.875rem; /* 14px */
}

.header-balance {
    color: #ffd700;
    font-size: 0.9375rem; /* 15px */
    font-weight: 600;
}

.header-bell {
    color: #fff;
    font-size: 1.25rem; /* 20px */
    cursor: pointer;
}

/* ========== 侧滑菜单 ========== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    display: none;
}

.mobile-overlay.show {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -17.5rem; /* 280px */
    width: 17.5rem;
    height: 100%;
    background: #1a1a2e;
    z-index: 201;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.show {
    left: 0;
}

.menu-header {
    padding: 1.875rem 1.25rem 1.25rem; /* 30px 20px 20px */
    text-align: center;
    border-bottom: 0.0625rem solid rgba(255,255,255,0.1);
}

.menu-avatar img {
    width: 4.375rem; /* 70px */
    height: 4.375rem;
    border-radius: 50%;
    border: 0.1875rem solid #2d8cf0;
    object-fit: cover;
}

.menu-name {
    color: #fff;
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    margin-top: 0.625rem;
}

.menu-id {
    color: #999;
    font-size: 0.8125rem; /* 13px */
    margin-top: 0.25rem;
}

.menu-nav {
    padding: 1rem 0;
}

.menu-nav a {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem; /* 14px 24px */
    color: #aaa;
    text-decoration: none;
    font-size: 0.9375rem; /* 15px */
    transition: all 0.3s;
    border-left: 0.1875rem solid transparent;
}

.menu-nav a i {
    width: 1.75rem; /* 28px */
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

.menu-nav a:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.menu-nav a.active {
    background: rgba(45, 140, 240, 0.15);
    color: #2d8cf0;
    border-left-color: #2d8cf0;
}

.menu-nav .menu-logout {
    margin-top: 1.25rem;
    color: #f56c6c;
    border-top: 0.0625rem solid rgba(255,255,255,0.05);
    padding-top: 1rem;
}

/* ========== 主内容 ========== */
.mobile-main {
    padding: 1rem; /* 16px */
    min-height: calc(100vh - 7.875rem);
}

/* ========== 底部导航 ========== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4rem; /* 64px */
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -0.125rem 0.625rem rgba(0,0,0,0.08);
    z-index: 100;
    border-top: 0.0625rem solid #f0f0f0;
}

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #999;
    text-decoration: none;
    font-size: 0.75rem; /* 12px */
    padding: 0.375rem 0.75rem;
    transition: color 0.3s;
}

.mobile-bottom-nav a i {
    font-size: 1.375rem; /* 22px */
    margin-bottom: 0.125rem;
}

.mobile-bottom-nav a.active {
    color: #2d8cf0;
}

/* ========== 统计卡片 ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem; /* 10px */
    margin-bottom: 1rem;
}

.stat-card {
    background: #fff;
    padding: 0.875rem 0.75rem; /* 14px 12px */
    border-radius: 0.75rem;
    box-shadow: 0 0.0625rem 0.25rem rgba(0,0,0,0.06);
    text-align: center;
}

.stat-icon {
    font-size: 1.25rem; /* 20px */
    color: #2d8cf0;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
}

.stat-label {
    font-size: 0.6875rem; /* 11px */
    color: #999;
    margin-top: 0.125rem;
}

/* ========== 卡片 ========== */
.section-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem; /* 16px */
    margin-bottom: 0.875rem; /* 14px */
    box-shadow: 0 0.0625rem 0.25rem rgba(0,0,0,0.06);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.625rem;
    border-bottom: 0.0625rem solid #f0f0f0;
}

.section-header h3 {
    font-size: 0.9375rem; /* 15px */
    font-weight: 600;
}

.section-date {
    font-size: 0.75rem; /* 12px */
    color: #999;
}

/* ========== 今日统计 ========== */
.today-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.today-item {
    text-align: center;
}

.today-item .label {
    display: block;
    font-size: 0.6875rem; /* 11px */
    color: #999;
}

.today-item .value {
    font-size: 1rem; /* 16px */
    font-weight: 600;
}

/* ========== 活动列表 ========== */
.activity-list .activity-item {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 0.0625rem solid #f5f5f5;
    align-items: center;
    font-size: 0.875rem; /* 14px */
}

.activity-time {
    color: #999;
    font-size: 0.75rem;
    width: 3.125rem;
    flex-shrink: 0;
}

.activity-desc {
    flex: 1;
    padding: 0 0.625rem;
}

.activity-amount {
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* ========== 表格 ========== */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem; /* 13px */
    min-width: 37.5rem;
}

table th,
table td {
    padding: 0.5rem 0.75rem; /* 8px 12px */
    text-align: left;
    border-bottom: 0.0625rem solid #f0f0f0;
    white-space: nowrap;
}

table th {
    background: #fafafa;
    font-weight: 600;
    color: #666;
    font-size: 0.75rem;
}

/* ========== 表单 ========== */
.form-group {
    margin-bottom: 0.75rem; /* 12px */
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    font-size: 0.875rem; /* 14px */
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.625rem 0.75rem; /* 10px 12px */
    border: 0.0625rem solid #dcdfe6;
    border-radius: 0.5rem;
    font-size: 0.875rem; /* 14px */
    outline: none;
    background: #fff;
    -webkit-appearance: none;
}

/* ========== 按钮 ========== */
.btn {
    padding: 0.625rem 1.25rem; /* 10px 20px */
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem; /* 14px */
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.btn-primary {
    background: #2d8cf0;
    color: #fff;
}

.btn-primary:active {
    background: #1a7adf;
}

.btn-success {
    background: #36b368;
    color: #fff;
}

.btn-danger {
    background: #f56c6c;
    color: #fff;
}

.btn-sm {
    padding: 0.375rem 0.875rem; /* 6px 14px */
    font-size: 0.75rem; /* 12px */
    width: auto;
}

/* ========== 颜色工具 ========== */
.text-green {
    color: #36b368;
}
.text-red {
    color: #f56c6c;
}
.text-yellow {
    color: #e6a23c;
}
.text-gray {
    color: #999;
}

.empty-state {
    text-align: center;
    color: #999;
    padding: 1.875rem 0;
    font-size: 0.875rem;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    gap: 0.375rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.pagination .btn {
    width: auto;
    min-width: 2rem;
    padding: 0.25rem 0.625rem;
    border: 0.0625rem solid #dcdfe6;
    background: #fff;
    color: #333;
    font-size: 0.8125rem;
}

.pagination .btn-primary {
    background: #2d8cf0;
    color: #fff;
    border-color: #2d8cf0;
}

/* ========== 登录页 ========== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 1.25rem;
    padding-top: 0;
}

.login-box {
    background: #fff;
    padding: 2rem 1.5rem; /* 32px 24px */
    border-radius: 1rem;
    width: 100%;
    max-width: 23.75rem;
    box-shadow: 0 1.25rem 3.75rem rgba(0,0,0,0.3);
}

.login-box h1 {
    text-align: center;
    font-size: 1.5rem; /* 24px */
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
}

.login-box h1 img {
    height: 2rem;
}

.login-box .subtitle {
    text-align: center;
    color: #999;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
}

.login-box .form-group {
    margin-bottom: 1rem;
}

.login-box .btn {
    padding: 0.75rem;
    font-size: 1rem;
}

.login-box .error-msg {
    color: #f56c6c;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
    display: none;
}

/* ========== 弹窗 ========== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.popup-overlay.show {
    display: flex;
}

.popup-box {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 25rem;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.popup-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.popup-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.popup-actions .btn {
    flex: 1;
}

/* ========== 徽章 ========== */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1.25rem;
    background: #f5f5f5;
    font-size: 0.8125rem;
    color: #666;
}

/* ========== 响应式 ========== */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .today-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .stat-value {
        font-size: 1rem;
    }
    .header-title {
        font-size: 1rem;
    }
    .header-balance {
        font-size: 0.8125rem;
    }
    .login-box {
        padding: 1.5rem 1rem;
    }
    .login-box h1 {
        font-size: 1.25rem;
    }
    .section-card {
        padding: 0.75rem;
    }
    .mobile-main {
        padding: 0.75rem;
    }
}

@media (min-width: 768px) {
    :root {
        font-size: 17px; /* 平板稍大 */
    }
}

@media (min-width: 1024px) {
    :root {
        font-size: 18px; /* 桌面稍大 */
    }
}

/* ================================================================
   ========== 验证码弹窗样式 ==========
   ================================================================ */

/* ===== 遮罩层 ===== */
.captcha-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
    animation: captchaFadeIn 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.captcha-overlay.active {
    display: flex;
}

@keyframes captchaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== 弹窗主体 ===== */
.captcha-modal {
    background: #fff;
    border-radius: 20px;
    padding: 28px 30px 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    animation: captchaScaleIn 0.3s ease;
}

@keyframes captchaScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ===== 关闭按钮 ===== */
.captcha-modal .close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.3s;
    z-index: 10;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-modal .close-btn:hover {
    color: #333;
    background: #f0f0f0;
}

/* ===== 标题 ===== */
.captcha-modal .modal-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.captcha-modal .modal-subtitle {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}

/* ===== 提示文字 ===== */
.captcha-tip {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 16px;
    padding: 10px 16px;
    background: #f0f4ff;
    border-radius: 10px;
    font-weight: 500;
}

.captcha-tip .target-name {
    color: #667eea;
    font-weight: 600;
}

/* ===== 验证码图片容器 ===== */
.captcha-image-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 360px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background: #f8f9fa;
    border: 2px solid #e8e8e8;
}

.captcha-image-wrapper:hover {
    border-color: #667eea;
}

.captcha-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    pointer-events: none;
}

/* ===== 点击提示 ===== */
.captcha-image-wrapper .click-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0.8;
    white-space: nowrap;
}

/* ===== 高亮选择框 ===== */
.captcha-highlight {
    position: absolute;
    border: 3px solid #667eea;
    background: rgba(102, 126, 234, 0.15);
    border-radius: 8px;
    pointer-events: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    animation: highlightPulse 1.5s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { border-color: #667eea; }
    50% { border-color: #764ba2; }
}

.captcha-highlight.correct {
    border-color: #36b368 !important;
    background: rgba(54, 179, 104, 0.15) !important;
    animation: none;
}

.captcha-highlight.wrong {
    border-color: #f56c6c !important;
    background: rgba(245, 108, 108, 0.15) !important;
    animation: shake 0.3s ease;
}

/* ===== 抖动动画 ===== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* ===== 坐标信息 ===== */
.captcha-coords {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 8px 14px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 13px;
    color: #666;
}

.captcha-coords .coord-label {
    font-weight: 500;
}

.captcha-coords .coord-label span {
    color: #667eea;
    font-weight: 600;
    font-size: 16px;
}

.captcha-coords .coord-hint {
    color: #999;
    font-size: 12px;
}

/* ===== 刷新按钮 ===== */
.captcha-refresh {
    text-align: center;
    margin-top: 14px;
}

.captcha-refresh a {
    color: #667eea;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    padding: 4px 16px;
    border-radius: 20px;
    transition: all 0.3s;
    display: inline-block;
}

.captcha-refresh a:hover {
    background: #f0f4ff;
    text-decoration: underline;
}

.captcha-refresh a:active {
    opacity: 0.7;
    transform: scale(0.95);
}

/* ===== 错误信息 ===== */
.captcha-error {
    color: #f56c6c;
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
    display: none;
    padding: 8px 14px;
    background: #fef0f0;
    border-radius: 8px;
    border-left: 3px solid #f56c6c;
}

.captcha-error.show {
    display: block;
    animation: errorSlide 0.3s ease;
}

@keyframes errorSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 操作按钮 ===== */
.captcha-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.captcha-actions .btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 150px;
}

.captcha-actions .btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.captcha-actions .btn-cancel:hover {
    background: #e8e8e8;
}

.captcha-actions .btn-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.captcha-actions .btn-confirm:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.captcha-actions .btn-confirm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.captcha-actions .btn-confirm.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ===== Toast 动画 ===== */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ===== 登录按钮加载状态 ===== */
.login-btn-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ===== 开服前提示 ===== */
.closed-tip {
    text-align: center;
    padding: 20px;
    color: #f56c6c;
}

.closed-tip .icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.closed-tip .date {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.closed-tip p {
    color: #999;
    margin-top: 8px;
}

/* ===== 验证码弹窗响应式 ===== */
@media (max-width: 480px) {
    .captcha-modal {
        padding: 20px 16px 24px;
    }
    .captcha-modal .modal-title {
        font-size: 18px;
    }
    .captcha-image-wrapper {
        max-width: 280px;
    }
    .captcha-actions .btn {
        width: 150px;
        padding: 10px 16px;
        font-size: 14px;
    }
    .captcha-tip {
        font-size: 14px;
        padding: 8px 12px;
    }
    .captcha-coords {
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 360px) {
    .captcha-image-wrapper {
        max-width: 240px;
    }
    .captcha-modal {
        padding: 16px 12px 20px;
    }
    .captcha-actions .btn {
        width: 150px;
        padding: 8px 12px;
        font-size: 13px;
    }
}
/* ===== Canvas 样式 ===== */
.captcha-canvas {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    cursor: pointer;
    touch-action: none;
}

.captcha-image-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background: #f8f9fa;
    border: 2px solid #e8e8e8;
}

.captcha-image-wrapper:hover {
    border-color: #667eea;
}

/* ===== 点击提示 ===== */
.captcha-image-wrapper .click-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0.7;
    white-space: nowrap;
}
/* ===== 提现密码弹窗 ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-overlay.show {
    display: flex;
}

.popup-box {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px 28px;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-box .popup-title {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #333;
    margin-bottom: 4px;
}

.popup-box .popup-subtitle {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-bottom: 20px;
}

.popup-box .form-group {
    margin-bottom: 16px;
}

.popup-box .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

.popup-box .form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    background: #fff;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.popup-box .form-group input:focus {
    border-color: #667eea;
}

.popup-box .popup-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.popup-box .popup-actions .btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.popup-box .popup-actions .btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.popup-box .popup-actions .btn-cancel:hover {
    background: #e8e8e8;
}

.popup-box .popup-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.popup-box .popup-actions .btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.popup-box .popup-actions .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}