﻿.select2-container--default .select2-selection.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.1);
}

.note {
    background: #eef5ff;
    padding: 12px 14px;
    border-radius: 8px;
    text-align: center;
}

html, body {
    height: 100%;
}

body, .container-fluid {
    background: #F5F7FA !important;
}

#request-container {
    min-height: 100vh;
    background: #F5F7FA;
}

.estoppel-card {
    background-color: #fff;
    padding: 20px;
    padding-bottom: 50px;
    border-radius: 4px;
}

.select2-dropdown--below {
    position: relative;
    top: 46px !important;
    left: 4px !important;
}


.uep-spinner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; /* not 'inset' */
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.6);
    z-index: 1052;
    pointer-events: none;
}

    .uep-spinner.show {
        display: flex;
    }

    .uep-spinner .fa {
        font-size: 28px;
    }


.select2-container--default .select2-selection.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.1);
}

.modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1040 !important;
}

.modal {
    z-index: 1150 !important;
}

Don’t let the page scroll under the modal
body.modal-open {
    overflow: hidden;
}

body, .container-fluid {
    background: #121212 !important;
}

.btn-dark {
    background-color: #171515 !important;
    border-color: #161616;
}

    .btn-dark:hover {
        background-color: #0f0f0f;
        border-color: #0f0f0f;
    }

.footer {
    display: none !important;
}

.contact-info, .contact-info > a {
    color: #ffffff;
}

.contact-info {
    margin-top: 35px;
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 98%;
    display: block;
    clear: both;
    font-size: 9pt;
}


/* Container that holds a chip + the text input + the dropdown */
.tokenbox {
    position: relative;
}

/* The “chip” look */
.token {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #eef2ff;
    color: #111827;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    padding: .25rem .6rem;
    margin-bottom: .4rem;
    max-width: 100%;
}

    .token .label {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .token .x {
        border: 0;
        background: transparent;
        font-size: 1rem;
        line-height: 1;
        color: #374151;
        cursor: pointer;
    }

.tokenbox .token-input {
    /* looks like a normal input; nothing special */
}

/* The suggestions dropdown */
/*.typeahead-menu {
    position: absolute;
    z-index: 1061;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    background: #fff;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: .25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    display: none;*/ /* toggled by JS */
/*max-height: 280px;
    overflow: auto;
}

.typeahead-item {
    padding: .5rem .75rem;
    cursor: pointer;
}

    .typeahead-item:hover,
    .typeahead-item.active {
        background: #f3f4f6;
    }

.typeahead-empty {
    padding: .5rem .75rem;
    color: #6b7280;
    font-style: italic;
}*/


/* menu containers */
.typeahead-menu {
    position: absolute;
    z-index: 2000;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    max-height: 260px;
    overflow-y: auto;
    width: 100%;
}

.typeahead-item {
    padding: 8px 10px;
    cursor: pointer;
}

    .typeahead-item:hover {
        background: #f3f4f6;
    }

.typeahead-empty {
    padding: 8px 10px;
    color: #6b7280;
}


.label {
    color: #111827 !important;
}

/* Container that looks/behaves like a single-line form-control */
.tokenbox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .375rem;
    min-height: calc(2.375rem + 2px); /* ~ .form-control height */
    padding: .375rem .5rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    background: #fff;
}

    .tokenbox:focus-within {
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
    }

.tokenbox-input {
    flex: 1 1 6ch; /* grows, but can shrink small */
    min-width: 6ch; /* keeps caret visible when chip is present */
    border: none;
    outline: none;
    font: inherit;
    padding: 0;
    background: transparent;
}

.token {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .2rem .5rem;
    border-radius: 999px;
    background: #eef5ff; /* same note palette */
    color: #0b3a8f; /* readable on blue-ish */
    border: 1px solid #3b82f6;
    max-width: 100%;
}

    .token .label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .token .x {
        appearance: none;
        border: none;
        background: transparent;
        color: inherit;
        font-size: 1rem;
        line-height: 1;
        cursor: pointer;
        padding: 0 .1rem;
    }

/* Dropdown menu just under each tokenbox */
.typeahead-menu {
    position: absolute;
    z-index: 2000;
    background: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    margin-top: .25rem;
    max-height: 280px;
    overflow: auto;
    width: 100%;
}

.typeahead-item {
    padding: .5rem .75rem;
    cursor: pointer;
}

    .typeahead-item:hover {
        background: #f8f9fa;
    }


    .typeahead-item.active {
        background: #e9f2ff;
    }


.typeahead-empty {
    padding: .5rem .75rem;
    color: #6c757d;
}

/* Keep your invalid style for Parsley */
.select2-container--default .select2-selection.is-invalid,
.tokenbox.parsley-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.1);
}

/* Card look */
.otp-card {
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

/* Big input like the screenshot */
.otp-input {
    font-size: 28px;
    height: 64px;
    letter-spacing: .35em;
    text-align: center;
}

/* Rounded primary button */
.btn-otp {
    background: #e5e7eb; /* disabled gray */
    color: #666;
    height: 56px;
    font-weight: 600;
    border-radius: 28px;
    border: none;
}

    .btn-otp.enabled {
        background: #111827; /* dark */
        color: #fff;
    }

/* Make timer small and subtle */
#otpCountdown {
    font-variant-numeric: tabular-nums;
}


