/* =========================================================
   MTAAHELP — MODERN REGISTRATION PAGE
   ========================================================= */

/* =========================
   RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   ROOT
   ========================= */

:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #22c55e;
    --primary-soft: #dcfce7;

    --dark: #0f172a;
    --text: #1f2937;
    --muted: #64748b;

    --border: #e2e8f0;
    --white: #ffffff;

    --danger: #dc2626;
    --success: #16a34a;

    --radius: 16px;

    --shadow:
        0 20px 50px rgba(15, 23, 42, 0.10);

    --transition:
        0.25s ease;
}


/* =========================
   BODY
   ========================= */

body {
    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--text);

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(34, 197, 94, 0.13),
            transparent 28%
        ),

        radial-gradient(
            circle at 90% 80%,
            rgba(22, 163, 74, 0.12),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #f8fafc,
            #f0fdf4
        );

    overflow-x: hidden;
}


/* =========================
   NAVBAR
   ========================= */

.navbar {
    height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(226, 232, 240, 0.8);

    position: relative;
    z-index: 10;
}


/* =========================
   LOGO
   ========================= */

.logo {
    display: flex;
    align-items: center;

    gap: 7px;

    text-decoration: none;

    color: var(--dark);

    font-size: 25px;

    font-weight: 850;

    letter-spacing: -0.7px;

    transition:
        transform var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo span:last-child {
    color: var(--primary);
}


/* Logo Icon */

.logo-icon {
    width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary-light),
            var(--primary-dark)
        );

    border-radius: 11px;

    font-size: 19px;

    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(22, 163, 74, 0.25);

    position: relative;

    overflow: hidden;
}


/* Shine effect */

.logo-icon::after {
    content: "";

    position: absolute;

    width: 20px;
    height: 80px;

    background: rgba(255, 255, 255, 0.25);

    transform: rotate(30deg);

    left: -35px;

    transition:
        left 0.5s ease;
}

.logo:hover .logo-icon::after {
    left: 50px;
}


/* =========================
   BACK HOME
   ========================= */

.back-home {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    text-decoration: none;

    color: var(--muted);

    font-size: 14px;

    font-weight: 700;

    padding: 9px 14px;

    border-radius: 10px;

    transition:
        all var(--transition);
}

.back-home:hover {
    color: var(--primary);

    background: var(--primary-soft);

    transform: translateX(-3px);
}


/* =========================
   MAIN CONTAINER
   ========================= */

.register-container {
    min-height:
        calc(100vh - 74px);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 55px 20px;

    position: relative;
}


/* Decorative background circles */

.register-container::before,
.register-container::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;
}

.register-container::before {
    width: 230px;
    height: 230px;

    background:
        rgba(34, 197, 94, 0.10);

    top: 30px;
    left: -90px;

    filter: blur(2px);
}

.register-container::after {
    width: 280px;
    height: 280px;

    background:
        rgba(22, 163, 74, 0.08);

    bottom: -100px;
    right: -100px;

    filter: blur(2px);
}


/* =========================
   REGISTER CARD
   ========================= */

.register-card {
    width: 100%;

    max-width: 500px;

    padding: 42px;

    background:
        rgba(255, 255, 255, 0.92);

    border:
        1px solid rgba(255, 255, 255, 0.9);

    border-radius: 24px;

    box-shadow: var(--shadow);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    position: relative;

    z-index: 1;

    animation:
        cardEnter 0.6s ease both;
}


/* Top green accent */

.register-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 12%;

    width: 76%;
    height: 4px;

    border-radius:
        0 0 10px 10px;

    background:
        linear-gradient(
            90deg,
            var(--primary-light),
            var(--primary-dark)
        );
}


/* Card animation */

@keyframes cardEnter {

    from {
        opacity: 0;
        transform:
            translateY(20px)
            scale(0.98);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}


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

.register-header {
    text-align: center;

    margin-bottom: 30px;
}


/* Welcome icon */

.welcome-icon {
    width: 68px;
    height: 68px;

    margin: 0 auto 17px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #dcfce7,
            #bbf7d0
        );

    border:
        1px solid rgba(34, 197, 94, 0.25);

    border-radius: 20px;

    font-size: 31px;

    box-shadow:
        0 10px 25px rgba(22, 163, 74, 0.12);

    animation:
        floatingIcon 3s ease-in-out infinite;
}


