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

.mentor-review-container {
    max-width: 950px;
    margin: 0 auto;
}

.mentor-review-header {
    margin-bottom: 30px;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: #287c4b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.back-link:hover {
    color: #1e633b;
}

.mentor-review-header > span {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #287c4b;
}

.mentor-review-header h1 {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.05;
    color: #17251c;
}

.mentor-review-header p {
    margin: 0;
    color: #707a73;
    font-size: 14px;
    line-height: 1.6;
}


/* Main card */

.mentor-review-card {
    background: #ffffff;
    border: 1px solid #e1e7e3;
}


/* Profile */

.mentor-review-profile {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid #edf0ed;
}

.mentor-review-image {
    width: 220px;
    height: 250px;
    background: #e9eee9;
    overflow: hidden;
}

.mentor-review-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mentor-no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #929a95;
    font-size: 12px;
}

.mentor-review-basic {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-status {
    display: inline-block;
    width: fit-content;
    margin-bottom: 10px;
    padding: 5px 9px;
    background: #fff6df;
    border-radius: 3px;
    color: #9a6a00;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.mentor-review-basic h2 {
    margin: 0 0 7px;
    color: #17251c;
    font-size: 30px;
    line-height: 1.2;
}

.mentor-review-basic p {
    margin: 0 0 5px;
    color: #287c4b;
    font-size: 15px;
    font-weight: 600;
}

.mentor-review-basic strong {
    color: #737c76;
    font-size: 13px;
    font-weight: 500;
}


/* Details */

.mentor-review-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 5px 30px;
}

.detail-item {
    padding: 20px 15px;
    border-bottom: 1px solid #edf0ed;
}

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

.detail-item strong {
    color: #303a34;
    font-size: 14px;
    font-weight: 600;
}

.detail-full {
    grid-column: 1 / -1;
}

.mentor-bio {
    color: #4f5953;
    font-size: 14px;
    line-height: 1.75;
}


/* Submitted by */

.submitted-section {
    margin: 25px 30px;
    padding: 18px 20px;
    background: #f7f9f7;
    border-left: 3px solid #287c4b;
}

.submitted-section > span {
    display: block;
    margin-bottom: 6px;
    color: #8a938d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.submitted-section strong {
    display: block;
    color: #303a34;
    font-size: 14px;
}

.submitted-section small {
    display: block;
    margin-top: 3px;
    color: #737c76;
    font-size: 12px;
}


/* Actions */

.mentor-review-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 30px;
    border-top: 1px solid #edf0ed;
}

.mentor-review-actions form {
    margin: 0;
}

.approve-button,
.reject-button {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s ease;
}

.approve-button {
    background: #287c4b;
    color: #ffffff;
}

.approve-button:hover {
    background: #1e633b;
}

.reject-box {
    padding: 20px;
    border: 1px solid #eadfdf;
    background: #fffafa;
}

.reject-box h3 {
    margin: 0 0 5px;
    color: #6e2c2c;
    font-size: 16px;
}

.reject-box p {
    margin: 0 0 14px;
    color: #7d6c6c;
    font-size: 12px;
    line-height: 1.5;
}

.reject-box textarea {
    width: 100%;
    min-height: 105px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd5d5;
    border-radius: 3px;
    background: #ffffff;
    color: #333;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
}

.reject-box textarea:focus {
    outline: none;
    border-color: #b96b6b;
}

.reject-button {
    background: #a94442;
    color: #ffffff;
}

.reject-button:hover {
    background: #873735;
}


/* Not found */

.mentor-not-found {
    padding: 60px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e1e7e3;
}

.mentor-not-found h2 {
    margin: 0 0 8px;
    color: #17251c;
    font-size: 24px;
}

.mentor-not-found p {
    margin: 0 0 20px;
    color: #737c76;
    font-size: 13px;
}

.mentor-not-found a {
    color: #287c4b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}


/* Responsive */

@media (max-width: 700px) {

    .mentor-review-page {
        padding: 35px 15px 55px;
    }

    .mentor-review-header h1 {
        font-size: 36px;
    }

    .mentor-review-profile {
        grid-template-columns: 130px 1fr;
    }

    .mentor-review-image {
        width: 130px;
        height: 170px;
    }

    .mentor-review-basic {
        padding: 20px;
    }

    .mentor-review-basic h2 {
        font-size: 22px;
    }

    .mentor-review-details {
        grid-template-columns: 1fr;
        padding: 5px 20px;
    }

    .detail-full {
        grid-column: auto;
    }

    .mentor-review-actions {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .submitted-section {
        margin: 20px;
    }
}

@media (max-width: 420px) {

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

    .mentor-review-image {
        width: 100%;
        height: 260px;
    }

    .mentor-review-basic {
        padding: 20px;
    }
}


.active-mentor-box {
    padding: 20px;
    background: #eef8f1;
    border: 1px solid #d6eadb;
}

.active-mentor-box span,
.already-reviewed-box span {
    display: block;
    margin-bottom: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.active-mentor-box span {
    color: #287c4b;
}

.active-mentor-box h3 {
    margin: 0;
    color: #285f3c;
    font-size: 14px;
}


.already-reviewed-box {
    grid-column: 1 / -1;
    padding: 20px;
    background: #f9e8e8;
    border: 1px solid #ead2d2;
}

.already-reviewed-box span {
    color: #a94442;
}

.already-reviewed-box h3 {
    margin: 0 0 8px;
    color: #6e2c2c;
    font-size: 15px;
}

.already-reviewed-box p {
    margin: 0;
    color: #7d6c6c;
    font-size: 12px;
    line-height: 1.6;
}.active-mentor-box {
    padding: 20px;
    background: #eef8f1;
    border: 1px solid #d6eadb;
}

.active-mentor-box span,
.already-reviewed-box span {
    display: block;
    margin-bottom: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.active-mentor-box span {
    color: #287c4b;
}

.active-mentor-box h3 {
    margin: 0;
    color: #285f3c;
    font-size: 14px;
}


.already-reviewed-box {
    grid-column: 1 / -1;
    padding: 20px;
    background: #f9e8e8;
    border: 1px solid #ead2d2;
}

.already-reviewed-box span {
    color: #a94442;
}

.already-reviewed-box h3 {
    margin: 0 0 8px;
    color: #6e2c2c;
    font-size: 15px;
}

.already-reviewed-box p {
    margin: 0;
    color: #7d6c6c;
    font-size: 12px;
    line-height: 1.6;
}