﻿
/* ========================= */

.verification-content {
    padding: 10px;
}

/* ===========================
   STEP 5 SCROLLABLE REVIEW
=========================== */

.verification-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0; /* Important */
    padding: 10px;
}

.review-scroll {
    height: calc(90vh - 420px);
    min-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}

    /* Scrollbar */

    .review-scroll::-webkit-scrollbar {
        width: 8px;
    }

    .review-scroll::-webkit-scrollbar-track {
        background: #F3F4F6;
        border-radius: 10px;
    }

    .review-scroll::-webkit-scrollbar-thumb {
        background: #CBD5E1;
        border-radius: 10px;
    }

        .review-scroll::-webkit-scrollbar-thumb:hover {
            background: #94A3B8;
        }

/* Keep buttons visible */

.wizard-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #fff;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}

.step-title {
    margin-bottom: 30px;
}

    .step-title h3 {
        font-size: 28px;
        font-weight: 700;
        color: #111827;
    }

    .step-title p {
        color: #6B7280;
    }

/* ========================= */

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    box-shadow: none;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #7C3AED;
        box-shadow: 0 0 0 .2rem rgba(124,58,237,.15);
    }

/* ========================= */

.wizard-buttons {
    display: flex;
    justify-content: flex-end;
}

.btn-eventify {
    background: #7C3AED;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 10px;
    transition: .25s;
}

    .btn-eventify:hover {
        background: #6D28D9;
        color: white;
    }
/* ===========================
   WIZARD PROGRESS
=========================== */

.wizard-progress {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 40px 35px;
}

.progress-track {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #E5E7EB;
    z-index: 1;
}

.progress-fill {
    position: absolute;
    top: 20px;
    left: 0;
    width: 0%;
    height: 4px;
    background: #7C3AED;
    transition: .35s;
    z-index: 2;
}

.progress-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: .3s;
}

.progress-step span {
    margin-top: 10px;
    font-size: .85rem;
    color: #6B7280;
}

.progress-step.active .step-circle {
    background: #7C3AED;
    color: white;
}

.progress-step.completed .step-circle {
    background: #7C3AED;
    color: white;
}

.progress-step.active span {
    color: #7C3AED;
    font-weight: 600;
}

.progress-step.completed span {
    color: #7C3AED;
}

.wizard-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.back-btn {
    min-width: 120px;
}

.next-btn {
    min-width: 120px;
}

/* ===========================
   MODAL
=========================== */

.organizer-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.45);
    z-index: 9999;
}

.organizer-modal-container {
    width: 900px;
    max-width: 95%;
    max-height: 90vh;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.organizer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #ECECEC;
}

.organizer-title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: #111827;
}

.organizer-subtitle {
    display: block;
    margin-top: 6px;
    color: #6B7280;
    font-size: 14px;
}

.organizer-close {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #6B7280;
    transition: .2s;
}

    .organizer-close:hover {
        background: #F3F4F6;
    }

.organizer-body {
    padding: 24px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.verification-step {
    display: none;
}

    .verification-step.active {
        display: block;
    }

/* ===========================
   AGREEMENTS
=========================== */

.verification-agreements {
    margin: 30px 0;
    padding: 20px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
}

.agreement-item {
    display: flex;
    margin-bottom: 18px;
}

    .agreement-item:last-child {
        margin-bottom: 0;
    }

    .agreement-item label {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        cursor: pointer;
        line-height: 1.6;
    }

    .agreement-item input[type="checkbox"] {
        margin-top: 4px;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

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

.review-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}

    .review-card h4 {
        margin-bottom: 18px;
        font-size: 18px;
        font-weight: 700;
        color: #111827;
    }

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F3F4F6;
}

    .review-item:last-child {
        border-bottom: none;
    }

    .review-item span {
        color: #6B7280;
    }

    .review-item strong {
        color: #111827;
        font-weight: 600;
    }

/* ===========================
   AGREEMENTS
=========================== */

.verification-agreements {
    margin-top: 20px;
}

.agreement-item {
    margin-bottom: 18px;
}

    .agreement-item label {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        cursor: pointer;
        line-height: 1.6;
    }

    .agreement-item input {
        margin-top: 4px;
    }

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

.review-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}

    .review-card h4 {
        margin-bottom: 18px;
        font-size: 18px;
        font-weight: 700;
        color: #111827;
    }

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F3F4F6;
}

    .review-item:last-child {
        border-bottom: none;
    }

    .review-item span {
        color: #6B7280;
    }

    .review-item strong {
        color: #111827;
        font-weight: 600;
    }

/* ===========================
   AGREEMENTS
=========================== */

.verification-agreements {
    margin-top: 20px;
}

.agreement-item {
    margin-bottom: 18px;
}

    .agreement-item label {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        cursor: pointer;
        line-height: 1.6;
    }

    .agreement-item input {
        margin-top: 4px;
    }

/* ===========================
   INDIVIDUAL MESSAGE
=========================== */

.individual-message {
    display: none;
    margin-top: 20px;
    padding: 18px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 12px;
}

    .individual-message h5 {
        margin-bottom: 8px;
        color: #065F46;
        font-size: 16px;
        font-weight: 600;
    }

    .individual-message p {
        margin: 0;
        color: #047857;
        line-height: 1.6;
    }
/* ===========================
   LIVE SELFIE / LIVENESS
=========================== */

#selfieLivenessContainer {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

```css
/* ===========================
   SELFIE CAMERA MODAL
=========================== */
#selfieCameraModal {
    z-index: 10000;
}

#selfieCameraModal .organizer-modal-container {
    width: 600px;
    max-width: 95%;
}

#selfieCameraModal .organizer-body {
    padding: 24px;
    overflow-y: auto;
}


/* ===========================
   CAMERA CONTENT
=========================== */

#selfieLivenessCameraContainer {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}


/* ===========================
   CAMERA FRAME
=========================== */

#selfieCameraModal #selfieCameraFrame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #111827;
}


/* ===========================
   CAMERA VIDEO
=========================== */

#selfieCameraModal #selfieCamera {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ===========================
   FACE GUIDE
=========================== */

#selfieCameraModal #selfieGuide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}


#selfieCameraModal #selfieCircle {
    width: 220px;
    height: 280px;
    border: 4px solid white;
    border-radius: 50%;
    box-sizing: border-box;
}


/* ===========================
   INSTRUCTION
=========================== */

#selfieCameraModal #selfieInstruction {
    font-weight: 600;
    color: #374151;
}


/* ===========================
   PROGRESS
=========================== */

#selfieCameraModal #selfieProgress {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    background: #E5E7EB;
}


#selfieCameraModal #selfieProgressBar {
    width: 0%;
    height: 100%;
    background: #7C3AED;
    transition: width 0.3s ease;
}


/* ===========================
   CAMERA CLOSE BUTTON
=========================== */

#closeSelfieCamera {
    flex-shrink: 0;
}

```
/* ===========================
   CAMERA FRAME
=========================== */
#selfieCameraFrame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #111827;
}


/* ===========================
   CAMERA VIDEO
=========================== */

#selfieCamera {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ===========================
   LIVENESS GUIDE
=========================== */

#selfieGuide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#selfieCircle {
    width: 220px;
    height: 280px;
    border: 4px solid white;
    border-radius: 50%;
    box-sizing: border-box;
}

#selfieInstruction {
    font-weight: 600;
    color: #374151;
}

#selfieProgress {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    background: #E5E7EB;
}

#selfieProgressBar {
    width: 0%;
    height: 100%;
    background: #7C3AED;
    transition: width 0.3s ease;
}