@keyframes floatingIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


/* Heading */

.register-header h1 {
    color: var(--dark);

    font-size: 30px;

    font-weight: 800;

    letter-spacing: -0.8px;

    margin-bottom: 10px;
}


/* Description */

.register-header p {
    max-width: 390px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


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

.message {
    padding: 13px 15px;

    margin-bottom: 20px;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.5;

    text-align: center;

    border: 1px solid transparent;

    animation:
        messageEnter 0.3s ease;
}


@keyframes messageEnter {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.message.success {
    background:
        #ecfdf5;

    color:
        #166534;

    border-color:
        #bbf7d0;
}


.message.error {
    background:
        #fef2f2;

    color:
        #991b1b;

    border-color:
        #fecaca;
}


/* =========================
   FORM
   ========================= */

.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 13px;

    font-weight: 750;

    letter-spacing: 0.1px;
}


/* =========================
   INPUTS
   ========================= */

.form-group input,
.form-group select {
    width: 100%;

    height: 50px;

    padding: 0 15px;

    border:
        1.5px solid var(--border);

    border-radius: 12px;

    outline: none;

    color: var(--text);

    font-family: inherit;

    font-size: 15px;

    background:
        rgba(255, 255, 255, 0.95);

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition),
        background var(--transition);
}


/* Placeholder */

.form-group input::placeholder {
    color: #94a3b8;
}


/* Focus */

.form-group input:focus,
.form-group select:focus {
    border-color:
        var(--primary);

    background:
        #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(22, 163, 74, 0.10);

    transform:
        translateY(-1px);
}


/* Hover */

.form-group input:hover,
.form-group select:hover {
    border-color:
        #a7f3d0;
}


/* =========================
   SELECT
   ========================= */

.form-group select {
    cursor: pointer;

    appearance: none;

    background-image:
        linear-gradient(45deg,
            transparent 50%,
            #64748b 50%),
        linear-gradient(135deg,
            #64748b 50%,
            transparent 50%);

    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 13px) 21px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat:
        no-repeat;
}


/* =========================
   PASSWORD
   ========================= */

.password-wrapper {
    position: relative;
}


.password-wrapper input {
    padding-right: 72px;
}


.password-toggle {
    position: absolute;

    right: 8px;
    top: 50%;

    transform:
        translateY(-50%);

    border: none;

    background:
        var(--primary-soft);

    color:
        var(--primary-dark);

    padding:
        6px 10px;

    border-radius:
        8px;

    font-family: inherit;

    font-size: 12px;

    font-weight: 750;

    cursor: pointer;

    transition:
        all var(--transition);
}


.password-toggle:hover {
    background:
        #bbf7d0;

    transform:
        translateY(-50%)
        scale(1.04);
}


/* =========================
   REGISTER BUTTON
   ========================= */

.register-button {
    width: 100%;

    min-height: 52px;

    margin-top: 5px;

    padding: 14px 20px;

    border: none;

    border-radius: 13px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary-light),
            var(--primary-dark)
        );

    font-family: inherit;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 0.2px;

    cursor: pointer;

    box-shadow:
        0 10px 22px
        rgba(22, 163, 74, 0.22);

    position: relative;

    overflow: hidden;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        filter var(--transition);
}


/* Shine */

.register-button::before {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 60%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left 0.6s ease;
}


.register-button:hover::before {
    left: 130%;
}


.register-button:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 14px 28px
        rgba(22, 163, 74, 0.28);

    filter:
        brightness(1.04);
}


.register-button:active {
    transform:
        translateY(0);

    box-shadow:
        0 7px 15px
        rgba(22, 163, 74, 0.2);
}


.register-button:disabled {
    background:
        #94a3b8;

    box-shadow:
        none;

    cursor:
        not-allowed;

    transform:
        none;

    filter:
        none;
}


