/* ============================================================
   108 MENTORSHIP PROGRAM — page styles
   ============================================================ */

.mp108-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    font-family: inherit;
}

.mp108-row {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.mp108-col-heading {
    flex: 0 0 260px;
    min-width: 220px;
}

.mp108-col-body {
    flex: 1 1 0%;
    min-width: 280px;
}

.mp108-section-heading {
    font-size: 24px;
    font-weight: 700;
    color: #143b66;
    margin: 0;
    line-height: 1.3;
}

@media (min-width: 769px) {
    .mp108-col-heading {
        position: sticky;
        top: 40px;
    }
}

.mp108-body-intro {
    font-size: 15px;
    line-height: 1.6;
    color: #3f4a57;
    margin-bottom: 20px;
}

.mp108-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.mp108-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #143b66;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .03em;
    text-decoration: none !important;
    border-radius: 4px;
    transition: background .15s;
}

.page-id-4370 .entry-title{
    display: none;
}
.mp108-btn:hover {
    background: #0f2d50;
}

/* ---- Steps (plain scrolling sections, no collapse) ---- */
.mp108-step {
    padding: 24px 0;
}

.mp108-step-heading {
    font-size: 18px;
    font-weight: 700;
    color: #143b66;
    margin: 0 0 14px;
}

.mp108-step p,
.mp108-step li {
    font-size: 14px;
    line-height: 1.6;
    color: #3f4a57;
}

.mp108-step a {
    color: #1499a6;
    text-decoration: underline;
}

/* ---- Dedicated Mentee/Mentor application pages ---- */
.mp108-form-page-wrapper {
    min-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.mp108-form-page-heading {
    font-size: 24px;
    font-weight: 700;
    color: #143b66;
    margin: 0 0 24px;
}

.mp108-intro-note {
    font-size: 14px;
    line-height: 1.6;
    color: #3f4a57;
    margin-bottom: 28px;
}

/* ---- Form sections ---- */
.mp108-form-section {
    margin-bottom: 34px;
}

.mp108-form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #143b66;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1499a6;
}

.mp108-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mp108-form-col {
    flex: 1 1 30%;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mp108-form-col.mp108-full {
    flex: 1 1 100%;
}

.mp108-form-col.mp108-half {
    flex: 1 1 45%;
}

.mp108-form-col label {
    font-size: 13px;
    font-weight: 700;
    color: #143b66;
}

.mp108-input {
    width: 100%;
    height: 40px;
    padding: 0 13px;
    border: 1px solid #cdd6de;
    border-radius: 6px;
    font-size: 14px;
    color: #3f4a57;
    background: #fff;
    font-family: inherit;
    transition: border-color .12s;
}

textarea.mp108-input {
    height: auto;
    min-height: 90px;
    padding: 10px 13px;
    resize: vertical;
}

.mp108-input:focus {
    outline: none;
    border-color: #143b66;
}

.mp108-input[readonly] {
    background: #f5f7fa;
    color: #82909c;
    cursor: not-allowed;
}

.mp108-specify {
    margin-top: 8px;
}

/* ---- Radio row (Yes/No) ---- */
.mp108-radio-row {
    /* display: flex; */
    gap: 16px;
}
.mp108-option-card input{
    margin-top: 4px !important;
}
.mp108-radio-box {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #3f4a57;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid #e4e8ec;
    border-radius: 6px;
    background: #f7f9fb;
}

.mp108-radio-box input {
    accent-color: #143b66;
    cursor: pointer;
}

.mp108-radio-box:has(input:checked) {
    background: #e8f0fa;
    border-color: #143b66;
}

/* ---- Learning style option cards ---- */
.mp108-option-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e4e8ec;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    font-weight: 400;
    transition: background .1s, border-color .1s;
}

.mp108-option-card input {
    margin-top: 3px;
    accent-color: #143b66;
    cursor: pointer;
    flex-shrink: 0;
}

.mp108-option-card span {
    font-size: 13px;
    color: #3f4a57;
    line-height: 1.5;
}

.mp108-option-card:has(input:checked) {
    background: #e8f0fa;
    border-color: #143b66;
}

/* ---- Checkbox grid (top 3 characteristics) ---- */
.mp108-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
}

/* ---- Single-column checkbox/radio list (mentor communication prefs, time commitment, etc.) ---- */
.mp108-check-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.mp108-check-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #e4e8ec;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    color: #3f4a57;
    cursor: pointer;
    transition: background .1s, border-color .1s;
}

.mp108-check-card input {
    accent-color: #143b66;
    cursor: pointer;
    flex-shrink: 0;
}

.mp108-check-card:has(input:checked) {
    background: #e8f0fa;
    border-color: #143b66;
}

.mp108-check-card:has(input:disabled:not(:checked)) {
    opacity: .45;
}

/* ---- "Other, please specify" nested inside a radio option (e.g. how many mentees) ---- */
.mp108-check-card .mp108-specify {
    margin-top: 8px;
    margin-left: 26px;
    width: 100%;
}

