/* Mobile-first Android App Design - Optimized for Elderly Users */

/* 响应式根字体大小 - 基于设备尺寸自适应 */
html {
    /* 基础字体大小18px，确保中老年用户阅读舒适 */
    font-size: 18px;
}

/* 响应式字体缩放 */
@media screen and (max-width: 360px) {
    html { font-size: 16px; } /* 小屏设备 */
}

@media screen and (min-width: 361px) and (max-width: 414px) {
    html { font-size: 17px; } /* 中等屏幕 */
}

@media screen and (min-width: 415px) and (max-width: 768px) {
    html { font-size: 18px; } /* 大屏手机 */
}

@media screen and (min-width: 769px) {
    html { font-size: 20px; } /* 平板尺寸 */
}

/* 基础样式重置 */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 允许文本选择 */
input, textarea, .selectable {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 5rem; /* 为底部导航留空间 */
}

/* 自定义提示框样式 */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.custom-alert-overlay.show {
    opacity: 1;
}

.custom-alert {
    background: linear-gradient(145deg, #ffffff 0%, #fefcf7 50%, #fdf8f0 100%);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(212, 175, 55, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.2);
    min-width: 90vw;
    max-width: min(95vw, 28rem);
    position: relative;
    transform: scale(0.8) translateY(40px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.custom-alert-overlay.show .custom-alert {
    transform: scale(1) translateY(0);
}

.custom-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37 0%, #c9b037 50%, #b8860b 100%);
}

.custom-alert-icon {
    text-align: center;
    padding: 32px 32px 0 32px;
}

.custom-alert-icon i {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    background: linear-gradient(135deg, #4caf50, #43a047);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
    animation: alertIconPulse 0.6s ease-out;
}

.custom-alert-success .custom-alert-icon i {
    background: linear-gradient(135deg, #4caf50, #43a047);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.custom-alert-error .custom-alert-icon i {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    box-shadow: 0 8px 24px rgba(244, 67, 54, 0.3);
}

.custom-alert-warning .custom-alert-icon i {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.3);
}

.custom-alert-info .custom-alert-icon i {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.3);
}

.custom-alert-content {
    padding: 24px 32px 32px 32px;
    text-align: center;
}

.custom-alert-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
}

.custom-alert-message {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.custom-alert-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.custom-alert-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
    transform: scale(1.1);
}

@keyframes alertIconPulse {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* 重置和基础样式 */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #faf8f2 0%, #f5f2e8 50%, #f0ede0 100%);
    background-attachment: fixed;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px; /* 为底部导航留空间 */
    padding-top: 0;
}

/* 容器布局 */
.mobile-container {
    max-width: 100vw;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* 第一个卡片紧贴顶部 */
.mobile-container > .app-card:first-child,
.mobile-container .app-card:first-child {
    margin-top: 0;
}

/* 轮播图后的第一个卡片无间距 */
.mobile-carousel + .app-card {
    margin-top: 0 !important;
}

/* 用户信息卡片特殊处理 */
.user-profile-card {
    margin-top: -8px !important;
}

/* 顶部应用栏 */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5rem;
    background: linear-gradient(135deg, #d4af37 0%, #c9b037 30%, #b8860b 70%, #8b4513 100%);
    color: white;
    display: flex;
    align-items: center;
    padding: 0 16px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4), 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.app-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.app-header .back-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 0.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    margin-right: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.app-header .back-btn:hover,
.app-header .back-btn:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.app-header .title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.app-header .menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 0.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.app-header .menu-btn:hover,
.app-header .menu-btn:active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 主要内容区域 */
.main-content {
    margin-top: 0;
    margin-bottom: 4rem;
    padding: 0;
    min-height: calc(100vh - 7.5rem);
}

/* 卡片式布局 - 针对中老年用户优化 */
.app-card {
    background: linear-gradient(145deg, #ffffff 0%, #fefcf7 50%, #fdf8f0 100%);
    margin: 0;
    margin-bottom: 2px;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    border: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37 0%, #c9b037 50%, #b8860b 100%);
    opacity: 0.8;
}

.app-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.18), 0 8px 24px rgba(0,0,0,0.12);
}

.app-card-header {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    font-weight: 600;
    font-size: 1.1rem;
    color: #8b4513;
    background: linear-gradient(135deg, #fefcf7 0%, #fdf8f0 50%, #fcf6e8 100%);
    position: relative;
    overflow: hidden;
}

.app-card-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.app-card-content {
    padding: 20px 16px;
}

/* 列表项目 */
.list-item {
    display: flex;
    align-items: center;
    padding: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #fefcf7 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #d4af37, transparent);
    transition: width 0.3s ease;
}

.list-item:hover::before {
    width: 4px;
}

.list-item:hover, .list-item:active {
    background: linear-gradient(135deg, #fdf8f0 0%, #fcf6e8 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
}

.list-item-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 30%, #ffe082 70%, #ffd54f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: #8b4513;
    font-size: 22px;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3), inset 0 2px 4px rgba(255,255,255,0.6);
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.list-item-icon::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%);
    pointer-events: none;
}