/* =========================
   LOGIN LINK
   ========================= */

.login-link {
    text-align: center;

    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid #f1f5f9;

    color:
        var(--muted);

    font-size: 14px;
}


.login-link a {
    color:
        var(--primary-dark);

    font-weight: 800;

    text-decoration: none;

    margin-left: 4px;

    transition:
        color var(--transition);
}


.login-link a:hover {
    color:
        var(--primary);

    text-decoration:
        underline;
}


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

@media (max-width: 600px) {

    .navbar {
        height: 68px;

        padding:
            0 18px;
    }


    .logo {
        font-size: 21px;
    }


    .logo-icon {
        width: 34px;
        height: 34px;

        font-size: 17px;

        border-radius: 10px;
    }


    .back-home {
        padding:
            8px 10px;

        font-size: 12px;
    }


    .register-container {
        min-height:
            calc(100vh - 68px);

        padding:
            30px 15px;
    }


    .register-card {
        padding:
            32px 21px;

        border-radius:
            20px;
    }


    .register-header {
        margin-bottom:
            25px;
    }


    .welcome-icon {
        width: 60px;
        height: 60px;

        border-radius:
            17px;

        font-size:
            27px;
    }


    .register-header h1 {
        font-size:
            25px;
    }


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


    .form-group {
        margin-bottom:
            17px;
    }


    .form-group input,
    .form-group select {
        height:
            48px;

        font-size:
            14px;
    }


    .register-button {
        min-height:
            50px;
    }
}


/* =========================
   VERY SMALL SCREENS
   ========================= */

@media (max-width: 380px) {

    .navbar {
        padding:
            0 12px;
    }


    .logo {
        font-size:
            19px;
    }


    .back-home {
        font-size:
            11px;
    }


    .register-card {
        padding:
            27px 17px;
    }


    .register-header h1 {
        font-size:
            23px;
    }
}


/* =========================
   REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}

/* =========================================================
   MTAAHELP — DARK MODE
   Shared theme: mtaahelp_theme
   ========================================================= */

html.dark-mode {

    --primary: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #4ade80;
    --primary-soft: #14532d;

    --dark: #f8fafc;
    --text: #e2e8f0;
    --muted: #94a3b8;

    --border: #334155;
    --white: #0f172a;

    --danger: #f87171;
    --success: #4ade80;

    --shadow:
        0 20px 50px rgba(0, 0, 0, 0.40);
}


/* =========================
   BODY
   ========================= */

html.dark-mode body {

    color: var(--text);

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(34, 197, 94, 0.10),
            transparent 28%
        ),

        radial-gradient(
            circle at 90% 80%,
            rgba(22, 163, 74, 0.08),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #020617,
            #071a12
        );
}


/* =========================
   NAVBAR
   ========================= */

html.dark-mode .navbar {

    background:
        rgba(15, 23, 42, 0.88);

    border-bottom:
        1px solid rgba(51, 65, 85, 0.85);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18);
}


/* =========================
   LOGO
   ========================= */

html.dark-mode .logo {

    color:
        #f8fafc;
}


html.dark-mode .logo span:last-child {

    color:
        var(--primary-light);
}


html.dark-mode .logo-icon {

    box-shadow:
        0 8px 20px rgba(34, 197, 94, 0.18);
}


/* =========================
   BACK HOME
   ========================= */

html.dark-mode .back-home {

    color:
        #94a3b8;
}


html.dark-mode .back-home:hover {

    color:
        var(--primary-light);

    background:
        rgba(34, 197, 94, 0.12);
}


/* =========================
   DECORATIVE CIRCLES
   ========================= */

html.dark-mode .register-container::before {

    background:
        rgba(34, 197, 94, 0.06);
}


html.dark-mode .register-container::after {

    background:
        rgba(22, 163, 74, 0.05);
}


/* =========================
   REGISTER CARD
   ========================= */

html.dark-mode .register-card {

    background:
        rgba(15, 23, 42, 0.90);

    border:
        1px solid rgba(71, 85, 105, 0.55);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.45);
}


