/* =========================================
   STUDENT ACHIEVEMENT CARD
========================================= */

.students-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.student-achievement-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 28px 22px 22px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: all 0.35s ease;
}

.student-achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.13);
}

.student-number {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f59e0b;
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.student-image {
    width: 115px;
    height: 115px;
    margin: 8px auto 18px;
    padding: 5px;
    background: #ffffff;
    border: 3px solid #f59e0b;
    border-radius: 50%;
    overflow: hidden;
}

.student-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.student-info h3 {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.student-info p {
    margin: 0 0 20px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.student-score {
    padding: 14px 15px;
    margin-bottom: 18px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.student-score span {
    display: block;
    margin-bottom: 5px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.student-score strong {
    display: block;
    color: #16a34a;
    font-size: 25px;
    font-weight: 800;
}

.achievement-btn {
    width: 100%;
    padding: 13px 18px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.achievement-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.achievement-btn i {
    margin-left: 8px;
    transition: margin 0.3s ease;
}

.achievement-btn:hover i {
    margin-left: 12px;
}

/* Tablet */
@media (max-width: 991px) {
    .students-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .students-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .student-achievement-card {
        padding: 25px 18px 18px;
    }

    .student-image {
        width: 100px;
        height: 100px;
    }

    .student-info h3 {
        font-size: 19px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .student-achievement-card {
        grid-template-columns: 36px 52px 1fr;
    }

    .student-image {
        width: 52px;
        height: 52px;
    }

    .student-info h3 {
        font-size: 14px;
    }

    .student-info p {
        font-size: 11px;
    }

}