/* === SweetAlert2 — SVays Dark Theme === */
:root {
    --ax-bg: #151515;
    --ax-elev: #1b1b1b;
    --ax-border: #2a2a2a;
    --ax-text: #e6e6e6;
    --ax-subtle: #9aa0a6;
    --ax-primary: #0f0f0f; /* buttons */
    --ax-primary-contrast: #ffffff;
    --ax-primary-hover: #0b0b0b;
    --ax-focus: rgba(255,255,255,.12);
    --ax-success: #2fb67f;
    --ax-error: #ff6b6b;
    --ax-warning: #f0b429;
}

.swal2-popup.ax-swal {
    background: var(--ax-bg) !important;
    color: var(--ax-text) !important;
    border: 1px solid var(--ax-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.65);
    padding: 22px 24px 20px;
}

.swal2-title.ax-swal-title {
    color: var(--ax-text) !important;
    font-weight: 600;
}

.swal2-html-container.ax-swal-body {
    color: var(--ax-subtle) !important;
    font-size: .95rem;
}

.swal2-actions.ax-swal-actions {
    gap: 10px;
}

.swal2-styled.ax-btn {
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    border: 1px solid transparent;
}

.swal2-styled.ax-btn-confirm {
    background: var(--ax-primary) !important;
    color: var(--ax-primary-contrast) !important;
    border-color: #0f0f0f !important;
}

    .swal2-styled.ax-btn-confirm:hover {
        background: var(--ax-primary-hover) !important;
    }

.swal2-styled.ax-btn-cancel {
    background: var(--ax-elev) !important;
    color: var(--ax-text) !important;
    border-color: var(--ax-border) !important;
}

    .swal2-styled.ax-btn-cancel:hover {
        background: #222 !important;
    }

.swal2-icon.swal2-success {
    border-color: var(--ax-success) !important;
    color: var(--ax-success) !important;
}

.swal2-icon.swal2-error {
    border-color: var(--ax-error) !important;
    color: var(--ax-error) !important;
}

.swal2-icon.swal2-warning {
    border-color: var(--ax-warning) !important;
    color: var(--ax-warning) !important;
}

.swal2-input.ax-input,
.swal2-textarea.ax-input {
    background: var(--ax-elev) !important;
    color: var(--ax-text) !important;
    border: 1px solid var(--ax-border) !important;
    border-radius: 10px !important;
    outline: none !important;
    box-shadow: none !important;
}

    .swal2-input.ax-input:focus,
    .swal2-textarea.ax-input:focus {
        border-color: #3a3a3a !important;
        box-shadow: 0 0 0 3px var(--ax-focus) !important;
    }

.swal2-validation-message.ax-validation {
    background: transparent !important;
    color: var(--ax-error) !important;
}

/* Toasts */
.swal2-container.ax-toast {
    pointer-events: none;
}

.swal2-toast.ax-toast {
    background: var(--ax-elev) !important;
    color: var(--ax-text) !important;
    border: 1px solid var(--ax-border);
    border-radius: 10px;
}

/* Force dark buttons even if not using the mixin */
.swal2-styled.swal2-confirm {
    background: #0f0f0f !important;
    color: #ffffff !important;
    border: 1px solid #0f0f0f !important;
    border-radius: 10px !important;
}

    .swal2-styled.swal2-confirm:hover {
        background: #0b0b0b !important;
    }

.swal2-styled.swal2-cancel {
    background: #1b1b1b !important;
    color: #e6e6e6 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 10px !important;
}

.swal2-styled:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,.12) !important;
}

/* Base icon ring + glyph color */
.swal2-icon {
    border-color: #4b5563 !important; /* ring */
    color: #d1d5db !important; /* glyph (info, question, warning) */
}

    /* SUCCESS (check mark uses lines + ring) */
    .swal2-icon.swal2-success {
        border-color: #4b5563 !important;
    }

        .swal2-icon.swal2-success .swal2-success-ring {
            border: .25em solid #4b5563 !important;
        }

        .swal2-icon.swal2-success [class^="swal2-success-line"] {
            background-color: #d1d5db !important;
        }

    /* ERROR (the X uses two lines) */
    .swal2-icon.swal2-error {
        border-color: #4b5563 !important;
    }

        .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
            background-color: #d1d5db !important;
        }

    /* WARNING / INFO / QUESTION borders + glyph */
    .swal2-icon.swal2-warning,
    .swal2-icon.swal2-info,
    .swal2-icon.swal2-question {
        border-color: #4b5563 !important;
        color: #d1d5db !important;
    }

.ui-datepicker {
    z-index: 3000 !important
}


#PhoneUI {
    font-variant-numeric: tabular-nums;
}


/* Make sure the card can position children absolutely */
.otp-card {
    position: relative;
    border-radius: 12px;
}

/* The X button */
.otp-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: 0;
    font-size: 26px;
    line-height: 1;
    color: #6b7280;
    opacity: .9;
    cursor: pointer;
    z-index: 1061; /* higher than anything inside */
    pointer-events: auto;
}

    .otp-close:hover {
        color: #111;
        opacity: 1;
    }

    .otp-close:focus {
        outline: none;
        box-shadow: none;
    }

/* sticky footer */
.contact-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background: none; /* or your dark brand color */
    color: #fff;
    z-index: 1030; /* above page, below any real modals if you have them */
}

    /* make links white, no text decoration */
    .contact-footer a {
        color: #fff;
        text-decoration: none;
    }

        .contact-footer a:hover,
        .contact-footer a:focus {
            text-decoration: none; /* keep it off even on hover */
        }
