* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="80" cy="20" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="20" cy="80" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.08)"/></svg>');
    background-size: cover, 100px 100px;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header h1 {
    color: #2d3748;
    font-size: 2.8em;
    margin-bottom: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header p {
    color: #718096;
    font-size: 1.2em;
    font-weight: 500;
}

main {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.welcome-section {
    text-align: center;
}

.welcome-section h2 {
    color: #2d3748;
    margin-bottom: 25px;
    font-size: 2.2em;
    font-weight: 700;
}

.welcome-section p {
    color: #718096;
    margin-bottom: 40px;
    font-size: 1.2em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.exam-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.info-item {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 25px;
    border-radius: 12px;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.info-item strong {
    display: block;
    color: #4a5568;
    font-size: 0.95em;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    display: block;
    color: #667eea;
    font-size: 1.5em;
    font-weight: 700;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: #ffffff;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 85, 104, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
    color: #ffffff;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #ffffff;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.4);
}

footer {
    text-align: center;
    margin-top: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
    font-weight: 500;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* 表单样式 */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #4a5568;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 220px;
}

/* 考试规则样式增强 */
.exam-rules {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.exam-rules h2 {
    text-align: center;
    color: #2d3748;
    font-size: 1.8em;
    margin-bottom: 25px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 12px;
}

.exam-rules h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.rules-content {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.rules-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.rules-content li {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f7fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
    line-height: 1.5;
}

.rules-content li:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.rules-content li::before {
    content: '•';
    color: #667eea;
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 12px;
    line-height: 1.2;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 考试信息表单样式 */
.exam-info {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.exam-info h3 {
    color: #2d3748;
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.exam-form {
    max-width: 500px;
    margin: 0 auto;
}

.agreement-group {
    margin-bottom: 25px;
}

.agreement-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s ease;
    font-size: 0.95em;
}

.agreement-group label:hover span {
    color: #667eea;
}

.agreement-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    transform: scale(1.1);
    cursor: pointer;
}

.agreement-group span {
    transition: color 0.2s ease;
}

/* 按钮组样式 */
.actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.actions .btn {
    padding: 14px 35px;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 28px;
    transition: all 0.2s ease;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.actions .btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.actions .btn-secondary {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #4a5568;
}

.actions .btn-secondary:hover {
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    color: #2d3748;
}

/* 表单样式优化 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .rules-content ul {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.9em;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95em;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #4a5568;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
    margin-top: 25px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
}

th, td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    font-weight: 600;
    color: #2d3748;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

tr:hover {
    background-color: #f7fafc;
}

tr:last-child td {
    border-bottom: none;
}

/* 导航菜单 */
.nav {
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    padding: 15px 0;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.nav ul li a {
    color: #4a5568;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95em;
    position: relative;
}

.nav ul li a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

/* 卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card h3 {
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 1.5em;
    font-weight: 700;
    border-bottom: 2px solid #667eea;
    padding-bottom: 12px;
    display: inline-block;
}

/* 考试界面样式 */
.exam-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-bottom: 25px;
}

/* 题目操作区样式 */
.question-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
}

/* 确保题干正常显示 */
.question-text {
    font-size: 1.2em;
    margin-bottom: 25px;
    line-height: 1.7;
    color: #2d3748;
    font-weight: 500;
    min-height: 60px;
    display: block;
}

/* 为上一题/下一题按钮添加不同颜色 */
.question-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.question-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.question-actions .btn-secondary {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
}

@media (max-width: 900px) {
    .exam-container {
        grid-template-columns: 1fr;
    }
}

.question-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.question-number {
    font-size: 1.3em;
    font-weight: 700;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timer {
    font-size: 1.4em;
    font-weight: 700;
    color: #f56565;
    background: #fed7d7;
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(245, 101, 101, 0.2);
}

.question-text {
    font-size: 1.2em;
    margin-bottom: 25px;
    line-height: 1.7;
    color: #2d3748;
    font-weight: 500;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.option {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 25px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    transform: translateX(5px);
}

.option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #ebf4ff 0%, #e2e8f0 100%);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.option.selected::after {
    content: '✓';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1.5em;
    font-weight: bold;
}

.navigation-panel {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-height: 80vh;
    overflow-y: auto;
}

.navigation-panel h3 {
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.question-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.question-btn {
    padding: 12px 8px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #4a5568;
}

.question-btn:hover {
    background: #f7fafc;
    border-color: #667eea;
    transform: scale(1.05);
}

.question-btn.answered {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    border-color: #48bb78;
    color: #22543d;
}

.question-btn.marked {
    background: linear-gradient(135deg, #fef5e7 0%, #fed7aa 100%);
    border-color: #ed8936;
    color: #744210;
}

.question-btn.current {
    background: linear-gradient(135deg, #bee3f8 0%, #90cdf4 100%);
    border-color: #667eea;
    color: #2b6cb0;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-actions {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.nav-actions .btn {
    padding: 12px 25px;
    font-size: 0.95em;
    text-align: center;
}

/* 结果页面样式 */
.result-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.result-score {
    font-size: 4em;
    font-weight: 700;
    margin: 40px 0 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.result-score.pass {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-score.fail {
    background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-message {
    font-size: 1.8em;
    margin-bottom: 35px;
    font-weight: 700;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-message.pass {
    color: #38a169;
}

.result-message.fail {
    color: #f56565;
}

.score-breakdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.breakdown-item {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 30px;
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.breakdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.breakdown-item h4 {
    color: #4a5568;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.breakdown-item .score {
    font-size: 2.5em;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.breakdown-item .max-score {
    color: #a0aec0;
    font-size: 0.9em;
}

/* 登录页面样式 */
.login-container {
    max-width: 450px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 35px;
    color: #2d3748;
    font-size: 2em;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    main {
        padding: 25px;
    }
    
    header h1 {
        font-size: 2.2em;
    }
    
    .exam-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .question-section {
        padding: 20px;
    }
    
    .exam-container {
        gap: 20px;
    }
    
    .navigation-panel {
        padding: 20px;
    }
}

/* 管理界面样式 */
.admin-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.stat-card:nth-child(4) {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.stat-card h3 {
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    display: inline-block;
    color: #ffffff;
}

.stat-value {
    font-size: 3em;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95em;
    opacity: 0.9;
    font-weight: 400;
}

.search-bar {
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.search-bar input {
    flex: 1;
    min-width: 240px;
}

/* 消息提示样式 */
.message {
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid transparent;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message.success {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    color: #22543d;
    border-left-color: #48bb78;
}

.message.error {
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    color: #742a2a;
    border-left-color: #f56565;
}

.message.warning {
    background: linear-gradient(135deg, #fef5e7 0%, #fed7aa 100%);
    color: #744210;
    border-left-color: #ed8936;
}

.message.info {
    background: linear-gradient(135deg, #bee3f8 0%, #90cdf4 100%);
    color: #2b6cb0;
    border-left-color: #63b3ed;
}

/* 语言选择器样式 */
.language-select {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.language-select select {
    padding: 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: #4a5568;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.language-select select:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}