/* =========================
   WELCOME ICON
   ========================= */

html.dark-mode .welcome-icon {

    background:
        linear-gradient(
            135deg,
            #14532d,
            #166534
        );

    border-color:
        rgba(74, 222, 128, 0.25);

    box-shadow:
        0 10px 25px rgba(34, 197, 94, 0.10);
}


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

html.dark-mode .register-header h1 {

    color:
        #f8fafc;
}


html.dark-mode .register-header p {

    color:
        #94a3b8;
}


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

html.dark-mode .message.success {

    background:
        rgba(22, 101, 52, 0.25);

    color:
        #86efac;

    border-color:
        rgba(74, 222, 128, 0.25);
}


html.dark-mode .message.error {

    background:
        rgba(127, 29, 29, 0.25);

    color:
        #fca5a5;

    border-color:
        rgba(248, 113, 113, 0.25);
}


/* =========================
   FORM LABELS
   ========================= */

html.dark-mode .form-group label {

    color:
        #cbd5e1;
}


/* =========================
   INPUTS
   ========================= */

html.dark-mode .form-group input,
html.dark-mode .form-group select {

    color:
        #e2e8f0;

    background:
        rgba(15, 23, 42, 0.82);

    border-color:
        #334155;
}


/* Placeholder */

html.dark-mode .form-group input::placeholder {

    color:
        #64748b;
}


/* Focus */

html.dark-mode .form-group input:focus,
html.dark-mode .form-group select:focus {

    color:
        #f8fafc;

    background:
        #0f172a;

    border-color:
        var(--primary-light);

    box-shadow:
        0 0 0 4px
        rgba(34, 197, 94, 0.12);
}


/* Hover */

html.dark-mode .form-group input:hover,
html.dark-mode .form-group select:hover {

    border-color:
        #4ade80;
}


/* Select options */

html.dark-mode .form-group select option {

    background:
        #0f172a;

    color:
        #e2e8f0;
}


/* =========================
   SELECT ARROW
   ========================= */

html.dark-mode .form-group select {

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #94a3b8 50%
        ),
        linear-gradient(
            135deg,
            #94a3b8 50%,
            transparent 50%
        );
}


/* =========================
   PASSWORD TOGGLE
   ========================= */

html.dark-mode .password-toggle {

    background:
        #14532d;

    color:
        #86efac;
}


html.dark-mode .password-toggle:hover {

    background:
        #166534;
}


/* =========================
   REGISTER BUTTON
   ========================= */

html.dark-mode .register-button {

    box-shadow:
        0 10px 22px
        rgba(34, 197, 94, 0.18);
}


html.dark-mode .register-button:hover {

    box-shadow:
        0 14px 28px
        rgba(34, 197, 94, 0.24);
}


/* =========================
   LOGIN LINK
   ========================= */

html.dark-mode .login-link {

    border-top-color:
        #1e293b;

    color:
        #94a3b8;
}


html.dark-mode .login-link a {

    color:
        #4ade80;
}


html.dark-mode .login-link a:hover {

    color:
        #86efac;
}


/* =========================
   ACCESSIBILITY
   ========================= */

html.dark-mode input:focus-visible,
html.dark-mode select:focus-visible,
html.dark-mode button:focus-visible,
html.dark-mode a:focus-visible {

    outline:
        2px solid #4ade80;

    outline-offset:
        2px;
}


/* =========================
   MOBILE DARK MODE
   ========================= */

@media (max-width: 600px) {

    html.dark-mode .register-card {

        background:
            rgba(15, 23, 42, 0.94);

        border-color:
            rgba(71, 85, 105, 0.55);
    }
}


@media (max-width: 380px) {

    html.dark-mode .register-card {

        background:
            rgba(15, 23, 42, 0.95);
    }
}


/* ======================================================
   VERIFICATION METHOD OPTIONS
   ====================================================== */

