/* ==================== СТРАНИЦА ӨЗІН-ӨЗІ БАҒАЛАУ ==================== */
.assessment-page {
    min-height: 100vh;
}

.assessment-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.assessment-container {
    max-width: 1100px;
    margin: 0 auto;
}

.assessment-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.assessment-description {
    text-align: center;
    color: #7d5a50;
    font-size: 1.3rem;
    margin-bottom: 50px;
    font-weight: 500;
}

/* ==================== СПИСОК ЧЕРЕДУЮЩИХСЯ ПОЛОС ==================== */
.assessment-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

/* Соединительная линия по центру */
.assessment-list::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #fa709a 0%, #fee140 50%, #fa709a 100%);
    transform: translateX(-50%);
    opacity: 0.3;
    z-index: 0;
}

/* ==================== ЭЛЕМЕНТ САМООЦЕНКИ ==================== */
.assessment-item {
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    animation: fadeInScale 0.6s ease forwards;
    opacity: 0;
}

/* Чередующееся расположение */
.assessment-left {
    margin-right: 80px;
}

.assessment-right {
    margin-left: 80px;
}

.assessment-item:nth-child(1) { animation-delay: 0.1s; }
.assessment-item:nth-child(2) { animation-delay: 0.2s; }
.assessment-item:nth-child(3) { animation-delay: 0.3s; }
.assessment-item:nth-child(4) { animation-delay: 0.4s; }
.assessment-item:nth-child(5) { animation-delay: 0.5s; }
.assessment-item:nth-child(n+6) { animation-delay: 0.6s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Цветная полоса сбоку */
.assessment-stripe {
    position: absolute;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #fa709a 0%, #fee140 100%);
    z-index: 2;
    transition: width 0.3s ease;
}

.assessment-left .assessment-stripe {
    left: 0;
}

.assessment-right .assessment-stripe {
    right: 0;
}

.assessment-item:hover .assessment-stripe {
    width: 12px;
}

/* Контент */
.assessment-content-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 30px;
    position: relative;
}

/* Для правого выравнивания меняем порядок */
.assessment-right .assessment-content-wrapper {
    flex-direction: row-reverse;
}

/* Обертка иконки */
.assessment-icon-wrapper {
    flex-shrink: 0;
}

.assessment-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(250, 112, 154, 0.3);
    position: relative;
    transition: all 0.4s ease;
}

.assessment-item:hover .assessment-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(250, 112, 154, 0.5);
}

.assessment-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #fee140 0%, #fa709a 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.assessment-item:hover .assessment-icon::before {
    opacity: 1;
}

.assessment-icon i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

/* Информация */
.assessment-info {
    flex: 1;
}

.assessment-name {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.assessment-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #95a5a6;
    font-size: 0.9rem;
}

.meta-item i {
    color: #fa709a;
}

/* Кнопки действий */
.assessment-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.assessment-btn {
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.assessment-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.assessment-btn:hover::after {
    width: 300px;
    height: 300px;
}

.assessment-btn i,
.assessment-btn span {
    position: relative;
    z-index: 1;
}

.assessment-btn-view {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(250, 112, 154, 0.3);
}

.assessment-btn-view:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(250, 112, 154, 0.5);
}

.assessment-btn-download {
    background: white;
    color: #fa709a;
    border: 2px solid #fa709a;
}

.assessment-btn-download:hover {
    background: #fa709a;
    color: white;
    border-color: #fa709a;
    transform: translateY(-3px);
}

/* ==================== НЕТ ФАЙЛОВ ==================== */
.assessment-list .no-files {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    background: white;
    border-radius: 25px;
}

.assessment-list .no-files i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #ddd;
}

.assessment-list .no-files p {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.assessment-list .no-files-hint {
    font-size: 1rem;
    color: #bbb;
}

.assessment-list .no-files code {
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #fa709a;
}

/* ==================== АДАПТИВНОСТЬ ==================== */
@media (max-width: 1024px) {
    .assessment-title {
        font-size: 3rem;
    }
    
    .assessment-list::before {
        display: none;
    }
    
    .assessment-icon {
        width: 75px;
        height: 75px;
    }
    
    .assessment-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .assessment-section {
        padding: 40px 15px;
    }
    
    .assessment-title {
        font-size: 2.5rem;
    }
    
    .assessment-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .assessment-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .assessment-content-wrapper,
    .assessment-right .assessment-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .assessment-info {
        text-align: center;
    }
    
    .assessment-meta {
        justify-content: center;
    }
    
    .assessment-actions {
        width: 100%;
    }
    
    .assessment-btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .assessment-title {
        font-size: 2rem;
    }
    
    .assessment-description {
        font-size: 1rem;
    }
    
    .assessment-icon {
        width: 60px;
        height: 60px;
    }
    
    .assessment-icon i {
        font-size: 1.7rem;
    }
    
    .assessment-name {
        font-size: 1.2rem;
    }
    
    .assessment-actions {
        flex-direction: column;
    }
}

