/* 通用样式 */
body {
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 20px;
}

.card-header {
    background-color: #f8f9fa;
    font-weight: bold;
}

.table {
    margin-bottom: 0;
}

.btn-group-sm > .btn, .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.alert {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
}

.score-card {
    border-left: 5px solid #007bff;
}

.qualified {
    background-color: #d4edda;
}

.school-item {
    transition: all 0.3s;
}

.school-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.badge-score {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
}

.result-title {
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* 表单样式 */
.form-select, .form-control {
    border-radius: 0.375rem;
}

.form-select:focus, .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 专业年份卡片样式 */
.major-form .card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.major-form .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.major-form .card-header {
    font-weight: bold;
    border-bottom: none;
    padding: 0.75rem 1.25rem;
}

.major-form .card-body.bg-light {
    background-color: rgba(248, 249, 250, 0.7) !important;
}

/* 年份卡片颜色主题 */
.card.border-primary {
    border-width: 2px !important;
}

.card.border-success {
    border-width: 2px !important;
}

.card.border-danger {
    border-width: 2px !important;
}

/* 年份标题徽章 */
.year-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .major-form .row .col-md-4 {
        margin-bottom: 15px;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
} 