.verification-methods {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.verification-option {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 48px;

    padding: 10px 14px;

    border: 1px solid #d1d5db;
    border-radius: 10px;

    background: #ffffff;

    cursor: pointer;

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

    color: #374151;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.verification-option:hover {
    border-color: #16a34a;
}

.verification-option input[type="radio"] {
    width: 18px;
    height: 18px;

    margin: 0;

    accent-color: #16a34a;

    flex-shrink: 0;
}

.verification-option:has(
    input[type="radio"]:checked
) {
    border-color: #16a34a;

    background: #f0fdf4;

    box-shadow:
        0 0 0 1px #16a34a;
}


/* Dark mode */

.dark-mode .verification-option {
    background: #1f2937;

    border-color: #4b5563;

    color: #f9fafb;
}

.dark-mode .verification-option:has(
    input[type="radio"]:checked
) {
    background: #064e3b;

    border-color: #22c55e;

    box-shadow:
        0 0 0 1px #22c55e;
}


/* Mobile */

@media (max-width: 480px) {

    .verification-methods {
        gap: 8px;
    }

    .verification-option {
        padding: 10px 8px;

        font-size: 13px;
    }

}

/* =====================================================
   PROVIDER IDENTITY VERIFICATION
   ===================================================== */

.provider-verification-section {

    margin-top: 24px;
    padding: 20px;

    border: 1px solid rgba(15, 157, 117, 0.35);

    border-radius: 16px;

    background: rgba(15, 157, 117, 0.05);

}


/* Verification heading */

.verification-header {

    margin-bottom: 20px;

}

.verification-header h2 {

    font-size: 20px;

    color: var(--dark);

    margin-bottom: 8px;

}

.verification-header p {

    font-size: 14px;

    color: #6b7280;

    line-height: 1.6;

}


/* Help text */

.verification-help {

    font-size: 13px;

    color: #6b7280;

    margin-bottom: 10px;

    line-height: 1.5;

}


/* File inputs */

.provider-verification-section input[type="file"] {

    width: 100%;

    padding: 12px;

    border: 1px dashed var(--primary);

    border-radius: 10px;

    background: white;

    cursor: pointer;

}


/* Camera previews */

.camera-preview {

    margin-top: 12px;

    width: 100%;

    min-height: 20px;

    border-radius: 12px;

    overflow: hidden;

}


/* Preview images */

.camera-preview img {

    display: block;

    width: 100%;

    max-height: 260px;

    object-fit: cover;

    border-radius: 12px;

}


/* Verification notice */

.verification-notice {

    margin-top: 18px;

    padding: 14px;

    border-radius: 10px;

    background: rgba(255, 183, 3, 0.12);

    color: var(--dark);

    font-size: 13px;

    line-height: 1.6;

}


/* Dark mode */

.dark-mode .provider-verification-section {

    background: rgba(15, 157, 117, 0.08);

    border-color: rgba(25, 201, 150, 0.3);

}

.dark-mode .verification-header h2 {

    color: #ffffff;

}

.dark-mode .verification-header p,

.dark-mode .verification-help {

    color: #aebdb8;

}

.dark-mode .provider-verification-section input[type="file"] {

    background: #182d27;

    color: #ffffff;

    border-color: #19c996;

}

.dark-mode .verification-notice {

    background: rgba(255, 183, 3, 0.12);

    color: #f3f4f6;

}

/* =========================================================
   MTAAHELP — PROVIDER VERIFICATION MODAL
   ========================================================= */


/* =========================================================
   LOCK PAGE WHEN MODAL IS OPEN
   ========================================================= */

body.modal-open {
    overflow: hidden;
}



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

.verification-modal {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    z-index: 9999;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}



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

.verification-modal.active {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;
}



/* =========================================================
   BACKDROP
   ========================================================= */

.verification-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(5, 20, 15, 0.72);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}



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

.verification-modal-content {
    position: relative;

    width: min(620px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    padding: 32px;

    background: #ffffff;

    border-radius: 22px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.28);

    transform: translateY(20px) scale(0.97);

    transition:
        transform 0.25s ease;

    z-index: 1;
}



.verification-modal.active
.verification-modal-content {
    transform:
        translateY(0)
        scale(1);
}



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

