@import url('../lib/fontawesome/css/all.min.css');


@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/eot/IRANSansWeb_Black.eot');
    src: url('../fonts/eot/IRANSansWeb_Black.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Black.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Black.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Black.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/eot/IRANSansWeb_Bold.eot');
    src: url('../fonts/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Bold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Bold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/eot/IRANSansWeb_Medium.eot');
    src: url('../fonts/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/eot/IRANSansWeb_Light.eot');
    src: url('../fonts/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_Light.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_Light.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_Light.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot');
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb_UltraLight.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb_UltraLight.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/eot/IRANSansWeb.eot');
    src: url('../fonts/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/woff2/IRANSansWeb.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/woff/IRANSansWeb.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/ttf/IRANSansWeb.ttf') format('truetype');
}

:root {
    --primary: #1f4b99;
    --accent: #6bc3ff;
    --surface: #0f1624;
    --muted: #8fa1c0;
    --card: #111a2b;
    --danger: #e74c3c;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "IRANSans", Tahoma, sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(107, 195, 255, 0.15), transparent 30%), radial-gradient(circle at 80% 0%, rgba(31, 75, 153, 0.3), transparent 35%), #0b1220;
    min-height: 100vh;
    color: #e8eefc;
}
button {
    font-family: "Segoe UI", "IRANSans", Tahoma, sans-serif;
}
.auth-shell {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    align-items: center;
    height: 100vh;
}

.auth-hero {
    position: relative;
    padding: 2rem;
}

    .auth-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        color: #fff;
    }

    .auth-hero p {
        color: var(--muted);
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #d6e4ff;
    font-size: 0.9rem;
}

.card {
    background: linear-gradient(180deg, #0f1a2b 0%, #0c1322 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

    .card h2 {
        margin: 0 0 0.5rem;
        font-size: 1.35rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .card .subtitle {
        color: var(--muted);
        margin-bottom: 1.4rem;
    }

.form-group {
    margin-bottom: 1rem;
}

    .form-group label {
        display: block;
        color: var(--muted);
        margin-bottom: 0.35rem;
        font-weight: 600;
    }

.input-wrap {
    position: relative;
}

    .input-wrap .fa {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        color: var(--muted);
    }

.input-control {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

    .input-control:focus {
        outline: 2px solid var(--accent);
        border-color: transparent;
    }

.actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 1rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), #163872);
    color: #fff;
    box-shadow: 0 8px 30px rgba(31, 75, 153, 0.35);
    width: 100%;
}

    .btn-primary:hover {
        filter: brightness(1.05);
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #d6e4ff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-icon {
    width: 100%;
    background: #0f172a;
    border: 1px solid rgba(107, 195, 255, 0.4);
    color: #d6e4ff;
}

    .btn-icon:hover {
        background: rgba(107, 195, 255, 0.08);
    }

.btn-azure {
    background: linear-gradient(90deg, #1b6fc2, #0a4a8a);
    color: #fff;
    border: none;
}

    .btn-azure:hover {
        filter: brightness(1.05);
    }

.meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.link {
    color: var(--accent);
    text-decoration: none;
}

    .link:hover {
        text-decoration: underline;
    }

.login-footer {
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.identity-options {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #d6e4ff;
    margin-top: 1em;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.tag {
    color: #6bc3ff;
    font-weight: 600;
}

html[dir="rtl"] body,
body.rtl {
    direction: rtl;
    text-align: right;
    font-family: "IRANSans", "Segoe UI", Tahoma, sans-serif;
}

html[dir="rtl"] .auth-shell {
    direction: rtl;
}

html[dir="rtl"] .auth-hero h1,
html[dir="rtl"] .auth-hero p,
html[dir="rtl"] .card h2,
html[dir="rtl"] .card .subtitle {
    text-align: right;
}

html[dir="rtl"] .hero-badges {
    justify-content: flex-start;
}



html[dir="rtl"] .input-wrap .fa {
    left: auto;
    right: 12px;
}

html[dir="rtl"] .input-control {
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
    text-align: right;
}

html[dir="rtl"] .actions-row {
    flex-direction: row-reverse;
}

html[dir="rtl"] .identity-options,
html[dir="rtl"] .login-footer,
html[dir="rtl"] .status-bar {
    text-align: right;
}

html[dir="rtl"] .meta {
    justify-content: flex-end;
}

html[dir="rtl"] .badge,
html[dir="rtl"] .pill {
    justify-content: center;
}

@media (max-width: 768px) {
    .auth-shell {
        padding: 2.25rem 1.25rem;
    }

    .auth-hero h1 {
        font-size: 1.9rem;
    }
}
#selectLanguage select {
    font-family: "IRANSans","Segoe UI", Tahoma, sans-serif;
}