@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8fafc;
    transition: background-color 0.3s;
}

.sidebar {
    transition: transform 0.3s ease;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.btn {
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.table-row {
    transition: background-color 0.2s;
}

.table-row:hover {
    background-color: #f1f5f9;
}

.modal {
    animation: fadeIn 0.3s ease-in-out;
}

.slide-in {
    animation: slideIn 0.4s ease-out;
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.active-nav {
    background-color: #eef2ff;
    border-left: 4px solid #6366f1;
    color: #6366f1;
    font-weight: 500;
}

.dashboard-stat:hover {
    transform: scale(1.03);
}

.progress-bar {
    transition: width 0.6s ease;
}

.page {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.page.active {
    display: block;
}

.role-tab {
    transition: all 0.3s ease;
}

.role-tab.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.3);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.5s ease;
}

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

.evaluation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

.hidden {
    display: none;
}

/* 确保动画定义存在 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* 学生控制台特有样式 */
:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #4895ef;
    --success: #10b981;
    --warning: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
}

.progress-step {
    position: relative;
    padding-left: 2rem;
}

.progress-step:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.progress-step.completed:before {
    content: "✓";
    background-color: var(--success);
    color: white;
}

.progress-step.active:before {
    content: attr(data-step);
    background-color: var(--primary);
    color: white;
}

.progress-step:after {
    content: "";
    position: absolute;
    left: 12px;
    top: 24px;
    height: calc(100% - 24px);
    width: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.progress-step:last-child:after {
    display: none;
}

.form-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.form-section-header {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    color: var(--dark);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.report-card {
    /* background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%); */
    /* color: white; */
    border-radius: 12px;
}

.report-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2rem;
}

.report-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.usage-counter {
    background: linear-gradient(135deg, #f8961e 0%, #f3722c 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.usage-counter i {
    margin-right: 5px;
    font-size: 0.9rem;
}

.report-usage-badge {
    background-color: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.report-usage-badge i {
    margin-right: 5px;
}

.report-usage-card {
    background-color: #fff8e1;
    border-left: 4px solid var(--warning);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 1.5rem;
}

.generate-report-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.report-status-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.status-icon.completed {
    background-color: #e8f5e9;
    color: #4caf50;
}

.status-icon.pending {
    background-color: #fff8e1;
    color: #ff9800;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 100;
        height: 100vh;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.5);
        z-index: 50;
    }
    
    .overlay.active {
        display: block;
    }
}