/* Login / register / recover panel — used both inside the popup modal and
   embedded on the WooCommerce my-account page. */

.atour-otp-login-wrap {
    background: #fff;
    color: #1c1c28;
    border-radius: 16px;
    padding: 32px 28px;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 10px 40px -12px rgba(0,0,0,.25);
    text-align: center;
}

.atour-otp-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1c1c28;
}

.atour-otp-subtitle {
    font-size: .9rem;
    color: #6c757d;
    margin: 0 0 20px;
}

.atour-otp-field {
    margin-bottom: 16px;
    position: relative;
    text-align: right;
}

.atour-otp-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid #e5e7eb;
    background: #f7f7fa;
    border-radius: 10px;
    color: #1c1c28;
    outline: none;
    transition: border-color .15s ease-in-out;
}

.atour-otp-input:focus {
    background: #fff;
}

.atour-otp-password-field .atour-otp-input {
    padding-left: 44px;
}

.atour-otp-toggle-password {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9aa0a6;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}

.atour-otp-edit-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f1f4;
    color: #6c757d;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: .85rem;
    cursor: pointer;
    margin: 0 auto 20px;
}

.atour-otp-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity .15s ease-in-out;
}

.atour-otp-btn:disabled {
    opacity: .6;
    cursor: default;
}

.atour-otp-btn-primary {
    background: #2f6fed;
    color: #fff;
}

.atour-otp-btn-primary:hover:not(:disabled) {
    opacity: .92;
}

.atour-otp-link {
    display: block;
    width: 100%;
    background: none;
    border: none;
    text-align: center;
    color: #2f6fed;
    font-size: .9rem;
    margin-top: 14px;
    cursor: pointer;
    padding: 4px;
}

.atour-otp-link:disabled {
    color: #9aa0a6;
    cursor: default;
}

.atour-otp-link-inline {
    background: none;
    border: none;
    color: #2f6fed;
    font-size: .85rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    display: inline;
}

.atour-otp-hint {
    font-size: .85rem;
    color: #6c757d;
    margin: 14px 0 0;
}

/* مرا به خاطر بسپار */
.atour-otp-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: .88rem;
    color: #4a5a56;
    cursor: pointer;
    user-select: none;
}
.atour-otp-remember-input {
    width: 17px;
    height: 17px;
    margin: 0;
    flex: none;
    accent-color: var(--vt-green, #00b894);
    cursor: pointer;
}

.atour-otp-digits {
    display: flex;
    justify-content: center;
    gap: 10px;
    direction: ltr;
    margin-bottom: 16px;
}

.atour-otp-digit {
    width: 52px;
    height: 52px;
    text-align: center;
    font-size: 1.3rem;
    color: #212529;
    border: 1px solid #e5e7eb;
    background: #f7f7fa;
    border-radius: 10px;
    outline: none;
}

.atour-otp-digit:focus {
    background: #fff;
}

.atour-otp-digit:disabled {
    opacity: .6;
}

.atour-otp-timer {
    text-align: center;
    color: #6c757d;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 16px;
}

.atour-otp-timer .atour-otp-timer-count {
    direction: ltr;
    display: inline-block;
}

.atour-otp-message {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .85rem;
    text-align: center;
}

.atour-otp-message.atour-otp-error {
    background: #fdecea;
    color: #b3261e;
}

.atour-otp-message.atour-otp-success {
    background: #e8f5e9;
    color: #1b5e20;
}

/* Popup modal specifics */
.atour-otp-modal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.atour-otp-modal .modal-body {
    position: relative;
    padding: 0;
}

.atour-otp-modal .atour-otp-login-wrap {
    box-shadow: none;
    max-width: none;
    border-radius: 0;
}

.atour-otp-close {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
}
