﻿

.otp-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    background: rgba(20, 16, 12, 0.6);
    display: none;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    padding: 16px;
    box-sizing: border-box;
}

    .otp-overlay.show {
        display: flex !important;
    }

.otp-card {
    position: relative;
    box-sizing: border-box;
    background: #ffffff;
    width: 340px;
    max-width: 100%;
    border-radius: 22px;
    padding: 28px 26px 26px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;*/
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
}

.otp-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: none;
    font-size: 20px;
    line-height: 1;
    color: #9a9a9a;
    cursor: pointer;
    padding: 4px;
}

    .otp-close:hover {
        color: #444;
    }

.otp-subtitle {
    font-size: 14.5px;
    color: #6b6b6b;
    line-height: 1.4;
    padding-right: 18px;
    margin: 0;
}

.otp-phone {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 4px;
}

.otp-input {
    box-sizing: border-box;
    width: 100% !important;
    margin-top: 22px !important;
    padding: 16px 18px !important;
    border: none !important;
    border-radius: 999px !important;
    background: #ececec !important;
    font-size: 15px;
    color: #1a1a1a;
    outline: none;
}

    .otp-input::placeholder {
        color: #9a9a9a;
    }

    .otp-input:focus {
        box-shadow: 0 0 0 2px #e67817;
    }

.otp-timer {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a !important;
}

.otp-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.otp-btn {
    flex: 1;
    border: none !important;
    border-radius: 999px;
    padding: 15px 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s ease, transform 0.05s ease;
}

    .otp-btn:active {
        transform: scale(0.98);
    }

.otp-btn-continue {
    background: #e67817 !important;
    color: #ffffff !important;
}

    .otp-btn-continue:hover {
        background: #d56d12 !important;
    }

.otp-btn-resend {
    background: #dde1f2 !important;
    color: #4a4a4a !important;
}

    .otp-btn-resend:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .otp-btn-resend:not(:disabled):hover {
        background: #cfd4ea !important;
    }

/* --- demo page content below, delete this block on your real site --- */

.page {
    text-align: center;
}

    .page p {
        color: #555;
        margin-bottom: 18px;
        font-size: 15px;
    }

.commanBtn {
    border: none;
    border-radius: 999px;
    padding: 15px 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    font-family: inherit;
    color: #fff;
    background: #e67817;
}

    .commanBtn:hover {
        background: #d56d12;
    }
.otp-error {
    color: #e02424;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    display: none;
    text-align:center;
}