.login-form-otp-wrap-otp-fields-wrapper
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.login-register-form *{
    font-family: 'Plus Jakarta Sans', serif;
}
.login-register-form .modal-body{
    padding: 2rem;
}
.login-form-otp-wrap-country-selection
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgb(205, 206, 208);
    border-radius: 90px;
    padding: 11px 8px;
}

.login-form-otp-wrap-country-selection-prefix
{
    position: relative;
    min-width:100px;
    /*flex-grow: 1;*/
}
.login-form-otp-wrap-phone-field {
    flex-grow: 1;
}
input.login-form-otp-wrap-phone-field-wrapper-text-input-field:focus-visible,input.login-form-otp-wrap-phone-field-wrapper-text-input-field-otp-code:focus-visible {
    border: 0 !important;
    box-shadow: unset;
    outline: none;
}
.login-form-otp-wrap-country-dropdown-arrow
{
    transition: 0.3s;
}

.login-form-otp-wrap-country-dropdown-arrow.expand
{
    transform: rotate(180deg);
}

.login-form-otp-wrap-country-dropdown.expand
{
    display: block !important;
}

.login-form-otp-wrap-phone-field-wrapper > svg
{
    width: 24px;
    position: absolute;
    right: 12px;
    top: 12px;
    display: none;
}

.login-form-otp-wrap-phone-field-otp-code
{
    display: none;
    flex-grow: 1;
}

