/* Hide the login prompt and login form - unified flow replaces them */
.loginotp-unified-active .offer-login,
.loginotp-unified-active #login-form,
.loginotp-unified-active .login-block-moved,
.loginotp-unified-active .overlay-email {
    display: none !important;
}

/* Hide account details (name, password, etc.) until email step resolves */
.loginotp-checkout-details {
    display: none;
}


div#tc-container #thecheckout-account .form-group:first-child, div#tc-container-mobile #thecheckout-account .form-group {
    margin-bottom: 0px !important;
}


div#tc-container #thecheckout-account  .form-group.lastname.text{
    padding-top: 0px;
    margin-bottom: 0px !important;
}

div#tc-container #thecheckout-account .form-group.firstname.text, div#tc-container-mobile #thecheckout-account .form-group.firstname.text {
    padding-top: 30px;
}

#thecheckout-account form.account-fields .form-group.email input.form-control {
    margin-bottom: 0px;
}

div#tc-container-mobile #thecheckout-account .form-group.lastname.text {
    padding-top: 30px;
}

#thecheckout-account .notice-msg {
    margin: 20px 0 20px;
}

button#loginotp-continue-btn {
    margin-top: 0px
}

#thecheckout-account .loginotp-checkout-details {
    width: 100%;
}

/* OTP panel styling */
#loginotp-panel {
    max-width: none;
    width: 100%;
    margin-top: 1rem;
}


#loginotp-panel #loginotp-verify-btn {
    background: #9b1b50 !important;
    border-color: #9b1b50 !important;
    color: #fff !important;
}

#loginotp-panel #loginotp-resend-btn {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

/* Continue button (initial state) */
#loginotp-continue-btn {
    margin-top: 0.75rem;
    width: 100%;
}

/* Send code button (registered users) */
#loginotp-send-btn {
    margin-top: 0.75rem;
    width: 100%;
}

/* Register button */
#loginotp-register-btn {
    margin-top: 0.75rem;
    width: 100%;
    background: #9b1b50 !important;
    border-color: #9b1b50 !important;
    color: #fff !important;
}

/* Intro text */
.loginotp-checkout-intro {
    margin-bottom: 1rem;
    color: #555;
    font-size: 0.95rem;
}

/* Alert in checkout form */
#loginotp-form-error {
    margin-top: 0.5rem;
}

/* Digits */
.loginotp-digits {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.loginotp-digits-group {
    display: flex;
    gap: 6px;
}

.loginotp-digit {
    width: 42px;
    height: 48px;
    text-align: center;
    font-size: 1.3rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}

.loginotp-digit:focus {
    border-color: #9b1b50;
    box-shadow: 0 0 0 2px rgba(155, 27, 80, 0.15);
}

.loginotp-sep {
    font-size: 1.5rem;
    color: #999;
    margin: 0 4px;
}
