#modal-overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.85);
}

#modal-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.pill-btn {
    border: 1.5px solid #FF0000;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-family: 'Poppins', sans-serif;
}

.pill-btn:hover {
    background: rgba(255, 0, 0, 0.15);
}

.pill-active {
    background: #FF0000 !important;
    border-color: #FF0000 !important;
    color: #ffffff !important;
}

.form-field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.form-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-field:focus {
    border-color: #FF0000;
}

.form-field option {
    background: #000000;
    color: #ffffff;
}

select.form-field {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

textarea.form-field {
    resize: none;
}

.iti {
    width: 100%;
}

.iti__country-list {
    background-color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background-color: #FF0000 !important;
    color: #ffffff !important;
}

.iti__selected-dial-code {
    color: #ffffff !important;
    margin-left: 6px;
    font-size: 13px;
}

.iti--separate-dial-code #phone-input {
    padding-left: 100px !important;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(-90deg);
}

.field-error {
    border-color: #FF0000 !important;
    animation: shake 0.3s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

/* #modal-section{
    overflow-x: clip;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
} */

#modal-overlay{
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh; /* dynamic viewport */
}