.select-options-text-sent
{
    background-color: rgb(240 238 224);
    padding: 8px;
    border-radius: 12px;
    margin-top: -16px;
    display: none;
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.login-form-otp-wrap-phone-field-wrapper > input,
.login-form-otp-wrap-phone-field-wrapper-otp-code > input
{
    border: none;
    width: 100%;
    padding: 8px 12px;
    margin: 4px;
    border-radius:90px;
}

.login-form-otp-wrap-phone-field-wrapper-otp-code > input
{
    width: 100%;
}

.login-form-otp-wrap-phone-field-wrapper,
.login-form-otp-wrap-phone-field-wrapper-otp-code
{
    position: relative;
    border: 1px solid rgb(205, 206, 208);
    padding: 0;
    border-radius: 90px;
    display: flex;
}

.login-form-otp-wrap-country-dropdown
{
    position: absolute;
    padding: 12px 15px;
    width: 280%;
    margin-top: 16px;
    background-color: rgb(255, 255, 255);
    border-radius: 16px;
    display: none;
    box-shadow: 0 0 20px 2px #0000002e;
    height: 262px;
    overflow: auto;
}

.login-form-otp-wrap-country-dropdown > div:not(.login-form-otp-wrap-country-dropdown-search) > div
{
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.login-form-otp-wrap-country-dropdown > div:not(.login-form-otp-wrap-country-dropdown-search) > div:hover
{
    background-color: #0000001c;
}

.login-form-otp-wrap-country-dropdown > div:not(.login-form-otp-wrap-country-dropdown-search)
{
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.login-form-otp-wrap .welcome-text
{
    padding-top: 16px;
    margin-bottom: 16px;
    font-size: 37px;
    text-align: center;
    font-weight: 600;
}

.login-form-otp-wrap-country-selection-prefix,
.login-form-otp-wrap-phone-field-wrapper > svg,
.login-form-otp-wrap-otp-fields-whatsapp-button,
.login-form-otp-wrap-otp-fields-more-options,
.login-form-otp-wrap-otp-fields-whatsapp-button-change-number,
.login-form-otp-wrap-otp-fields-whatsapp-button-verify-code
{
    cursor: pointer;
    position:relative;
}

.select-options-text
{
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0 !important;
    font-size: 14px;
    font-weight: 500;
}

.login-form-otp-wrap-otp-fields-whatsapp-button:hover,
.login-form-otp-wrap-otp-fields-whatsapp-button-verify-code:hover
{
    background-color: #34ce57;
}
.login-form-otp-wrap-otp-fields-more-options-google:hover,.login-form-otp-wrap-otp-fields-whatsapp-button-change-number:hover {
    background: #f5f5f5;
}
.login-form-otp-wrap-otp-fields-whatsapp-button,
.login-form-otp-wrap-otp-fields-whatsapp-button-change-number,
.login-form-otp-wrap-otp-fields-whatsapp-button-verify-code
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #36aa71;
    color: white;
    font-size: 16px;
    text-align: center;
    padding: 12px 0;
    border-radius: 90px;
    width: 100%;
    font-weight: 600;
    border:0;
}

.login-form-otp-wrap-otp-fields-whatsapp-button-change-number,
.login-form-otp-wrap-otp-fields-whatsapp-button-verify-code
{
    display: none;
}

.login-form-otp-wrap-otp-fields-whatsapp-button-verify-code
{
    margin-top: 0;
}

.login-form-otp-wrap-otp-fields-whatsapp-button-change-number
{
    background: transparent !important;
    color: #36aa71;
}

.login-form-otp-wrap-otp-fields-more-options-text
{
    text-align: center;
    color: #999;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.login-form-otp-wrap-otp-fields-more-options-text hr{
    width:30%;
}
.login-form-otp-wrap
{
    display:flex;
    flex-direction: column;
    gap: 12px;
}

.login-form-otp-wrap-otp-fields-more-options-google > svg
{
    width: 24px;
}

.login-form-otp-wrap-otp-fields-more-options-google
{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(255, 255, 255);
    color:  #47474d;
    border: 1px solid rgb(205, 206, 208);
    border-radius: 43px;
    font-size: 16px;
    width: 100%;
    font-weight: 600;
    padding: 10px 0;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', serif;
}

.login-form-otp-wrap-otp-fields-terms {
    text-align: center;
    font-size: 13px;
    margin-top: 8px;
    color: #a5a5a5;
}
/*span.hz-social-messages {*/
/*    display:none;*/
/*    background: #ffc9c9;*/
/*    padding: 8px;*/
/*    border-radius: 8px;*/
/*    color: #690000;*/
/*}*/

.login-form-otp-wrap-country-selection-prefix-text,
.login-form-otp-wrap-phone-field-prefix-text
{
    font-size: 12px;
    font-weight: 500;
    color: rgb(98, 99, 100);
}

.loader {
    display: none;
/*    width: 20px;*/
/*    aspect-ratio: 1;*/
/*    border-radius: 50%;*/
/*    border: 8px solid #0000;*/
/*    border-right-color: #1fff0097;*/
/*    position: relative;*/
/*    animation: l24 1s infinite linear;*/
}
.loader-green {
    color: #36aa71 !important;
}
/*.loader:before,*/
/*.loader:after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    inset: -8px;*/
/*    border-radius: 50%;*/
/*    border: inherit;*/
/*    animation: inherit;*/
/*    animation-duration: 2s;*/
/*}*/
/*.loader:after {*/
/*    animation-duration: 4s;*/
/*}*/
/*@keyframes l24 {*/
/*    100% {transform: rotate(1turn)}*/
/*}*/

#timer
{
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.login-form-otp-wrap-country-dropdown-search *
{
    transition: 0.3s;
}

.login-form-otp-wrap-country-dropdown-search
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #d3d3d3;
    gap: 10px;
}

.login-form-otp-wrap-country-dropdown-search-icon.active,
.login-form-otp-wrap-country-dropdown-search-icon:hover
{
    background-color: #65e070;
}

.login-form-otp-wrap-country-dropdown-search-icon
{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background-color: #a9e0ae;
    border-radius: 7px;
}

.login-form-otp-wrap-country-dropdown-search-icon.active
{
    width: 30px;
    height: 30px;
}

.login-form-otp-wrap-country-dropdown-search-icon svg
{
    width: 24px;
    height: 24px;
}

.login-form-otp-wrap-country-dropdown-search-icon path
{
    stroke: white;
}

.login-form-otp-wrap-country-dropdown-search-input.active
{
    display: block;
}

.login-form-otp-wrap-country-dropdown-search-input
{
    display: none;
    flex-grow: 1;
}

.login-form-otp-wrap-country-dropdown-search-input input
{
    width: 0;
    opacity: 0;
    padding: 0;
    border: none;
    outline: none;
    transition: width 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    background-color: #f0f0f0;
    border-radius: 7px;
}

.login-form-otp-wrap-country-dropdown-search-input input.active
{
    width: 100%;
    opacity: 1;
    padding: 3px 12px;
    border: 1px solid #dedede;
}

.login-form-otp-wrap-country-dropdown > div:not(.login-form-otp-wrap-country-dropdown-search) > div.active::before
{
    content: url('data:image/svg+xml,%3Csvg fill="%23000000" width="24px" height="24px" viewBox="0 0 24 24" id="check-mark-circle" data-name="Line Color" xmlns="http://www.w3.org/2000/svg" class="icon line-color"%3E%3Cg id="SVGRepo_bgCarrier" stroke-width="0"%3E%3C/g%3E%3Cg id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"%3E%3C/g%3E%3Cg id="SVGRepo_iconCarrier"%3E%3Cpolyline id="secondary" points="8 11.5 11 14.5 16 9.5" style="fill: none; stroke: %2336aa71; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;"%3E%3C/polyline%3E%3Crect id="primary" x="3" y="3" width="18" height="18" rx="9" style="fill: none; stroke: %2336aa71; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;"%3E%3C/rect%3E%3C/g%3E%3C/svg%3E');
    position: absolute;
    right: 20px;
    width: 24px;
    height: 24px;
}

.login-form-otp-wrap-country-dropdown > div:not(.login-form-otp-wrap-country-dropdown-search) > div.active
{
    background-color: #0000001c;
}

@media (max-width: 352px)
{
    .login-form-otp-wrap-otp-fields-wrapper
    {
        flex-direction: column;
        gap: 0;
    }

    .login-form-otp-wrap-country-selection-prefix,
    .login-form-otp-wrap-phone-field,
    .login-form-otp-wrap-phone-field-otp-code
    {
        width: 100%;
    }

    .login-form-otp-wrap-country-dropdown.expand
    {
        width: 100%;
    }
}
div#login-register-form .modal-dialog {
    transform: none !important;
}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {-webkit-background-clip: text;transition: background-color 5000s ease-in-out 0s;box-shadow: unset;}
.login-container input::placeholder {
    color: #8f8f8f !important;
}
input.login-form-otp-wrap-phone-field-wrapper-text-input-field-otp-code {
    text-align: center;
    letter-spacing: 11px;
}
button.login-form-otp-wrap-otp-fields-whatsapp-button:disabled,button.login-form-otp-wrap-otp-fields-whatsapp-button-verify-code:disabled {
    background: #7bc39d !important;
    pointer-events: none;

}
button.clear-input {
    background: transparent;
    border: 0;
    display:none;
    font-size: 19px;
    position: relative;
    bottom: 4px;
    right: 8px;
}
button.clear-input.hidden {
    display: none;
}
.login-form-otp-wrap-country-dropdown.expand {
    z-index: 999;
}
img.country-abbr {
    width: 20px;
    margin-bottom: 4px;
    border-radius: 4px;
    margin-right: 2px;
}
.countries-list span.country-code {
    margin-right: 6px;
    font-weight: bold;
}
.countries-list span.country-name {
    color: #898989;
}
button.hz-google-login:disabled,.hz-facebook-login:disabled {
    opacity: .5;
    pointer-events: none !important;
    cursor: unset !important;
}
span.spinner-border.spinner-border-sm.text-white.loader {
    display: none;
}
.otp-input-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0;
    direction: ltr;
    width:100%;
}

