/* assets/css/simple-otp-auth.css */

h2.login-desc,
h4.login-desc {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

#recaptcha-container > div {
    margin: 0 auto;
}
.enter-cell label,
.otp-input-group label {
    color: var(--Secondary-Grey, #706F6F);
    /* Product/Title */
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 112.6%; /* 13.512px */
}

#login-identifier {
    border-radius: 5px;
    background: rgba(24, 33, 74, 0.10);
}
#send-login-otp,
.simple-otp-form .form-group button {
    width: 100%;
    border-radius: 137px;
    background: var(--Primary-Blue, #00AEEF);

    display: flex;
    padding: 10px 20px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    align-self: stretch;

    color: var(--Primary-White, #FFF);
    text-align: center;

    /* Navigation Button */
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.64px;
    text-transform: uppercase;

    cursor:pointer;
}
button.start-btn {
    margin-bottom:15px;
}
button.start-btn:disabled {
    background: #706F6F;
    cursor: not-allowed;
}

label.remember-me {
    margin-bottom: 20px !important;
    display: flex !important;
    gap: 5px;
}

.simple-otp-form {
    max-width: 310px;
    margin: 20px auto;
    /* padding: 20px; */
    /* border: 1px solid #ddd; */
    /* border-radius: 5px; */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.simple-otp-form .form-group {
    margin-bottom: 15px;
}

.simple-otp-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.simple-otp-form .form-group input[type="tel"],
.simple-otp-form .form-group input[type="email"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px; /* Prevent zoom on mobile */
}

/* .simple-otp-form .form-group button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.simple-otp-form .form-group button:hover {
    background: #005177;
} */

/* OTP Boxes */
.simple-otp-form .otp-boxes {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 5px;
}

.otp-form-error {
    border-left: 4px solid red;
    background-color: var(--color-mid-grey);
    padding: 10px;
    margin-bottom: 20px;
}

.otp-form-error p.error-message {
    margin: 0;
    font-weight: bold;
    font-size: 12px;
}

/* .simple-otp-form .otp-box {
    width: 40px;
    height: 50px;
    padding: 0;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 4px;
    background: #f9f9f9;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
} */

.simple-otp-form input.otp-box {
    display: flex;
    height: 47px;
    width: 47px;
    /* padding: 10px 20px; */
    justify-content: center;
    align-items: center;
    /* flex: 1 0 0; */
    background: rgba(24, 33, 74, 0.10);
    text-align: center;
    font-size: 24px;
    border: 0px;
    border-width: 0px !important;
    border-radius: 0px !important;
}

.simple-otp-form .otp-box:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.simple-otp-form .otp-input-group {
    position: relative;
}

.simple-otp-form .otp-input-group p {
    color: #706F6F;
    font-size: 12px;
    font-weight: 500;
}

.simple-otp-form .otp-input-group p a {
    text-decoration: underline;
    font-weight: 700;;
}

.simple-otp-form .otp-input-group .timer {
    font-weight: 500;
    min-width: 60px;
    color: #666;
    display: block;
    text-align: right;
    margin: 10px 0;
    font-size: 12px;
}

.login-form ~ .buttons {
    margin-top: 15px !important;
}

span.resend-otp {
    text-decoration: underline;
    font-weight: 700;
    cursor:pointer;
}

.recaptcha-info {
    margin: 10px 0;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 12px;
    color: #6c757d;
}

.recaptcha-badge {
    display: flex;
    align-items: center;
    gap: 5px;
}

.recaptcha-status.verifying .recaptcha-info {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.recaptcha-status.verified .recaptcha-info {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.recaptcha-status.failed .recaptcha-info {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .simple-otp-form .otp-box {
        width: 36px;
        height: 45px;
        font-size: 20px;
    }
}