/* Рейтинг классов - Специальные стили */

.ladder-page {
    background: #e8ecef;
    min-height: 100vh;
    padding: 2rem 0;
}

.ladder-header {
    text-align: center;
    color: #212529;
    margin-bottom: 3rem;
    padding: 0 20px;
}

.ladder-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.ladder-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #495057;
    font-weight: 500;
}

.ladder-date {
    font-size: 0.95rem;
    color: #6c757d;
}

.ladder-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.ladder-wrapper {
    background: #ffffff;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
}

.ladder-step {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    padding: 1.8rem;
    background: #ffffff;
    border-radius: 6px;
    border: 2px solid #e9ecef;
    border-left-width: 5px;
    transition: all 0.2s ease;
    position: relative;
}

.ladder-step:hover {
    border-color: #adb5bd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Топ-3 получают особое оформление */
.step-top-1 {
    background: #fff9e6;
    border-left-color: #ffc107;
    border-color: #ffc107;
}

.step-top-2 {
    background: #f8f9fa;
    border-left-color: #6c757d;
    border-color: #6c757d;
}

.step-top-3 {
    background: #fff4e6;
    border-left-color: #fd7e14;
    border-color: #fd7e14;
}

.step-regular {
    border-left-color: #dee2e6;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ced4da;
    min-width: 70px;
    text-align: center;
    margin-right: 2rem;
    font-family: 'Georgia', serif;
}

.step-top-1 .step-number {
    color: #ffc107;
}

.step-top-2 .step-number {
    color: #6c757d;
}

.step-top-3 .step-number {
    color: #fd7e14;
}

.step-content {
    flex: 1;
}

.class-info {
    margin-bottom: 1rem;
}

.class-name {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
}

.class-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-value {
    font-weight: 700;
    color: #212529;
    font-size: 1.1rem;
}

.step-progress {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.8rem;
}

.progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease-out;
}

.ladder-actions {
    text-align: center;
    margin-top: 2rem;
}

.ladder-link {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.ladder-link:hover {
    color: #6c757d;
    text-decoration: underline;
}

.stat-gap {
    color: #6c757d;
}

.stat-gap .stat-value {
    color: #495057;
    font-weight: 600;
}

.no-data {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
    font-size: 1.1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ladder-header h1 {
        font-size: 2rem;
    }
    
    .ladder-subtitle {
        font-size: 1.1rem;
    }
    
    .ladder-wrapper {
        padding: 1.5rem;
    }
    
    .ladder-step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
        font-size: 2rem;
    }
    
    .class-name {
        font-size: 1.4rem;
        justify-content: center;
    }
    
    .class-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .step-progress {
        width: 100%;
    }
}
