/* ================= کارت اصلی ================= */
.agnes-otp-box {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 0 25px rgba(0,0,0,.04);
    border-radius: 6px;
    padding: 40px 35px;
    margin: 40px auto;
    max-width: 440px;
    width: 100%;
    text-align: right;
    box-sizing: border-box;
    direction: rtl;
    font-family: inherit;
}

.agnes-otp-box h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #222;
    margin: 0 0 30px;
}

/* ================= فیلدها ================= */
.agnes-otp-box input[type="text"],
.agnes-otp-box input[type="tel"],
.agnes-otp-box input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 16px;
    box-sizing: border-box;
    font-size: 14px;
    background: #fff;
    text-align: right;
    transition: border-color .2s;
    font-family: inherit;
    outline: none;
}

.agnes-otp-box input:focus {
    border-color: #ff5c00;
}

.agnes-otp-box input::placeholder {
    color: #999;
}

/* ================= دکمه نارنجی ================= */
.agnes-otp-box .agnes-btn {
    width: 100%;
    background: #ff5c00;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    font-family: inherit;
    transition: background .2s;
    margin-top: 4px;
}

.agnes-otp-box .agnes-btn:hover {
    background: #e65200;
}

.agnes-otp-box .agnes-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ================= لینک بازگشت ================= */
.agnes-otp-box .link {
    background: none;
    border: none;
    color: #ff5c00;
    cursor: pointer;
    margin-top: 12px;
    font-size: 13px;
    font-family: inherit;
    padding: 0;
}

/* ================= پیام ================= */
.agnes-msg {
    margin-top: 14px;
    font-size: 13px;
    text-align: center;
    min-height: 18px;
}
.agnes-msg.err { color: #e02020; }
.agnes-msg.ok  { color: #00a04d; }

/* ================= متن مرحله دوم ================= */
.agnes-otp-box p {
    font-size: 13px;
    color: #555;
    margin: 0 0 16px;
    text-align: right;
}

/* ================= چک‌باکس ================= */
.agnes-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #333;
    margin: 4px 0 16px;
    cursor: pointer;
}
.agnes-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff5c00;
    cursor: pointer;
}

/* ================= ردیف لینک‌های پایین ================= */
.agnes-links {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
}
.agnes-links a {
    color: #ff5c00;
    text-decoration: none;
}
.agnes-links a:hover {
    text-decoration: underline;
}
.agnes-links .agnes-sep {
    color: #999;
    margin: 0 8px;
}

/* ================= فیلد رمز با آیکون چشم ================= */
.agnes-pass-wrap {
    position: relative;
    margin-bottom: 16px;
}
.agnes-pass-wrap input {
    margin-bottom: 0 !important;
    padding-left: 44px !important;
}
.agnes-eye {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 17px;
    color: #999;
    padding: 4px;
    line-height: 1;
}
.agnes-eye:hover { color: #ff5c00; }

/* ================= موبایل ================= */
@media (max-width: 520px) {
    .agnes-otp-box {
        padding: 28px 20px;
        margin: 20px auto;
        border: none;
        box-shadow: none;
    }
}