@font-face {
    font-family: 'AzarMehr';
    font-style: normal;
    font-weight: 300;
    font-display: auto;
    src: url('../style/FONT/300-AzarMehr-FD-Light-1.woff2') format('woff2'), url('../style/FONT/300-AzarMehr-FD-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'AzarMehr';
    font-style: normal;
    font-weight: 400;
    font-display: auto;
    src: url('../style/FONT/400-AzarMehr-FD-Regular-1.woff2') format('woff2'), url('../style/FONT/400-AzarMehr-FD-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'AzarMehr';
    font-style: normal;
    font-weight: 500;
    font-display: auto;
    src: url('../style/FONT/500-AzarMehr-FD-Medium-1.woff2') format('woff2'), url('../style/FONT/500-AzarMehr-FD-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'AzarMehr';
    font-style: normal;
    font-weight: 600;
    font-display: auto;
    src: url('../style/FONT/600-AzarMehr-FD-SemiBold-1.woff2') format('woff2'), url('../style/FONT/600-AzarMehr-FD-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'AzarMehr';
    font-style: normal;
    font-weight: 700;
    font-display: auto;
    src: url('../style/FONT/700-AzarMehr-FD-Bold-1.woff2') format('woff2'), url('../style/FONT/700-AzarMehr-FD-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'AzarMehr';
    font-style: normal;
    font-weight: 800;
    font-display: auto;
    src: url('../style/FONT/800-AzarMehr-FD-ExtraBold-1.woff2') format('woff2'), url('../style/FONT/800-AzarMehr-FD-ExtraBold.ttf') format('truetype');
}

* { 
    font-family: 'AzarMehr' !important; 
}

body {
    margin: 0;
    background: #f3f5f9;
    font-family: AzarMehr Tahoma, sans-serif;
    direction: rtl;
    color: #172033;
}

.otp-page {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(11, 99, 206, 0.12), transparent 32%), radial-gradient(circle at bottom left, rgba(22, 163, 74, 0.08), transparent 28%), #f3f5f9;
}

.otp-shell {
    width: 100%;
    max-width: 1040px;
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 28px;
    align-items: stretch;
}

.otp-info-panel {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(18, 38, 63, 0.08);
    overflow: hidden;
    position: relative;
}

.otp-info-top {
    padding: 34px 36px;
    border-bottom: 4px solid #0b63ce;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.otp-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.otp-brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 900;
}

.otp-brand-text strong {
    display: block;
    font-size: 28px;
    color: #0b63ce;
    font-weight: 900;
    line-height: 1.4;
}

.otp-brand-text span {
    display: block;
    color: #526176;
    font-size: 13px;
    margin-top: 2px;
}

.otp-info-title {
    margin: 0;
    color: #101828;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.8;
}

.otp-info-subtitle {
    margin: 12px 0 0;
    color: #526176;
    font-size: 12px;
    line-height: 2;
    max-width: 620px;
}

.otp-info-body {
    padding: 28px 36px 34px;
}

.otp-steps {
    display: grid;
    gap: 14px;
}

.otp-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    border: 1px solid #edf1f7;
    border-radius: 16px;
    background: #fbfdff;
    padding: 16px 18px;
}

.otp-step-number {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #e8f1ff;
    color: #0b63ce;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
}

.otp-step-title {
    display: block;
    color: #0b315f;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.otp-step-text {
    color: #5b6b80;
    font-size: 13px;
    line-height: 1.9;
}

.otp-card {
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(18, 38, 63, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.otp-card-header {
    padding: 30px 30px 24px;
    background: #f8fbff;
    border-bottom: 1px solid #dbe4f0;
    text-align: center;
}

.otp-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 24px;
    background: #0b63ce;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 16px 35px rgba(11, 99, 206, 0.25);
}

.otp-card-header h2 {
    margin: 0;
    font-size: 18px;
    color: #101828;
    font-weight: 600;
}

.otp-card-header p {
    margin: 10px 0 0;
    color: #526176;
    font-size: 12px;
    line-height: 1.8;
}

.otp-card-body {
    padding: 28px 30px 30px;
}

.otp-alert {
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

    .otp-alert.error {
        background: #fff1f2;
        border: 1px solid #fecdd3;
        color: #be123c;
    }

    .otp-alert.success {
        background: #ecfdf5;
        border: 1px solid #bbf7d0;
        color: #15803d;
    }

.otp-form-group {
    margin-bottom: 18px;
}

.otp-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    color: #40536b;
    font-weight: 600;
    font-size: 14px;
}

    .otp-label small {
        color: #8a95a6;
        font-weight: 700;
        font-size: 11px;
    }

.otp-input-wrap {
    position: relative;
}

.otp-input-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #0b63ce;
    font-size: 18px;
    pointer-events: none;
}

.otp-input {
    width: 100%;
    box-sizing: border-box;
    height: 45px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: #fcfdff;
    color: #172033;
    font-size: 16px;
    font-weight: 400;
    padding: 0 46px 0 14px !important;
    outline: none;
    direction: ltr;
    text-align: left;
    transition: .2s;
    font-family: Tahoma, sans-serif;
}

    .otp-input:focus {
        border-color: #0b63ce;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(11, 99, 206, 0.10);
    }

.otp-help {
    margin-top: 9px;
    color: #7b8797;
    font-size: 12px;
    line-height: 1.8;
}

.otp-submit {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: #0b63ce;
    color: #fff;
    font-family: Tahoma, sans-serif;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s;
    box-shadow: 0 14px 28px rgba(11, 99, 206, 0.22);
}

    .otp-submit:hover {
        opacity: .9;
        transform: translateY(-1px);
    }

.otp-secure-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #edf1f7;
    color: #526176;
    font-size: 12px;
    line-height: 1.9;
}

    .otp-secure-note strong {
        color: #0b315f;
    }

.otp-footer {
    padding: 16px 30px 24px;
    border-top: 1px solid #edf1f7;
    color: #8a95a6;
    font-size: 12px;
    text-align: center;
    line-height: 1.8;
    background: #fbfdff;
}

@media (max-width: 900px) {
    .otp-shell {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .otp-info-panel {
        display: none;
    }
}

@media (max-width: 520px) {
    .otp-page {
        padding: 20px 14px;
    }

    .otp-card-header,
    .otp-card-body,
    .otp-footer {
        padding-left: 22px;
        padding-right: 22px;
    }

        .otp-card-header h2 {
            font-size: 21px;
        }
}