/* ---- Public Information: profile image upload ---- */
.mp108-file-input {
    padding: 8px;
    border: 1px dashed #cdd6de;
    border-radius: 6px;
    background: #f7f9fb;
    font-size: 13px;
    cursor: pointer;
}

.mp108-image-preview {
    margin-top: 10px;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e4e8ec;
    display: none;
}

.mp108-image-preview.show {
    display: block;
}

/* ---- Agreement + submit ---- */
.mp108-agree-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #e4e8ec;
    border-radius: 8px;
    background: #f7f9fb;
    cursor: pointer;
    margin-bottom: 16px;
}

.mp108-agree-card input {
    margin-top: 3px;
    accent-color: #143b66;
    cursor: pointer;
    flex-shrink: 0;
}

.mp108-agree-card span {
    font-size: 13px;
    color: #3f4a57;
    line-height: 1.5;
}

.mp108-agree-card a {
    color: #1499a6;
    text-decoration: underline;
}

.mp108-submit-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.mp108-submit-btn.loading {
    opacity: .6;
    pointer-events: none;
}

.mp108-form-msg {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.mp108-msg-success {
    background: #e9f8f1;
    border: 1px solid #7fd6b3;
    color: #0f5e3e;
}

.mp108-msg-error {
    background: #fdecea;
    border: 1px solid #f0b0a8;
    color: #c0392b;
}

/* ---- Error states ---- */
.mp108-has-error .mp108-input,
.mp108-has-error.mp108-input {
    border-color: #c0392b;
}

.mp108-error-text {
    font-size: 12px;
    color: #c0392b;
    min-height: 16px;
}

.mp108-edit-profile-note {
    font-size: 13px;
    color: #5a6776;
    margin-top: 14px;
}

.mp108-btn-sm {
    padding: 6px 16px;
    font-size: 12px;
    margin-left: 8px;
}

.mp108-notice {
    background: #fff8e1;
    border: 1px solid #f0d060;
    color: #7a5800;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
}

.mp108-login-notice {
    max-width: 760px;
    margin: 40px auto;
    padding: 16px 20px;
    background: #e8f0fa;
    border: 1px solid #b8ccec;
    color: #143b66;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
}

/* ---- Modal ---- */
.mp108-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,59,102,.45);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.mp108-modal.show {
    display: flex;
}

.mp108-modal-inner {
    background: #fff;
    padding: 32px 28px 28px;
    border-radius: 10px;
    max-width: 420px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(20,59,102,.2);
}

.mp108-modal-inner p {
    font-size: 14px;
    color: #3f4a57;
    line-height: 1.6;
    margin: 0;
}

.mp108-modal-close {
    position: absolute;
    top: 2px;
    right: 5px;
    width: 32px !important;
    height: 32px;
    background-color: #fff !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    line-height: 1;
    cursor: pointer;
    color: #82909c !important;
}


.mp108-modal-close:hover {
    background: #f3f7fb;
    color: #143b66;
}

/* ---- Directory ---- */
.mp108-directory-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px;
}

.mp108-directory-search {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.mp108-directory-search input {
    flex: 1;
    min-width: 240px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #cdd6de;
    border-radius: 6px;
    font-size: 14px;
}

.mp108-directory-search button {
    padding: 10px 24px;
    background: #143b66;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .mp108-row {
        flex-direction: column;
        gap: 16px;
    }
    .mp108-col-heading,
    .mp108-col-body {
        flex: 1 1 100%;
    }
    .mp108-form-page-wrapper {
        min-width: 0;
    }
}

/* ---- Mentor Directory: search form validation notice ---- */
.mp108-search-validation-error {
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.mp108-muted {
    color: #82909c;
    font-size: 14px;
}

/* ---- Mentor Directory: results table ---- */
.mp108-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
}

.mp108-mentor-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.mp108-mentor-table thead th {
    background: #143b66;
    color: #fff;
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.mp108-mentor-table tbody tr:nth-child(odd) {
    background: #f7f9fb;
}

.mp108-mentor-table td {
    padding: 10px 12px;
    vertical-align: middle;
    color: #3f4a57;
    border-bottom: 1px solid #eceff2;
}

.mp108-mentor-thumb {
    border-radius: 6px;
    object-fit: cover;
    display: block;
}

/* ---- Wider modal for mentor details ---- */
.mp108-modal-wide {
    max-width: 640px;
    max-height: 85vh;
    overflow-y: auto;
    text-align: left;
}

.mp108-detail-block {
    margin-bottom: 18px;
}

.mp108-detail-block h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1499a6;
    margin: 0 0 4px;
}

.mp108-detail-block p {
    font-size: 14px;
    color: #3f4a57;
    margin: 0;
    line-height: 1.5;
}

/* ---- Connect button "sent" state ---- */
.mp108-btn-sent {
    background: #82909c !important;
    cursor: default;
}