.verification-modal-close {
    position: absolute;

    top: 16px;
    right: 18px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: #f1f5f3;

    color: #10231d;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.verification-modal-close:hover {
    background: #e3ebe7;

    transform: rotate(90deg);
}



/* =========================================================
   VERIFICATION HEADER
   ========================================================= */

.verification-header {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    margin-bottom: 28px;

    padding-right: 42px;
}



.verification-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #0f9d75,
            #19c996
        );

    font-size: 25px;

    box-shadow:
        0 8px 22px rgba(15, 157, 117, 0.22);
}



.verification-header h2 {
    margin: 0 0 7px;

    color: #10231d;

    font-size: 22px;

    font-weight: 750;
}



.verification-header p {
    margin: 0;

    color: #66756f;

    line-height: 1.55;

    font-size: 14px;
}



/* =========================================================
   VERIFICATION HELP
   ========================================================= */

.verification-help {
    margin: 5px 0 10px;

    color: #718079;

    font-size: 13px;

    line-height: 1.5;
}



/* =========================================================
   CAMERA PREVIEW
   ========================================================= */

.camera-preview {
    width: 100%;

    min-height: 0;

    margin-top: 12px;

    border-radius: 14px;

    overflow: hidden;
}



.camera-preview img {
    display: block;

    width: 100%;

    max-height: 220px;

    object-fit: cover;

    border-radius: 14px;

    border: 1px solid #dce7e2;
}



/* =========================================================
   VERIFICATION NOTICE
   ========================================================= */

.verification-notice {
    margin-top: 20px;

    padding: 14px 16px;

    border-radius: 12px;

    background: rgba(15, 157, 117, 0.08);

    border: 1px solid rgba(15, 157, 117, 0.18);

    color: #365149;

    font-size: 13px;

    line-height: 1.55;
}



/* =========================================================
   DONE BUTTON
   ========================================================= */

.verification-done-button {
    width: 100%;

    margin-top: 22px;

    padding: 14px 20px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #0f9d75,
            #19c996
        );

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(15, 157, 117, 0.2);

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



.verification-done-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 11px 25px rgba(15, 157, 117, 0.28);
}



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

@media (max-width: 600px) {

    .verification-modal {
        padding: 12px;
    }


    .verification-modal-content {
        max-height: 94vh;

        padding: 24px 20px;

        border-radius: 18px;
    }


    .verification-header {
        gap: 12px;

        margin-bottom: 22px;
    }


    .verification-icon {
        width: 44px;
        height: 44px;

        border-radius: 12px;

        font-size: 21px;
    }


    .verification-header h2 {
        font-size: 18px;
    }


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


    .verification-modal-close {
        top: 12px;
        right: 12px;

        width: 36px;
        height: 36px;

        font-size: 25px;
    }

}



/* =========================================================
   DARK MODE
   ========================================================= */

.dark-mode .verification-modal-content {
    background: #10231d;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55);
}



.dark-mode .verification-header h2 {
    color: #ffffff;
}



.dark-mode .verification-header p {
    color: #a8bbb4;
}



.dark-mode .verification-help {
    color: #9aafa7;
}



.dark-mode .verification-modal-close {
    background: #1b352d;

    color: #ffffff;
}



.dark-mode .verification-modal-close:hover {
    background: #26463b;
}



.dark-mode .camera-preview img {
    border-color: #315248;
}



.dark-mode .verification-notice {
    background: rgba(25, 201, 150, 0.09);

    border-color: rgba(25, 201, 150, 0.2);

    color: #b9cec6;
}

/* =====================================================
   PROVIDER VERIFICATION FILE INPUTS
   ===================================================== */

.verification-modal-content input[type="file"] {

    display: block;

    width: 100%;

    padding: 12px;

    border: 1px dashed var(--primary);

    border-radius: 10px;

    background: #f8fafc;

    color: #334155;

    cursor: pointer;

}


/* Dark mode */

html.dark-mode
.verification-modal-content
input[type="file"] {

    background: #182d27;

    color: #ffffff;

    border-color: #19c996;

}