.list-item:hover .list-item-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4), inset 0 2px 4px rgba(255,255,255,0.8);
}

.list-item-content {
    flex: 1;
}

.list-item-title {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.list-item-subtitle {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.list-item-arrow {
    color: #999;
    font-size: 1rem;
}

/* 按钮样式 - 中老年用户友好 */
.app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #c9b037 30%, #b8860b 70%, #8b4513 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4), 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.app-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.app-btn-primary:hover::before {
    left: 100%;
}

.app-btn-primary:hover, .app-btn-primary:active {
    background: linear-gradient(135deg, #b8860b 0%, #996f00 30%, #8b5a00 70%, #6b4400 100%);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5), 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255,255,255,0.3);
}

.app-btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c3e50;
    border: 3px solid #d4af37;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3), 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: none;
}

.app-btn-secondary:hover {
    background: linear-gradient(135deg, #d4af37 0%, #c9b037 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4), 0 4px 12px rgba(0,0,0,0.15);
    border-color: #b8860b;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.app-btn-full {
    width: 100%;
    margin: 8px 0;
}

.app-btn-large {
    min-height: 3.5rem;
    font-size: 1.1rem;
    padding: 16px 32px;
}

/* 输入框样式 */
.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    background: white;
    transition: border-color 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
}

.input-field::placeholder {
    color: #999;
    font-size: 1rem;
}

/* 底部导航栏 - 恢复金色渐变设计 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background: linear-gradient(135deg, #d4af37 0%, #c9b037 30%, #b8860b 70%, #8b4513 100%);
    display: flex;
    box-shadow: 0 -4px 20px rgba(212, 175, 55, 0.4), 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-item.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
}

.nav-item:hover,
.nav-item:active {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
}

.nav-item-icon {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease;
}

.nav-item-icon i {
    color: inherit;
}

.nav-item.active .nav-item-icon {
    transform: scale(1.1);
}

.nav-item-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: inherit;
}

/* 悬浮操作按钮 */
.fab {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: #1976d2;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
}

.fab:hover, .fab:active {
    transform: scale(1.1);
    background: #1565c0;
}

/* 轮播和图片 */
.mobile-carousel {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    margin-top: -1px;
    position: relative;
}

.mobile-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 状态标签 */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
    color: white;
}

.status-active {
    background: #4caf50;
}

/* 完整的认证状态样式 - 专为中老年用户优化 */
.verification-status {
    margin-top: 8px;
}

.status-success {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #b8daff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
}

.status-pending {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 2px solid #ffc107;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #d4af37 0%, #c9b037 100%);
    color: #ffffff;
    border: 2px solid #b8860b;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

.status-action:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35), 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.status-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.status-action:hover::before {
    left: 100%;
}

/* 专门为银行卡绑定按钮优化文字显示 */
.verification-item .status-action {
    background: linear-gradient(135deg, #e6b800 0%, #d4af37 50%, #c9b037 100%);
    border: 3px solid #b8860b;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.verification-item .status-action i {
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.verification-details {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    border-left: 3px solid #ddd;
}

.verification-details small {
    display: block;
    margin-bottom: 2px;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.status-completed {
    background: #2196f3;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.empty-state-text {
    font-size: 14px;
    line-height: 1.5;
}

/* 加载状态 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e0e0e0;
    border-top: 2px solid #1976d2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 页面标题卡片样式 */
.page-title-card {
    background: linear-gradient(135deg, #d4af37 0%, #c9b037 30%, #b8860b 70%, #8b4513 100%);
    margin: 4px 8px 8px 8px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3), 0 6px 20px rgba(0,0,0,0.1);
    position: relative;
}

.page-title-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15) 2px, transparent 2px),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
    pointer-events: none;
    opacity: 0.6;
}