.otp-digit {
    width: 50px;
    height: 56px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.2s ease;
    outline: none;
    caret-color: transparent;
}

.otp-digit:focus {
    border-color: #36aa71;
    box-shadow: 0 0 0 3px rgb(54 170 113 / 12%);
    transform: scale(1.05);
}

.otp-digit.filled {
    border-color: #28a745;
    background: #f8fff9;
    color: #28a745;
}

.otp-digit.error {
    border-color: #dc3545;
    background: #fff5f5;
    animation: shake 0.5s ease-in-out;
}

.otp-digit:disabled {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.otp-actions {
    text-align: center;
    margin-top: 20px;
}

.otp-resend-btn {
    background: none;
    border: none;
    color: #6d6d6d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.otp-resend-btn:hover:not(:disabled) {
    background: #34ce57;
    transform: translateY(-1px);
}
.otp-resend-btn span{
    color:white;
}
.otp-resend-btn:disabled span{
    color: #6c757d;
}
.otp-resend-btn:disabled {
    color: #6c757d;
    cursor: not-allowed;
    background: transparent !important;
}

.resend-timer {
    color: #6c757d;
}

/* Success animation */
.otp-success {
    animation: successPulse 0.6s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Loading state */
.otp-digit.loading {
    position: relative;
    overflow: hidden;
}

.otp-digit.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 34, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .otp-digit {
        width: 48px;
        height: 54px;
        font-size: 20px;
    }

    .otp-input-container {
        gap: 8px;
    }
    .header-mobile-center {
        width: 100%;
        position: absolute;
    }
    .header-mobile-right{
        position: absolute;
        right:8px;

    }
}
/*span.resend-timer {*/
/*    color: #36aa71;*/
/*    font-weight: bold;*/
/*}*/
/* Toast Container */
.toast-container {
    position: fixed !important;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
    max-width: 400px;
}

/* Toast Styles */
.toast {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    position: relative;
    max-width: 100%;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Toast Types */
.toast.success {
    border-left: 4px solid #28a745;
    color: #155724;
    background: #f8fff9;
}

.toast.success::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.toast.error {
    border-left: 4px solid #dc3545;
    color: #721c24;
    background: #fff5f5;
}

.toast.error::before {
    content: "✕";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.toast.warning {
    border-left: 4px solid #ffc107;
    color: #856404;
    background: #fffdf7;
}

.toast.warning::before {
    content: "⚠";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ffc107;
    color: #212529;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.toast.info {
    border-left: 4px solid #17a2b8;
    color: #0c5460;
    background: #f7fdff;
}

.toast.info::before {
    content: "i";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #17a2b8;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Toast Close Button */
.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 16px;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.toast-close:hover {
    opacity: 1;
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    transition: width linear;
}

.toast.success .toast-progress {
    background: #28a745;
}

.toast.error .toast-progress {
    background: #dc3545;
}

.toast.warning .toast-progress {
    background: #ffc107;
}

.toast.info .toast-progress {
    background: #17a2b8;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        font-size: 13px;
        padding: 12px 16px;
    }
}

/* RTL Support */
[dir="rtl"] .toast-container {
    right: auto;
    left: 20px;
}

[dir="rtl"] .toast {
    transform: translateX(-100%);
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .toast {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }

    .toast.success {
        background: #1a202c;
        color: #9ae6b4;
    }

    .toast.error {
        background: #1a202c;
        color: #feb2b2;
    }

    .toast.warning {
        background: #1a202c;
        color: #faf089;
    }

    .toast.info {
        background: #1a202c;
        color: #90cdf4;
    }
}
input[type=number].otp-digit::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
/*.btn.otp-resend-btn {*/
/*    border-radius: 90px;*/
/*    background: #36aa71 !important;*/
/*    color: white !important;*/
/*    opacity: 1;*/
/*}*/
/*.btn.otp-resend-btn span{*/
/*    color:white;*/
/*}*/
/*.btn.otp-resend-btn:disabled span{*/
/*    color: #004322;*/
/*}*/
.login-form-header{
    text-align: center;
    font-weight: 600;
    font-size: 26px;
    margin-bottom: 12px;

}
/*.sent-message-guid{*/
/*    display:none;*/
/*    background: #d4f1e3;*/
/*    border: 1px solid #cad5d0;*/
/*    padding: 12px 12px;*/
/*    border-radius: 5px;*/
/*    color: #4f4d4d;*/
/*    font-size: 15px;*/
/*}*/
/*.sent-message-guid strong{*/
/*    color: #2e4132;*/
/*}*/
.otp-resend-btn {
    cursor: not-allowed;
    background: #3dac76;
    color: white;
    border-radius: 50px;
    padding: 12px;
}