/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #87CEFA 0%, #4682B4 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.site-logo {
    max-width: 120px;
    height: auto;
    max-height: 80px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* 主题特定logo样式 */
body.theme-red .site-logo,
body.theme-orange .site-logo,
body.theme-green .site-logo,
body.theme-blue .site-logo,
body.theme-purple .site-logo {
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

body.theme-yellow .site-logo {
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

/* 主题特定零韩语基础按钮样式 */
body.theme-red .no-korean-button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

body.theme-red .no-korean-button:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #e74c3c 100%);
}

body.theme-orange .no-korean-button {
    background: linear-gradient(135deg, #ff7043 0%, #e65100 100%);
}

body.theme-orange .no-korean-button:hover {
    background: linear-gradient(135deg, #ff8a65 0%, #ff7043 100%);
}

body.theme-yellow .no-korean-button {
    background: linear-gradient(135deg, #fdd835 0%, #fbc02d 100%);
    color: #333;
}

body.theme-yellow .no-korean-button:hover {
    background: linear-gradient(135deg, #ffee58 0%, #fdd835 100%);
}

body.theme-green .no-korean-button {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

body.theme-green .no-korean-button:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
}

body.theme-blue .no-korean-button {
    background: linear-gradient(135deg, #5f9ea0 0%, #4682B4 100%);
}

body.theme-blue .no-korean-button:hover {
    background: linear-gradient(135deg, #7ab3b5 0%, #5f9ea0 100%);
}

.language-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.language-toggle.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.no-korean-button {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    color: white;
}

.no-korean-button:hover {
    background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

header p {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 300;
}

/* 主内容区样式 */
main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* 表单区域样式 */
.input-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px;
    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);
}

.input-section h2 {
    color: #4682B4;
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #4a6fa5;
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #b0c4de;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus {
    outline: none;
    border-color: #4682B4;
    box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.15);
    background: white;
    transform: translateY(-1px);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #6a93cb;
    font-size: 0.85rem;
    font-weight: 400;
}

#recommendBtn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4682B4 0%, #5f9ea0 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(70, 130, 180, 0.3);
}

#recommendBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 130, 180, 0.4);
    background: linear-gradient(135deg, #5f9ea0 0%, #4682B4 100%);
}

#recommendBtn:active {
    transform: translateY(0);
}

#recommendBtn:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

/* 操作按钮区域 */
.action-buttons {
    margin-bottom: 25px;
    text-align: center;
}

.back-button,
.action-button {
    padding: 12px 24px;
    background: var(--theme-primary, #5f9ea0);
    color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* 统一按钮样式 */
.improve-topik-button, 
.improve-english-button, 
.improve-gpa-button, 
.application-order-button, 
.whitelist-button, 
.tuition-fees-button {
    background: linear-gradient(135deg, #4a90e2 0%, #357abf 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 10px 20px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.improve-topik-button:hover:not(:disabled), 
.improve-english-button:hover:not(:disabled), 
.improve-gpa-button:hover:not(:disabled), 
.application-order-button:hover, 
.whitelist-button:hover, 
.tuition-fees-button:hover {
    background: linear-gradient(135deg, #357abf 0%, #4a90e2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.back-button:hover,
.action-button:hover {
    background: var(--theme-primary-dark, #4682B4);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* 结果区域样式 */
.result-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px;
    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);
}

.result-section h2 {
    color: #4682B4;
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
}

.university-card {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid #4682B4;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.university-card:hover {
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #e6f2ff 0%, #d4e6ff 100%);
}

.university-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.university-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

.university-english-name {
    font-style: italic;
    color: #6a93cb;
    margin-left: 10px;
    font-weight: 400;
}

.university-rank {
    background: #4682B4;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(70, 130, 180, 0.3);
}

.university-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: #4a6fa5;
    font-size: 0.95rem;
}

.university-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.university-description {
    color: #5a7fa8;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.7;
}

.match-score {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding-top: 10px;
    border-top: 1px solid rgba(70, 130, 180, 0.1);
}

.score-label {
    color: #4682B4;
    font-size: 1rem;
}

.score-value {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 700;
}

/* 页脚样式 */
footer {
    text-align: center;
    margin-top: 50px;
    color: white;
    opacity: 0.9;
    font-size: 0.95rem;
    font-weight: 400;
}

/* 响应式设计 */
@media (min-width: 768px) {
    main {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 3rem;
    }
    
    .university-info {
        gap: 25px;
    }
}

@media (min-width: 992px) {
    main {
        grid-template-columns: 1fr 1.2fr;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .action-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .improve-topik-button, 
    .improve-english-button, 
    .improve-gpa-button, 
    .application-order-button, 
    .whitelist-button, 
    .tuition-fees-button {
        width: 100%;
        margin: 8px 0;
        text-align: center;
    }
    
    .input-section,
    .result-section {
        padding: 25px;
    }
    
    .university-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .university-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .match-score {
        justify-content: flex-start;
    }
}

/* 主题颜色样式 */

/* 红色主题 */
body.theme-red {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

body.theme-red .input-section h2,
body.theme-red .result-section h2,
body.theme-red .form-group label,
body.theme-red .form-group small,
body.theme-red .score-label {
    color: #c0392b;
}

body.theme-red .form-group input {
    border-color: #ff6b6b;
    background-color: rgba(255, 255, 255, 0.95);
}

body.theme-red .form-group input:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.2);
}

body.theme-red #recommendBtn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

body.theme-red #recommendBtn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

body.theme-red .back-button {
    background: #c0392b;
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(192, 57, 43, 0.3);
}

body.theme-red .back-button:hover {
    background: #e74c3c;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
}

body.theme-red .improve-topik-button,
body.theme-red .improve-english-button,
body.theme-red .improve-gpa-button,
body.theme-red .application-order-button,
body.theme-red .whitelist-button,
body.theme-red .tuition-fees-button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    margin: 10px 20px;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

body.theme-red .improve-topik-button:hover:not(:disabled),
body.theme-red .improve-english-button:hover:not(:disabled),
body.theme-red .improve-gpa-button:hover:not(:disabled),
body.theme-red .application-order-button:hover,
body.theme-red .whitelist-button:hover,
body.theme-red .tuition-fees-button:hover {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

body.theme-red .university-card {
    background: rgba(255, 255, 255, 0.9);
    border-left: 5px solid #ff6b6b;
}

body.theme-red .university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

body.theme-red .university-rank {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

body.theme-red .university-english-name {
    color: #ff6b6b;
}



/* 橙色主题 */
body.theme-orange {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
}

body.theme-orange .input-section h2,
body.theme-orange .result-section h2,
body.theme-orange .form-group label,
body.theme-orange .form-group small,
body.theme-orange .score-label {
    color: #e65100;
}

body.theme-orange .form-group input:focus {
    border-color: #e65100;
    box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.15);
}

body.theme-orange #recommendBtn {
    background: linear-gradient(135deg, #e65100 0%, #ff7043 100%);
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
}

body.theme-orange #recommendBtn:hover {
    background: linear-gradient(135deg, #ff7043 0%, #e65100 100%);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
}

body.theme-orange .back-button {
    background: #ff7043;
    box-shadow: 0 2px 10px rgba(255, 112, 67, 0.3);
}

body.theme-orange .back-button:hover {
    background: #e65100;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
}

body.theme-orange .improve-topik-button,
body.theme-orange .improve-english-button,
body.theme-orange .improve-gpa-button,
body.theme-orange .application-order-button,
body.theme-orange .whitelist-button,
body.theme-orange .tuition-fees-button {
    background: linear-gradient(135deg, #ff7043 0%, #e65100 100%);
    color: white;
    margin: 10px 20px;
    box-shadow: 0 4px 15px rgba(255, 112, 67, 0.3);
}

body.theme-orange .improve-topik-button:hover:not(:disabled),
body.theme-orange .improve-english-button:hover:not(:disabled),
body.theme-orange .improve-gpa-button:hover:not(:disabled),
body.theme-orange .application-order-button:hover,
body.theme-orange .whitelist-button:hover,
body.theme-orange .tuition-fees-button:hover {
    background: linear-gradient(135deg, #e65100 0%, #ff7043 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
}

body.theme-orange .university-card {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left-color: #e65100;
}

body.theme-orange .university-card:hover {
    background: linear-gradient(135deg, #ffe0b2 0%, #ffcc80 100%);
}

body.theme-orange .university-rank {
    background: #e65100;
    box-shadow: 0 2px 8px rgba(230, 81, 0, 0.3);
}

body.theme-orange .university-english-name {
    color: #ff7043;
}



/* 黄色主题 */
body.theme-yellow {
    background: linear-gradient(135deg, #ffeb3b 0%, #fdd835 100%);
}

body.theme-yellow .input-section h2,
body.theme-yellow .result-section h2,
body.theme-yellow .form-group label,
body.theme-yellow .form-group small,
body.theme-yellow .score-label {
    color: #e65100;
}

body.theme-yellow .form-group input {
    border-color: #fdd835;
    background-color: rgba(255, 255, 255, 0.95);
}

body.theme-yellow .form-group input:focus {
    border-color: #e65100;
    box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.2);
}

body.theme-yellow #recommendBtn {
    background: linear-gradient(135deg, #e65100 0%, #ff7043 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
}

body.theme-yellow #recommendBtn:hover {
    background: linear-gradient(135deg, #ff7043 0%, #e65100 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
}

body.theme-yellow .back-button {
    background: #fdd835;
    box-shadow: 0 2px 10px rgba(253, 216, 53, 0.3);
}

body.theme-yellow .back-button:hover {
    background: #fbc02d;
    box-shadow: 0 4px 15px rgba(253, 216, 53, 0.3);
}

body.theme-yellow .improve-topik-button,
body.theme-yellow .improve-english-button,
body.theme-yellow .improve-gpa-button,
body.theme-yellow .application-order-button,
body.theme-yellow .whitelist-button,
body.theme-yellow .tuition-fees-button {
    background: linear-gradient(135deg, #fdd835 0%, #fbc02d 100%);
    color: #333;
    margin: 10px 20px;
    box-shadow: 0 4px 15px rgba(253, 216, 53, 0.3);
}

body.theme-yellow .improve-topik-button:hover:not(:disabled),
body.theme-yellow .improve-english-button:hover:not(:disabled),
body.theme-yellow .improve-gpa-button:hover:not(:disabled),
body.theme-yellow .application-order-button:hover,
body.theme-yellow .whitelist-button:hover,
body.theme-yellow .tuition-fees-button:hover {
    background: linear-gradient(135deg, #fbc02d 0%, #fdd835 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 216, 53, 0.4);
}

body.theme-yellow .university-card {
    background: rgba(255, 255, 255, 0.9);
    border-left: 5px solid #fdd835;
}

body.theme-yellow .university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

body.theme-yellow .university-rank {
    background: linear-gradient(135deg, #ffeb3b 0%, #fdd835 100%);
}

body.theme-yellow .university-english-name {
    color: #fdd835;
}



/* 绿色主题 */
body.theme-green {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
}

body.theme-green .input-section h2,
body.theme-green .result-section h2,
body.theme-green .form-group label,
body.theme-green .form-group small,
body.theme-green .score-label {
    color: #2e7d32;
}

body.theme-green .form-group input:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

body.theme-green #recommendBtn {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

body.theme-green #recommendBtn:hover {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

body.theme-green .back-button {
    background: #4caf50;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

body.theme-green .back-button:hover {
    background: #2e7d32;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

body.theme-green .improve-topik-button,
body.theme-green .improve-english-button,
body.theme-green .improve-gpa-button,
body.theme-green .application-order-button,
body.theme-green .whitelist-button,
body.theme-green .tuition-fees-button {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
    margin: 10px 20px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

body.theme-green .improve-topik-button:hover:not(:disabled),
body.theme-green .improve-english-button:hover:not(:disabled),
body.theme-green .improve-gpa-button:hover:not(:disabled),
body.theme-green .application-order-button:hover,
body.theme-green .whitelist-button:hover,
body.theme-green .tuition-fees-button:hover {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

body.theme-green .university-card {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left-color: #2e7d32;
}

body.theme-green .university-card:hover {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
}

body.theme-green .university-rank {
    background: #2e7d32;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

body.theme-green .university-english-name {
    color: #4caf50;
}



/* 蓝色主题（默认） */
body.theme-blue {
    background: linear-gradient(135deg, #87CEFA 0%, #4682B4 100%);
}

body.theme-blue .input-section h2,
body.theme-blue .result-section h2,
body.theme-blue .form-group label,
body.theme-blue .form-group small,
body.theme-blue .score-label {
    color: #4682B4;
}

body.theme-blue .form-group input:focus {
    border-color: #4682B4;
    box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.15);
}

body.theme-blue #recommendBtn {
    background: linear-gradient(135deg, #4682B4 0%, #5f9ea0 100%);
    box-shadow: 0 4px 15px rgba(70, 130, 180, 0.3);
}

body.theme-blue #recommendBtn:hover {
    background: linear-gradient(135deg, #5f9ea0 0%, #4682B4 100%);
    box-shadow: 0 6px 20px rgba(70, 130, 180, 0.4);
}

body.theme-blue .back-button {
    background: #5f9ea0;
    box-shadow: 0 2px 10px rgba(95, 158, 160, 0.3);
}

body.theme-blue .back-button:hover {
    background: #4682B4;
    box-shadow: 0 4px 15px rgba(70, 130, 180, 0.3);
}

body.theme-blue .improve-topik-button,
body.theme-blue .improve-english-button,
body.theme-blue .improve-gpa-button,
body.theme-blue .application-order-button,
body.theme-blue .whitelist-button,
body.theme-blue .tuition-fees-button {
    background: linear-gradient(135deg, #5f9ea0 0%, #4682B4 100%);
    color: white;
    margin: 10px 20px;
    box-shadow: 0 4px 15px rgba(95, 158, 160, 0.3);
}

body.theme-blue .improve-topik-button:hover:not(:disabled),
body.theme-blue .improve-english-button:hover:not(:disabled),
body.theme-blue .improve-gpa-button:hover:not(:disabled),
body.theme-blue .application-order-button:hover,
body.theme-blue .whitelist-button:hover,
body.theme-blue .tuition-fees-button:hover {
    background: linear-gradient(135deg, #4682B4 0%, #5f9ea0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 130, 180, 0.4);
}

body.theme-blue .university-card {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    border-left-color: #4682B4;
}

body.theme-blue .university-card:hover {
    background: linear-gradient(135deg, #e6f2ff 0%, #d4e6ff 100%);
}

body.theme-blue .university-rank {
    background: #4682B4;
    box-shadow: 0 2px 8px rgba(70, 130, 180, 0.3);
}

body.theme-blue .university-english-name {
    color: #6a93cb;
}



/* 紫色主题 */
body.theme-purple {
    background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
}

body.theme-purple .input-section h2,
body.theme-purple .result-section h2,
body.theme-purple .form-group label,
body.theme-purple .form-group small,
body.theme-purple .score-label {
    color: #7b1fa2;
}

body.theme-purple .form-group input:focus {
    border-color: #7b1fa2;
    box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.15);
}

body.theme-purple #recommendBtn {
    background: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 100%);
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.3);
}

body.theme-purple #recommendBtn:hover {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.4);
}

body.theme-purple .back-button {
    background: #9c27b0;
    box-shadow: 0 2px 10px rgba(156, 39, 176, 0.3);
}

body.theme-purple .back-button:hover {
    background: #7b1fa2;
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.3);
}

body.theme-purple .improve-topik-button,
body.theme-purple .improve-english-button,
body.theme-purple .improve-gpa-button,
body.theme-purple .application-order-button,
body.theme-purple .whitelist-button,
body.theme-purple .tuition-fees-button {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    color: white;
    margin: 10px 20px;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

body.theme-purple .improve-topik-button:hover:not(:disabled),
body.theme-purple .improve-english-button:hover:not(:disabled),
body.theme-purple .improve-gpa-button:hover:not(:disabled),
body.theme-purple .application-order-button:hover,
body.theme-purple .whitelist-button:hover,
body.theme-purple .tuition-fees-button:hover {
    background: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.4);
}

body.theme-purple .university-card {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-left-color: #7b1fa2;
}

body.theme-purple .university-card:hover {
    background: linear-gradient(135deg, #e1bee7 0%, #d1c4e9 100%);
}

body.theme-purple .university-rank {
    background: #7b1fa2;
    box-shadow: 0 2px 8px rgba(123, 31, 162, 0.3);
}

body.theme-purple .university-english-name {
    color: #9c27b0;
}





/* 主题切换按钮样式 */
.theme-toggle {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-btn:hover {
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-btn.active {
    transform: scale(1.1);
    border-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.theme-btn.theme-red {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.theme-btn.theme-orange {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
}

.theme-btn.theme-yellow {
    background: linear-gradient(135deg, #ffeb3b 0%, #fdd835 100%);
}

.theme-btn.theme-green {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
}

.theme-btn.theme-blue {
    background: linear-gradient(135deg, #87CEFA 0%, #4682B4 100%);
}

.theme-btn.theme-purple {
    background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
}

/* 学费页面样式 */
.tuition-section {
    margin-top: 30px;
}

.tuition-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: white;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tuition-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-left: 5px solid #87CEFA;
}

.tuition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.tuition-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.tuition-university-info {
    flex: 1;
}

.tuition-university-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.tuition-university-english-name {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 10px;
}

.tuition-meta-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

.university-rank {
    background: linear-gradient(135deg, #87CEFA 0%, #4682B4 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(70, 130, 180, 0.3);
}

.university-location {
    color: #34495e;
    font-size: 0.9rem;
}

.match-score {
    background: linear-gradient(135deg, #90ee90 0%, #98fb98 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(144, 238, 144, 0.3);
}

.tuition-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.tuition-category {
    background: rgba(52, 73, 94, 0.05);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(52, 73, 94, 0.1);
    transition: all 0.3s ease;
}

.tuition-category:hover {
    background: rgba(52, 73, 94, 0.1);
    transform: scale(1.02);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.category-header h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.tuition-amount {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.3);
}

.tuition-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tuition-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(52, 73, 94, 0.2);
    flex-wrap: wrap;
    gap: 10px;
}

.tuition-note {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-style: italic;
    flex: 1;
}

.view-details-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* 韩语提升按钮样式 */




/* 提升英语分数按钮样式 */




/* 提升GPA分数按钮样式 */




/* 学费按钮样式 */


/* 主题样式 - 学费相关元素 */
body.theme-red .tuition-card {
    background: rgba(255, 245, 245, 0.95);
    border-left-color: #ff6b6b;
}

body.theme-red .tuition-amount {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
}

body.theme-red .view-details-btn {
    background: linear-gradient(135deg, #ff7675 0%, #fd79a8 100%);
    box-shadow: 0 3px 10px rgba(255, 118, 117, 0.3);
}

body.theme-orange .tuition-card {
    background: rgba(255, 248, 240, 0.95);
    border-left-color: #ffa726;
}

body.theme-orange .tuition-amount {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    box-shadow: 0 2px 6px rgba(255, 167, 38, 0.3);
}

body.theme-orange .view-details-btn {
    background: linear-gradient(135deg, #fb8c00 0%, #f39c12 100%);
    box-shadow: 0 3px 10px rgba(251, 140, 0, 0.3);
}

body.theme-yellow .tuition-card {
    background: rgba(255, 255, 240, 0.95);
    border-left-color: #ffeb3b;
}

body.theme-yellow .tuition-amount {
    background: linear-gradient(135deg, #ffeb3b 0%, #fdd835 100%);
    box-shadow: 0 2px 6px rgba(255, 235, 59, 0.3);
    color: #2c3e50;
}

body.theme-yellow .view-details-btn {
    background: linear-gradient(135deg, #fdd835 0%, #f39c12 100%);
    box-shadow: 0 3px 10px rgba(253, 216, 53, 0.3);
}

body.theme-green .tuition-card {
    background: rgba(248, 255, 248, 0.95);
    border-left-color: #66bb6a;
}

body.theme-green .tuition-amount {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
    box-shadow: 0 2px 6px rgba(102, 187, 106, 0.3);
}

body.theme-green .view-details-btn {
    background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%);
    box-shadow: 0 3px 10px rgba(129, 199, 132, 0.3);
}

body.theme-purple .tuition-card {
    background: rgba(248, 240, 255, 0.95);
    border-left-color: #ab47bc;
}

body.theme-purple .tuition-amount {
    background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
    box-shadow: 0 2px 6px rgba(171, 71, 188, 0.3);
}

body.theme-purple .view-details-btn {
    background: linear-gradient(135deg, #ba68c8 0%, #ab47bc 100%);
    box-shadow: 0 3px 10px rgba(186, 104, 200, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tuition-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tuition-meta-info {
        align-items: flex-start;
        width: 100%;
    }
    
    .tuition-categories {
        grid-template-columns: 1fr;
    }
    
    .tuition-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .view-details-btn {
        width: 100%;
        text-align: center;
    }
}

/* 双币种学费显示样式 */
.tuition-prices {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.tuition-amount-krw {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.3);
    display: inline-block;
}

.tuition-amount-cny {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(243, 156, 18, 0.3);
    display: inline-block;
}

/* 主题样式 - 双币种显示 */
body.theme-red .tuition-amount-krw {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
}

body.theme-red .tuition-amount-cny {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
    box-shadow: 0 2px 4px rgba(253, 121, 168, 0.3);
}

body.theme-orange .tuition-amount-krw {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    box-shadow: 0 2px 6px rgba(255, 167, 38, 0.3);
}

body.theme-orange .tuition-amount-cny {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    box-shadow: 0 2px 4px rgba(243, 156, 18, 0.3);
}

body.theme-yellow .tuition-amount-krw {
    background: linear-gradient(135deg, #ffeb3b 0%, #fdd835 100%);
    box-shadow: 0 2px 6px rgba(255, 235, 59, 0.3);
    color: #2c3e50;
}

body.theme-yellow .tuition-amount-cny {
    background: linear-gradient(135deg, #fdd835 0%, #f39c12 100%);
    box-shadow: 0 2px 4px rgba(253, 216, 53, 0.3);
    color: #2c3e50;
}

body.theme-green .tuition-amount-krw {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
    box-shadow: 0 2px 6px rgba(102, 187, 106, 0.3);
}

body.theme-green .tuition-amount-cny {
    background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%);
    box-shadow: 0 2px 4px rgba(129, 199, 132, 0.3);
}

body.theme-purple .tuition-amount-krw {
    background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
    box-shadow: 0 2px 6px rgba(171, 71, 188, 0.3);
}

body.theme-purple .tuition-amount-cny {
    background: linear-gradient(135deg, #ba68c8 0%, #ab47bc 100%);
    box-shadow: 0 2px 4px rgba(186, 104, 200, 0.3);
}

/* 免韩语课程页面样式 */
.no-korean-back-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.3);
}

.no-korean-back-button:hover {
    background: linear-gradient(135deg, #8e24aa 0%, #7b1fa2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.4);
}

/* 免韩语课程页面特定样式 */
.program-section {
    margin-bottom: 40px;
}

.program-title {
    font-size: 1.8rem;
    color: #7b1fa2;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #7b1fa2;
}

.program-count {
    font-size: 0.8em;
    margin-left: 10px;
    color: #7b1fa2;
    font-weight: 400;
}

.majors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.major-tag {
    background: rgba(123, 31, 162, 0.1);
    color: #7b1fa2;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(123, 31, 162, 0.2);
}

.program-majors {
    margin: 15px 0;
}

.program-majors h4 {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #5a7fa8;
}

/* 按排名显示样式 */
.universities-list {
    margin-bottom: 40px;
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.list-title {
    font-size: 1.8rem;
    color: #7b1fa2;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #7b1fa2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-count {
    font-size: 0.8em;
    color: #7b1fa2;
    font-weight: 400;
}

.program-types {
    margin: 15px 0;
}

.program-types h4 {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #5a7fa8;
}

.program-types-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.program-type-tag {
    background: rgba(123, 31, 162, 0.1);
    color: #7b1fa2;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(123, 31, 162, 0.2);
}

/* 学制筛选按钮样式 */
.program-type-filters {
    margin: 20px 0;
    text-align: center;
}

.program-type-filters h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #5a7fa8;
}

.program-type-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.program-type-btn {
    background: rgba(0, 0, 0, 0.2);
    color: #000000;
    border: 3px solid rgba(0, 0, 0, 0.6);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-type-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.program-type-btn.active {
    background: #000000;
    color: white;
    border-color: #000000;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

/* 免韩语课程页面主题支持 */
body.theme-red .program-title,
body.theme-red .list-title {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

body.theme-red .program-count,
body.theme-red .list-count {
    color: #e74c3c;
}

body.theme-red .university-card {
    border-left-color: #e74c3c;
}

body.theme-red .university-rank {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

body.theme-red .university-name {
    color: #e74c3c;
}

body.theme-red .major-tag,
body.theme-red .program-type-tag {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.2);
}

body.theme-red .requirement-value {
    color: #e74c3c;
}

body.theme-red .program-type-btn {
    background: rgba(0, 0, 0, 0.2);
    color: #000000;
    border-color: rgba(0, 0, 0, 0.6);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.theme-red .program-type-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.theme-red .program-type-btn.active {
    background: #000000;
    color: white;
    border-color: #000000;
}

body.theme-orange .program-title,
body.theme-orange .list-title {
    color: #ff7043;
    border-bottom-color: #ff7043;
}

body.theme-orange .program-count,
body.theme-orange .list-count {
    color: #ff7043;
}

body.theme-orange .university-card {
    border-left-color: #ff7043;
}

body.theme-orange .university-rank {
    background: linear-gradient(135deg, #ff7043 0%, #e65100 100%);
}

body.theme-orange .university-name {
    color: #ff7043;
}

body.theme-orange .major-tag,
body.theme-orange .program-type-tag {
    background: rgba(255, 112, 67, 0.1);
    color: #ff7043;
    border-color: rgba(255, 112, 67, 0.2);
}

body.theme-orange .requirement-value {
    color: #ff7043;
}

body.theme-orange .program-type-btn {
    background: rgba(0, 0, 0, 0.2);
    color: #000000;
    border-color: rgba(0, 0, 0, 0.6);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.theme-orange .program-type-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.theme-orange .program-type-btn.active {
    background: #000000;
    color: white;
    border-color: #000000;
}

body.theme-yellow .program-title {
    color: #f39c12;
    border-bottom-color: #f39c12;
}

body.theme-yellow .university-card {
    border-left-color: #f39c12;
}

body.theme-yellow .university-rank {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

body.theme-yellow .university-name {
    color: #f39c12;
}

body.theme-yellow .major-tag {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    border-color: rgba(243, 156, 18, 0.2);
}

body.theme-yellow .requirement-value {
    color: #f39c12;
}

body.theme-yellow .program-type-btn {
    background: rgba(0, 0, 0, 0.2);
    color: #000000;
    border-color: rgba(0, 0, 0, 0.6);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.theme-yellow .program-type-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.theme-yellow .program-type-btn.active {
    background: #000000;
    color: white;
    border-color: #000000;
}

body.theme-green .program-title {
    color: #27ae60;
    border-bottom-color: #27ae60;
}

body.theme-green .university-card {
    border-left-color: #27ae60;
}

body.theme-green .university-rank {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

body.theme-green .university-name {
    color: #27ae60;
}

body.theme-green .major-tag {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border-color: rgba(39, 174, 96, 0.2);
}

body.theme-green .requirement-value {
    color: #27ae60;
}

body.theme-green .program-type-btn {
    background: rgba(39, 174, 96, 0.25);
    color: #27ae60;
    border-color: rgba(0, 0, 0, 0.7);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.theme-green .program-type-btn:hover {
    background: rgba(39, 174, 96, 0.35);
    border-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.theme-green .program-type-btn.active {
    background: #27ae60;
    color: white;
    border-color: #000000;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

body.theme-blue .program-title {
    color: #3498db;
    border-bottom-color: #3498db;
}

body.theme-blue .university-card {
    border-left-color: #3498db;
}

body.theme-blue .university-rank {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

body.theme-blue .university-name {
    color: #3498db;
}

body.theme-blue .major-tag {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.2);
}

body.theme-blue .requirement-value {
    color: #3498db;
}

body.theme-blue .program-type-btn {
    background: rgba(52, 152, 219, 0.25);
    color: #3498db;
    border-color: rgba(0, 0, 0, 0.7);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.theme-blue .program-type-btn:hover {
    background: rgba(52, 152, 219, 0.35);
    border-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.theme-blue .program-type-btn.active {
    background: #3498db;
    color: white;
    border-color: #000000;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

body.theme-purple .program-title {
    color: #9b59b6;
    border-bottom-color: #9b59b6;
}

body.theme-purple .university-card {
    border-left-color: #9b59b6;
}

body.theme-purple .university-rank {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

body.theme-purple .university-name {
    color: #9b59b6;
}

body.theme-purple .major-tag {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
    border-color: rgba(155, 89, 182, 0.2);
}

body.theme-purple .requirement-value {
    color: #9b59b6;
}

body.theme-purple .program-type-btn {
    background: rgba(155, 89, 182, 0.25);
    color: #9b59b6;
    border-color: rgba(0, 0, 0, 0.7);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.theme-purple .program-type-btn:hover {
    background: rgba(155, 89, 182, 0.35);
    border-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.theme-purple .program-type-btn.active {
    background: #9b59b6;
    color: white;
    border-color: #000000;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

/* 响应式设计 - 双币种显示 */
@media (max-width: 768px) {
    .tuition-prices {
        align-items: flex-start;
        width: 100%;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tuition-prices {
        align-items: flex-start;
        width: 100%;
    }
}