.page-title-content {
    display: flex;
    align-items: center;
    padding: 32px 24px;
    position: relative;
    z-index: 2;
}

.page-title-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2), inset 0 2px 0 rgba(255,255,255,0.3);
}

.page-title-icon i {
    font-size: 36px;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-title-text {
    flex: 1;
    min-width: 0;
}

.page-title {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin: 0 0 8px 0;
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 500;
    opacity: 0.95;
}

/* 添加类别选择选中状态 */
.category-item.selected {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.3), 0 6px 16px rgba(0,0,0,0.15);
    border: 2px solid rgba(212, 175, 55, 0.4);
}

.category-item.selected .category-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* 分隔线 */
.divider {
    height: 1px;
    background: #e0e0e0;
    margin: 16px 0;
}

.divider-thick {
    height: 8px;
    background: #f5f5f5;
    margin: 16px -16px;
}

/* 网格布局 */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
}

/* 响应式隐藏桌面元素 */
.desktop-only {
    display: none !important;
}

/* Toast 通知 */
.toast {
    position: fixed;
    bottom: 100px;
    left: 16px;
    right: 16px;
    background: #333;
    color: white;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* 确保触摸友好 */
@media (max-width: 768px) {
    .main-content {
        padding: 0;
    }
    
    .container, .container-fluid {
        padding: 0;
        margin: 0;
        max-width: 100%;
    }
    
    .row {
        margin: 0;
    }
    
    .col-12, .col-md-6, .col-md-4, .col-sm-6 {
        padding: 0;
        margin-bottom: 0;
    }
}

/* 隐藏原有的Bootstrap导航 */
.navbar, .nav {
    display: none !important;
}

/* 覆盖Bootstrap卡片样式 */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 8px;
}

.card-body {
    padding: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.card-text {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* 警告卡片样式 */
.warning-card {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3c4 30%, #ffecb3 70%, #ffe082 100%);
    border: 2px solid rgba(255, 152, 0, 0.3);
    box-shadow: 0 12px 40px rgba(255, 152, 0, 0.15), 0 6px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    margin: 16px;
    border-radius: 24px;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.warning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff9800 0%, #f57c00 50%, #ef6c00 100%);
    animation: warningGlow 2s ease-in-out infinite alternate;
}

.warning-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 152, 0, 0.2), 0 10px 30px rgba(0,0,0,0.15);
}

.warning-content {
    padding: 40px 32px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.warning-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 48px rgba(255, 152, 0, 0.3), inset 0 2px 0 rgba(255,255,255,0.3);
    position: relative;
    animation: warningPulse 2s ease-in-out infinite;
}

.warning-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(245, 124, 0, 0.2));
    animation: warningRipple 2s ease-in-out infinite;
}

.warning-icon i {
    font-size: 48px;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.warning-title {
    font-size: 24px;
    font-weight: 700;
    color: #e65100;
    margin: 0 0 12px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    letter-spacing: -0.5px;
}

.warning-subtitle {
    font-size: 16px;
    color: #bf360c;
    line-height: 1.6;
    margin: 0 0 32px 0;
    opacity: 0.9;
}

.warning-card .app-btn {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 50%, #ef6c00 100%);
    border: none;
    color: white;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.4), 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.warning-card .app-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.warning-card .app-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 36px rgba(255, 152, 0, 0.5), 0 6px 18px rgba(0,0,0,0.15);
}

.warning-card .app-btn:hover::before {
    left: 100%;
}

.warning-card .app-btn:active {
    transform: translateY(0) scale(1.02);
}

.warning-card .app-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.warning-card .app-btn:hover i {
    transform: translateX(4px);
}

@keyframes warningGlow {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

@keyframes warningPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes warningRipple {
    0% { 
        transform: scale(1);
        opacity: 0.6;
    }
    100% { 
        transform: scale(1.3);
        opacity: 0;
    }
}

/* 赛事页面标签页样式 */
.results-tabs-card {
    margin-bottom: 20px;
    padding: 16px;
    overflow: hidden;
}

.results-tabs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(201, 176, 55, 0.05));
    border-radius: 16px;
    padding: 4px;
    overflow-x: auto;
}

