@charset "UTF-8";
@font-face {
    font-family: Sahel;
    src: url('../fonts/Sahel-FD.eot');
    src: url('../fonts/Sahel-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Sahel-FD.woff2') format('woff2'), url('../fonts/Sahel-FD.woff') format('woff'), url('../fonts/Sahel-FD.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: SahelB;
    src: url('../fonts/Sahel-Bold-FD.eot');
    src: url('../fonts/Sahel-Bold-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Sahel-Bold-FD.woff2') format('woff2'), url('../fonts/Sahel-Bold-FD.woff') format('woff'), url('../fonts/Sahel-Bold-FD.ttf') format('truetype');
}

@font-face {
    font-family: SahelT;
    src: url('fonts/Sahel-Black-FD.eot');
    src: url('fonts/Sahel-Black-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Sahel-Black-FD.woff2') format('woff2'), url('../fonts/Sahel-Black-FD.woff') format('woff'), url('../fonts/Sahel-Black-FD.ttf') format('truetype');
}

:root {
    --auth-bg-start: #0f172a;
    --auth-bg-end: #1f2937;
    --auth-card-bg: rgba(15, 23, 42, 0.65);
    --auth-card-border: rgba(255, 255, 255, 0.08);
    --auth-primary: #22c55e;
    --auth-primary-dark: #16a34a;
    --auth-muted: #94a3b8;
    --auth-text: #e2e8f0;
    --auth-danger: #f87171;
    --auth-radius: 28px;
    --auth-transition: 200ms ease;
    font-family: Sahel, 'IRANSans', sans-serif;
}

body {
    background: linear-gradient(45deg, rgb(0 0 0 / 80%), rgb(95 0 0 / 80%)), url(../images/login/BistBodyloginImage.jpg);
    /* background: radial-gradient(circle at top, var(--auth-bg-end) 0%, var(--auth-bg-start) 60%); */
    background: linear-gradient(45deg, rgb(0 0 0 / 80%), rgb(201 255 225 / 80%)), url(../images/login/BistBodyloginImage.jpg);
    background-size: cover;
    background-position: center;
    /* font-family: 'Lato', sans-serif; */
    /* display: flex; */
    justify-content: center;
    /* align-items: center; */
    /* height: 100vh; */
    /* margin: 0;tBodyloginImage.jpg);*/
}

.auth-wrapper {
    min-height: 100vh;
    padding: clamp(2rem, 4vw, 4rem) 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: radial-gradient(circle at top, rgba(59, 130, 246, 0.15), rgba(34, 197, 94, 0.08)), var(--auth-bg-start); */
    direction: rtl;
}

.auth-card {
    width: min(960px, 100%);
    background: rgb(0 20 12 / 18%);
    /* backdrop-filter: blur(20px); */
    border-radius: var(--auth-radius);
    border: 1px solid var(--auth-card-border);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.55);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    overflow: hidden;
    color: var(--auth-text);
    direction: ltr;
    text-align: end;
}

.auth-card__hero {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(59, 130, 246, 0.2));
    border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-card__hero::after {
    content: "";
    position: absolute;
    inset: 1.5rem;
    border-radius: 32px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

    .auth-card__hero h1 {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 1rem;
        color: white;
        direction: rtl;
        text-align: center;
    }

    .auth-card__hero p {
        font-size: .8rem;
        color: rgba(226, 232, 240, 0.85);
        line-height: 1.8;
        direction: rtl;
        text-align: justify;
    }

.status-badges {
    display: grid;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    text-align: center;
}

.status-badge {
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.status-badge i {
    color: var(--auth-primary);
}

.auth-card__content {
    padding: clamp(2rem, 4vw, 3rem);
    background: radial-gradient(circle at bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.9));
}

.auth-form-header h2 {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.auth-form-header p {
    color: var(--auth-muted);
    margin-bottom: 1.8rem;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}

.auth-input-group label {
    font-size: 0.95rem;
    color: var(--auth-text);
}

.auth-input,
.auth-select {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.35);
    color: white;
    padding: 0.95rem 1.2rem;
    font-size: 1rem;
    transition: var(--auth-transition);
}

.auth-input:focus,
.auth-select:focus {
    outline: none;
    border-color: rgba(34, 197, 94, 0.7);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.auth-btn {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 0.95rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    background: linear-gradient(120deg, var(--auth-primary), var(--auth-primary-dark));
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.4);
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.auth-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(34, 197, 94, 0.45);
}

.auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-btn--ghost {
    background: transparent;
    color: var(--auth-text);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: none;
}

.auth-btn--ghost:hover {
    border-color: rgba(34, 197, 94, 0.6);
    color: #fff;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 2rem 0;
    color: var(--auth-muted);
    font-size: 0.95rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.4), transparent);
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 14px;
    border: 1px solid rgba(248, 250, 252, 0.25);
    padding: 0.9rem;
    color: var(--auth-text);
    transition: var(--auth-transition);
    direction: rtl;
}

.social-btn svg {
    width: 22px;
    height: 22px;
}

.social-btn:hover {
    border-color: rgba(248, 250, 252, 0.45);
}

.auth-validation .text-danger {
    color: var(--auth-danger);
    font-size: 0.9rem;
}

.otp-panel {
    margin-top: 1.5rem;
    padding: 1.3rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.25);
    text-align: center;
}

.otp-panel__timer {
    font-size: 2rem;
    letter-spacing: 2px;
    margin: 0.6rem 0;
    font-weight: 700;
}

.otp-panel__hint {
    color: var(--auth-muted);
    font-size: 0.95rem;
}

.otp-panel__resend {
    margin-top: 0.8rem;
    width: 100%;
    border-radius: 14px;
    border: 1px dashed rgba(148, 163, 184, 0.4);
    padding: 0.7rem;
    background: transparent;
    color: var(--auth-text);
    transition: var(--auth-transition);
}

.otp-panel__resend.is-ready {
    border-style: solid;
    border-color: rgba(34, 197, 94, 0.8);
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
}

.otp-panel__resend:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.otp-panel small {
    display: block;
    margin-top: 0.5rem;
    color: var(--auth-muted);
}

.auth-form-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.auth-form-actions button {
    flex: 1;
}

.text-error {
    color: var(--auth-danger);
    font-size: 0.87rem;
}

@media (max-width: 768px) {
    .auth-card__hero {
        border-inline-end: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
    }

    .auth-card__hero::after {
        inset: 1rem;
    }

    .auth-form-actions {
        flex-direction: column;
    }
}




