/* =====================================================
   APPROVER — REVIEW MENTORS
===================================================== */

.approver-mentors-page {
    min-height: 100vh;
    background: #f7f9f7;
    padding: 45px 20px 70px;
}

.approver-mentors-container {
    max-width: 1050px;
    margin: 0 auto;
}


/* =====================================================
   PAGE HEADER
===================================================== */

.approver-page-header {
    margin-bottom: 30px;
}

.approver-page-header > span {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;

    color: #287c4b;
}

.approver-page-header h1 {
    margin: 0 0 10px;

    font-size: 42px;
    line-height: 1.05;

    color: #17251c;
}

.approver-page-header p {
    margin: 0;

    font-size: 14px;
    line-height: 1.6;

    color: #707a73;
}


/* =====================================================
   MENTOR LIST
===================================================== */

.approver-mentor-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* =====================================================
   MENTOR CARD
===================================================== */

.approver-mentor-card {
    display: grid;

    grid-template-columns: 115px 1fr auto;

    min-height: 135px;

    background: #ffffff;

    border: 1px solid #e1e7e3;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

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

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}


/* =====================================================
   PROFILE IMAGE
===================================================== */

.approver-mentor-image {
    width: 115px;
    height: 135px;

    background: #e9eee9;

    overflow: hidden;
}

.approver-mentor-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.approver-mentor-card:hover .approver-mentor-image img {
    transform: scale(1.04);
}


/* =====================================================
   MENTOR INFORMATION
===================================================== */

.approver-mentor-info {
    padding: 18px 22px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mentor-pending {
    display: inline-block;

    width: fit-content;

    margin-bottom: 5px;

    padding: 3px 7px;

    background: #fff6df;

    border-radius: 3px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;

    color: #9a6a00;
}

.approver-mentor-info h2 {
    margin: 0 0 4px;

    font-size: 19px;
    line-height: 1.25;

    color: #17251c;
}

.approver-mentor-info p {
    margin: 0 0 2px;

    font-size: 13px;
    font-weight: 600;

    color: #287c4b;
}

.approver-mentor-info > strong {
    display: block;

    font-size: 12px;
    font-weight: 500;

    color: #737c76;
}


/* =====================================================
   SUBMITTED BY
===================================================== */

.submitted-by {
    margin-top: 8px;

    font-size: 11px;

    color: #8a938d;
}

.submitted-by strong {
    color: #4e5851;
}


/* =====================================================
   DATE
===================================================== */

.approver-mentor-info small {
    margin-top: 5px;

    font-size: 10px;

    color: #a0a8a3;
}


/* =====================================================
   REVIEW BUTTON
===================================================== */

.approver-mentor-action {
    display: flex;
    align-items: center;

    padding: 20px 22px;

    border-left: 1px solid #edf0ed;
}

.approver-mentor-action a {
    display: inline-flex;
    align-items: center;

    white-space: nowrap;

    font-size: 12px;
    font-weight: 700;

    color: #287c4b;

    text-decoration: none;

    transition: transform 0.2s ease;
}

.approver-mentor-action a:hover {
    color: #1e633b;

    transform: translateX(3px);
}


/* =====================================================
   EMPTY STATE
===================================================== */

.no-pending-mentors {
    padding: 65px 25px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e1e7e3;
}

.no-pending-mentors h2 {
    margin: 0 0 8px;

    font-size: 22px;

    color: #17251c;
}

.no-pending-mentors p {
    margin: 0;

    font-size: 13px;

    color: #737c76;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 800px) {

    .approver-mentor-card {
        grid-template-columns: 105px 1fr auto;
    }

    .approver-mentor-image {
        width: 105px;
        height: 130px;
    }

    .approver-mentor-info {
        padding: 16px 18px;
    }

    .approver-mentor-action {
        padding: 15px;
    }
}


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

@media (max-width: 600px) {

    .approver-mentors-page {
        padding: 35px 15px 55px;
    }

    .approver-page-header h1 {
        font-size: 36px;
    }

    .approver-page-header p {
        font-size: 13px;
    }


    .approver-mentor-card {
        grid-template-columns: 90px 1fr;

        min-height: 120px;
    }


    .approver-mentor-image {
        width: 90px;
        height: 120px;
    }


    .approver-mentor-info {
        padding: 14px;
    }


    .approver-mentor-info h2 {
        font-size: 16px;
    }

    .approver-mentor-info p {
        font-size: 12px;
    }

    .approver-mentor-info > strong {
        font-size: 11px;
    }


    .approver-mentor-action {
        grid-column: 1 / -1;

        display: flex;
        justify-content: flex-end;

        padding: 10px 14px;

        border-left: none;
        border-top: 1px solid #edf0ed;
    }


    .approver-mentor-action a {
        font-size: 12px;
    }

}


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

@media (max-width: 380px) {

    .approver-mentor-card {
        grid-template-columns: 75px 1fr;
    }

    .approver-mentor-image {
        width: 75px;
        height: 110px;
    }

    .approver-mentor-info {
        padding: 12px;
    }

    .approver-mentor-info h2 {
        font-size: 15px;
    }

}


/* =========================================================
   Mentor Statistics
   ========================================================= */

.mentor-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.mentor-stat {
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e1e7e3;
}

.mentor-stat span {
    display: block;
    margin-bottom: 5px;
    color: #8a938d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.mentor-stat strong {
    color: #17251c;
    font-size: 27px;
}

.mentor-stat.pending strong {
    color: #9a6a00;
}

.mentor-stat.approved strong {
    color: #287c4b;
}

.mentor-stat.rejected strong {
    color: #a94442;
}


/* =========================================================
   Status
   ========================================================= */

.mentor-status {
    display: inline-block;
    width: fit-content;
    margin-bottom: 5px;
    padding: 3px 7px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.mentor-status-pending {
    background: #fff6df;
    color: #9a6a00;
}

.mentor-status-approved {
    background: #e7f5eb;
    color: #287c4b;
}

.mentor-status-rejected {
    background: #f9e8e8;
    color: #a94442;
}


/* =========================================================
   Placeholder
   ========================================================= */

.mentor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #e9eee9;

    color: #287c4b;
    font-size: 30px;
    font-weight: 700;
}


/* =========================================================
   Rejection Reason
   ========================================================= */

.rejection-reason {
    margin-top: 10px;
    padding: 8px 10px;

    background: #fff8f8;
    border-left: 2px solid #a94442;

    color: #7d6c6c;
    font-size: 11px;
    line-height: 1.5;
}

.rejection-reason span {
    display: block;
    margin-bottom: 2px;

    color: #a94442;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 700px) {

    .mentor-stats {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 400px) {

    .mentor-stats {
        grid-template-columns: 1fr 1fr;
    }

}