.results-tab {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
    text-align: center;
}

.results-tab.active {
    background: linear-gradient(135deg, #d4af37, #c9b037);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3), 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.results-tab.active .tab-icon {
    color: white;
    transform: scale(1.1);
}

.results-tab.active .tab-title {
    color: white;
    font-weight: 700;
}

.results-tab.active .tab-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.tab-icon {
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.tab-content {
    display: flex;
    flex-direction: column;
}

.tab-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.tab-subtitle {
    font-size: 12px;
    color: #888;
    transition: color 0.3s ease;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #c9b037);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.results-tab.active .tab-indicator {
    width: 60%;
}

/* 标签页内容样式 */
.results-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 公告样式 - 网格布局 */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 16px;
}

.announcement-card {
    background: linear-gradient(145deg, #ffffff, #fdfbf7);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4d03f, #d4af37);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.announcement-card:hover::before {
    transform: translateX(0);
}

.announcement-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid transparent;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent) padding-box,
                linear-gradient(90deg, #d4af37, transparent) border-box;
    border-image: linear-gradient(90deg, rgba(212, 175, 55, 0.3), transparent) 1;
    flex-wrap: wrap;
    gap: 12px;
}

.announcement-title-section {
    flex: 1;
    min-width: 0;
    margin-right: 20px;
}

.announcement-title {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.announcement-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.announcement-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.1;
    z-index: -1;
}

.announcement-type.urgent {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.4);
    animation: urgent-glow 2s infinite alternate;
}

.announcement-type.award {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    box-shadow: 0 4px 16px rgba(243, 156, 18, 0.4);
}

.announcement-type.contest {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.4);
}

.announcement-type.general {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.4);
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    padding: 8px 16px;
    background: rgba(127, 140, 141, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.announcement-meta i {
    font-size: 12px;
    opacity: 0.8;
}

.announcement-content {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: #34495e;
    padding: 20px;
    background: linear-gradient(135deg, rgba(247, 249, 252, 0.8), rgba(241, 245, 249, 0.6));
    border-radius: 16px;
    border-left: 4px solid #d4af37;
    position: relative;
}

.announcement-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 60px;
    color: rgba(212, 175, 55, 0.2);
    font-family: serif;
    line-height: 1;
}

.announcement-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.announcement-actions .app-btn {
    background: linear-gradient(135deg, #d4af37, #c9b037);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.announcement-actions .app-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.announcement-actions .app-btn:hover::before {
    left: 100%;
}

.announcement-actions .app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

/* 动画效果 */
@keyframes urgent-glow {
    0% {
        box-shadow: 0 4px 16px rgba(231, 76, 60, 0.4);
    }
    100% {
        box-shadow: 0 6px 24px rgba(231, 76, 60, 0.6);
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .announcements-grid {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 16px;
    }
    
    .announcement-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .announcement-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .announcement-title-section {
        margin-right: 0;
        width: 100%;
    }
    
    .announcement-title {
        font-size: 20px;
    }
    
    .announcement-meta {
        align-self: flex-start;
    }
    
    .announcement-content {
        font-size: 16px;
        padding: 16px;
    }
    
    .announcement-content::before {
        font-size: 40px;
    }
    
    .announcement-actions {
        justify-content: center;
    }
}

/* 获奖名单样式 */
.awards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.award-contest-card {
    overflow: hidden;
}

.award-contest-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.contest-trophy-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #c9b037);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.contest-trophy-icon i {
    font-size: 24px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contest-info {
    flex: 1;
    min-width: 0;
}

.contest-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px 0;
}

.contest-info p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.award-count {
    text-align: right;
    font-size: 12px;
    color: #d4af37;
    font-weight: 600;
}

.awards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(254, 252, 247, 0.8));
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.award-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.award-medal {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 252, 247, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.award-medal i {
    font-size: 20px;
}

.award-details {
    flex: 1;
    min-width: 0;
}

.award-level {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.award-winner {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.award-work {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.award-prize {
    font-size: 12px;
    color: #4caf50;
    font-weight: 600;
}

.award-time {
    font-size: 12px;
    color: #888;
    text-align: right;
    flex-shrink: 0;
}

/* 比赛进度样式 */
.contests-progress-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contest-progress-card {
    transition: all 0.3s ease;
}

.contest-progress-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.15), 0 6px 16px rgba(0,0,0,0.1);
}

.contest-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.contest-basic-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.contest-progress-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contest-progress-status.active {
    background: linear-gradient(135deg, #4caf50, #43a047);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.contest-progress-status.judging {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.contest-progress-status.ended {
    background: linear-gradient(135deg, #9e9e9e, #757575);
    color: white;
    box-shadow: 0 4px 12px rgba(158, 158, 158, 0.3);
}

.contest-progress-status.upcoming {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.contest-stats-mini {
    display: flex;
    gap: 12px;
    align-items: center;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
}

.stat-mini i {
    color: #d4af37;
    font-size: 10px;
}

.contest-description-mini {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.contest-timeline-progress {
    margin-bottom: 20px;
}

.timeline-progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.timeline-progress-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(201, 176, 55, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-icon i {
    font-size: 12px;
    color: #d4af37;
}

.timeline-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.timeline-label {
    font-size: 14px;
    color: #888;
}

.timeline-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.contest-quick-action {
    text-align: center;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .results-tabs-container {
        flex-direction: column;
        gap: 4px;
    }
    
    .results-tab {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 12px 16px;
    }
    
    .tab-icon {
        margin-bottom: 0;
        margin-right: 12px;
        font-size: 20px;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .award-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .award-details {
        text-align: center;
    }
    
    .timeline-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* 全局加载器样式 */
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.loader-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.loader-content {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #fefcf7);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.2);
    min-width: 200px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

.loader-text {
    font-size: 18px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

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

/* 上传进度样式 */
.upload-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
}

.progress-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.progress-content {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #fefcf7);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.2);
    min-width: 300px;
    max-width: 400px;
}

.progress-title {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #c9b037);
    border-radius: 6px;
    transition: width 0.3s ease;
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

.progress-text {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* 中老年用户优化 - 增大触控区域 */
.app-btn {
    min-height: 48px;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    touch-action: manipulation;
}

.app-btn-large {
    min-height: 56px;
    padding: 16px 32px;
    font-size: 20px;
}

.nav-item {
    min-height: 64px;
    padding: 12px 8px;
}

.nav-item-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.nav-item-label {
    font-size: 12px;
    font-weight: 500;
}

/* 表单元素优化 */
.form-input,
.form-textarea,
.form-select {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 18px;
    line-height: 1.4;
    border-radius: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    outline: none;
}


/* 现代化登录界面样式 */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.auth-header {
    background: linear-gradient(135deg, #d4af37 0%, #c9b037 20%, #b8860b 60%, #8b4513 100%);
    padding: 40px 24px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 1px, transparent 1px),
                      radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
    opacity: 0.6;
}

.auth-logo {
    position: relative;
    z-index: 2;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-icon i {
    font-size: 28px;
    color: white;
}

.logo-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-form-container {
    flex: 1;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 24px 24px 40px;
    margin-top: -12px;
    position: relative;
    z-index: 3;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.auth-form-header {
    text-align: center;
    margin-bottom: 24px;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 6px 0;
}

.form-subtitle {
    font-size: 16px;
    color: #7f8c8d;
    margin: 0;
    font-weight: 400;
}

.auth-alert-container {
    margin-bottom: 20px;
}

.auth-alert {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #d4af37;
    transition: all 0.3s ease;
}

.auth-alert-success {
    border-left-color: #27ae60;
    background: linear-gradient(90deg, rgba(39, 174, 96, 0.05), white);
}

.auth-alert-error {
    border-left-color: #e74c3c;
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.05), white);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-icon {
    font-size: 18px;
}

.auth-alert-success .alert-icon {
    color: #27ae60;
}

.auth-alert-error .alert-icon {
    color: #e74c3c;
}

.alert-message {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

.auth-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #95a5a6;
    font-size: 18px;
    z-index: 2;
}

.auth-input {
    width: 100%;
    height: 56px;
    padding: 0 56px 0 48px;
    border: 2px solid #ecf0f1;
    border-radius: 16px;
    font-size: 16px;
    color: #2c3e50;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
}

.auth-input:focus {
    border-color: #d4af37;
    background: white;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.auth-input::placeholder {
    color: #bdc3c7;
    font-weight: 400;
}

.password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #95a5a6;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    z-index: 2;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #d4af37;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.remember-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.remember-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.remember-checkbox input:checked + .checkmark {
    background: #d4af37;
    border-color: #d4af37;
}

.remember-checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.forgot-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #b8860b;
}

.auth-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.auth-btn-primary {
    background: linear-gradient(135deg, #d4af37, #c9b037);
    color: white;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.auth-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
}

.auth-btn-primary:active {
    transform: translateY(0);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.footer-text {
    margin: 0;
    font-size: 16px;
    color: #7f8c8d;
}

.register-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #b8860b;
}

/* 忘记密码弹窗样式 */
.forgot-password-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-container {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    color: #7f8c8d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #ecf0f1;
    color: #2c3e50;
}

.modal-body {
    padding: 24px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .auth-header {
        padding: 32px 20px 20px;
    }
    
    .logo-icon {
        width: 56px;
        height: 56px;
    }
    
    .logo-icon i {
        font-size: 24px;
    }
    
    .logo-title {
        font-size: 20px;
    }
    
    .logo-subtitle {
        font-size: 14px;
    }
    
    .auth-form-container {
        padding: 20px 20px 28px;
        margin-top: -8px;
        border-radius: 16px 16px 0 0;
    }
    
    .auth-form-header {
        margin-bottom: 20px;
    }
    
    .form-title {
        font-size: 22px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .auth-input {
        height: 52px;
        font-size: 16px;
    }
    
    .auth-btn {
        height: 52px;
        font-size: 16px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .auth-form {
        margin-bottom: 20px;
    }
    
    .auth-footer {
        padding-top: 16px;
    }
    
    .modal-container {
        margin: 0 16px;
        max-width: none;
    }
}

/* 注册页面扩展样式 */
.input-hint {
    font-size: 12px;
    color: #95a5a6;
    margin-top: 6px;
    margin-left: 16px;
    font-weight: 400;
}

.form-agreement {
    margin-bottom: 24px;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
}

.agreement-checkbox input {
    display: none;
}

.agreement-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.agreement-checkbox input:checked + .checkmark {
    background: #d4af37;
    border-color: #d4af37;
}

.agreement-checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.agreement-text {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 400;
}

.agreement-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.agreement-link:hover {
    color: #b8860b;
    text-decoration: underline;
}

/* 输入框状态样式 */
.auth-input.valid {
    border-color: #27ae60 !important;
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.1) !important;
}

.auth-input.invalid {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1) !important;
}

/* 移动端注册页面优化 */
@media (max-width: 768px) {
    .input-hint {
        font-size: 11px;
        margin-left: 12px;
    }
    
    .agreement-text {
        font-size: 13px;
    }
    
    .agreement-checkbox .checkmark {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
    
    .agreement-checkbox input:checked + .checkmark::after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 9px;
    }
}

/* 视觉引导样式 */
.help-highlight {
    position: relative;
    z-index: 1001;
}

.help-highlight::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 3px solid #d4af37;
    border-radius: 16px;
    background: rgba(212, 175, 55, 0.1);
    animation: highlight-pulse 2s infinite;
    z-index: -1;
}

.help-arrow {
    position: absolute;
    font-size: 24px;
    color: #d4af37;
    animation: arrow-bounce 1.5s infinite;
    z-index: 1002;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.help-arrow.up { transform: rotate(-90deg); }
.help-arrow.down { transform: rotate(90deg); }
.help-arrow.left { transform: rotate(180deg); }
.help-arrow.right { transform: rotate(0deg); }

@keyframes highlight-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-10px) rotate(var(--rotation, 0deg)); }
}


/* 操作撤销提示 */
.undo-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.undo-notification.show {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

.undo-btn {
    background: #d4af37;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.undo-btn:hover {
    background: #c9b037;
    transform: scale(1.05);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* 数据自动保存指示器 */
.auto-save-indicator {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auto-save-indicator.show {
    opacity: 1;
}

.auto-save-indicator.saving {
    background: rgba(255, 152, 0, 0.9);
}

.auto-save-indicator i {
    font-size: 12px;
}

/* 错误提示优化 */
.form-error {
    color: #f44336;
    font-size: 14px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.form-error i {
    font-size: 12px;
}

.form-warning {
    color: #ff9800;
    font-size: 14px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.form-warning i {
    font-size: 12px;
}

/* 奖品说明页面样式 */
.prizes-description {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prize-levels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.prize-level-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.prize-level-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
}

.prize-medal {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.prize-level-item:hover .prize-medal {
    transform: scale(1.1) rotate(10deg);
}

.prize-info h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.prize-amount {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #d4af37;
}

.prize-detail {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* 特别奖励样式 */
.special-prizes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.special-prize-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    border-radius: 16px;
    border: 2px solid rgba(156, 39, 176, 0.2);
    transition: all 0.3s ease;
}

.special-prize-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(156, 39, 176, 0.2);
    border-color: #9c27b0;
}

.special-prize-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(156, 39, 176, 0.1);
    border-radius: 50%;
    color: #9c27b0;
    font-size: 20px;
    flex-shrink: 0;
}

.special-prize-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.special-prize-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 奖品发放说明样式 */
.distribution-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.distribution-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border-radius: 16px;
    border: 2px solid rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
}

.distribution-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76, 175, 80, 0.2);
    border-color: #4caf50;
}

.distribution-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    color: #4caf50;
    font-size: 20px;
    flex-shrink: 0;
}

.distribution-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.distribution-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .prize-levels-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 12px;
    }
    
    .prize-level-item,
    .special-prize-item,
    .distribution-item {
        padding: 16px;
    }
    
    .prize-medal {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .special-prize-icon,
    .distribution-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
.verification-details {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

.verification-details small {
    color: #666;
    line-height: 1.4;
}

.btn-link-small {
    color: #d63384;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-link-small:hover {
    color: #c02965;
    text-decoration: underline;
}

.management-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.management-buttons .app-btn {
    flex: 1;
}

.change-form {
    margin-top: 2rem;
}

.form-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #856404;
}

.form-notice i {
    color: #f39c12;
    font-size: 1.1rem;
}

.form-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.form-buttons .app-btn {
    flex: 1;
}

.btn-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    padding: 0.25rem;
    margin-left: auto;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-close:hover {
    background: #f8f9fa;
    color: #333;
}

/* 专业的表单验证错误提示系统 - 专为中老年用户优化 */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-container.has-error .auth-input {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
    animation: shake 0.5s ease-in-out;
}

/* 错误提示放在输入框正下方，独立空间，绝不被遮挡 */
.field-error {
    width: 100%;
    color: #c0392b;
    font-size: 15px;
    font-weight: 600;
    margin-top: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fdf2f2 0%, #fce4ec 100%);
    border: 2px solid #e74c3c;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
    animation: errorFadeIn 0.3s ease-out;
}

.field-error::before {
    content: "⚠️";
    margin-right: 12px;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* 错误提示动画 */
@keyframes errorFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 改进的警告框样式 */
.auth-alert {
    position: relative;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auth-alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-color: #b8daff;
    color: #155724;
}

.auth-alert-error {
    background: linear-gradient(135deg, #f8d7da, #f1b0b7);
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-icon {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.alert-message {
    flex: 1;
    line-height: 1.5;
    font-weight: 500;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
    padding: 2px;
    opacity: 0.7;
    transition: opacity 0.2s;
    flex-shrink: 0;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-close:hover {
    opacity: 1;
    background: rgba(0,0,0,0.1);
}

/* 震动动画 */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* 确保表单组有足够空间显示错误 */
.form-group.has-field-error {
    margin-bottom: 2rem;
}

/* 优化输入提示文字样式 */
.input-hint {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 5px;
    padding-left: 12px;
}

/* 成功状态的输入框 */
.input-container.has-success .auth-input {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2) !important;
}

/* 移动端错误提示优化 */
@media (max-width: 768px) {
    .field-error {
        font-size: 12px;
        padding-left: 8px;
    }
    
    .auth-alert {
        padding: 12px;
        margin-bottom: 15px;
        font-size: 14px;
    }
    
    .alert-icon {
        font-size: 16px;
    }
}
