@font-face {
    font-family: 'PeltaUI';
    src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PeltaUI';
    src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f3f6fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #172033;
    --muted: #667085;
    --line: #e6eaf0;
    --primary: #1d4ed8;
    --primary-2: #2563eb;
    --primary-soft: #eaf1ff;
    --success: #15803d;
    --success-soft: #dcfce7;
    --danger: #b42318;
    --danger-soft: #fee4e2;
    --warning: #b45309;
    --warning-soft: #fef3c7;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.055);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    font-family: 'PeltaUI', Tahoma, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    direction: rtl;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
        linear-gradient(180deg, #f7f9fd 0%, var(--bg) 100%);
    font-family: 'PeltaUI', Tahoma, Arial, sans-serif !important;
}

body,
body *,
input,
select,
textarea,
button,
.btn,
label,
table,
th,
td,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a {
    font-family: 'PeltaUI', Tahoma, Arial, sans-serif !important;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 288px;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.92);
    border-left: 1px solid rgba(230, 234, 240, 0.95);
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 0;
    overflow-y: auto;
    backdrop-filter: blur(14px);
    box-shadow: -14px 0 35px rgba(15, 23, 42, 0.04);
    z-index: 30;
}

.brand a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 16px;
    color: var(--text);
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #0f172a);
    box-shadow: 0 14px 28px rgba(29, 78, 216, 0.24);
    font-size: 22px;
    font-weight: 700;
}

.brand strong {
    display: block;
    font-size: 18px;
    line-height: 1.8;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
    border: 1px solid #dbe7ff;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.sidebar-profile strong {
    display: block;
    line-height: 1.7;
    font-size: 14px;
}

.sidebar-profile span {
    color: var(--muted);
    font-size: 12px;
}

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.nav-title {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 700;
    padding: 0 8px;
    margin: 6px 0 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 15px;
    color: #344054;
    transition: 0.18s ease;
    border: 1px solid transparent;
    font-size: 14px;
}

.nav-icon {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-soft);
    color: var(--primary);
    font-size: 14px;
    line-height: 1;
}

.nav-link:hover {
    background: var(--primary-soft);
    color: #123a8c;
    border-color: #d9e6ff;
    transform: translateX(-2px);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22);
}

.nav-link.active .nav-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 8px;
}

.logout-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 15px;
    background: var(--danger-soft);
    color: var(--danger);
    border: 1px solid #fecaca;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    position: fixed;
    right: 14px;
    bottom: 18px;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    z-index: 60;
    border: none;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #0f172a);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    cursor: pointer;
    font-size: 22px;
}

.page {
    flex: 1;
    min-width: 0;
    padding: 24px 28px 36px;
}

.full-page {
    max-width: 1040px;
    margin: 0 auto;
    width: 100%;
}

.guest-body .layout {
    justify-content: center;
}

.guest-body .page {
    width: 100%;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(230, 234, 240, 0.92);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.page-title-box h1 {
    margin: 2px 0 0;
    font-size: clamp(22px, 3vw, 30px);
    letter-spacing: -0.02em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    background: var(--primary-soft);
    border: 1px solid #dbe7ff;
    padding: 6px 10px;
    border-radius: 999px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.date-pill,
.user-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px 13px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.date-pill {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.user-box {
    min-width: 170px;
}

.user-box strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.user-box span {
    color: var(--muted);
    font-size: 12px;
}

.content {
    display: block;
}

.card,
.login-card,
.stat-card,
.notice-card,
.form-box,
.detail-box,
.table-wrap {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.card:hover,
.stat-card:hover,
.notice-card:hover,
.form-box:hover,
.detail-box:hover,
.table-wrap:hover {
    box-shadow: var(--shadow);
}

.card h3,
.stat-card h3,
.notice-card h3,
.form-box h3,
.detail-box h3,
.login-card h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.card p,
.form-box p,
.notice-card p,
.request-item p,
.detail-box p {
    color: #344054;
    line-height: 2;
}

.login-card {
    max-width: 520px;
    margin: 38px auto;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), #0f172a, #38bdf8);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
    position: relative;
    overflow: hidden;
    min-height: 142px;
}

.stat-card::after {
    content: '';
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: var(--primary-soft);
    left: -34px;
    bottom: -34px;
}

.stat-card h3 {
    color: var(--muted);
    font-size: 14px;
}

.stat-value {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--primary);
    margin: 8px 0 6px;
    letter-spacing: -0.03em;
}

.muted {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.9;
    border: 1px solid transparent;
}

.alert.success {
    background: var(--success-soft);
    color: var(--success);
    border-color: #bbf7d0;
}

.alert.error {
    background: var(--danger-soft);
    color: var(--danger);
    border-color: #fecaca;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 13px;
    color: #344054;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="file"],
textarea,
select {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    background: #fff;
    margin-bottom: 14px;
    color: var(--text);
    transition: 0.16s ease;
}

input[type="file"] {
    padding: 11px 12px;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 14px;
    padding: 12px 18px;
    min-height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
    transition: 0.16s ease;
}

button:hover,
.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.btn-secondary {
    background: #eef2f7;
    color: #182230;
    box-shadow: none;
    border: 1px solid #e4e7ec;
}

.small-btn {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 13px;
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.spacer {
    height: 18px;
}

.table-wrap {
    overflow-x: auto;
    padding: 0;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px;
}

table th,
table td {
    padding: 14px 14px;
    border-bottom: 1px solid var(--line);
    text-align: right;
    font-size: 13px;
    vertical-align: middle;
}

table th {
    color: #475467;
    font-weight: 700;
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 1;
}

table tbody tr {
    transition: 0.14s ease;
}

table tbody tr:hover {
    background: #f9fbff;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.notice-list,
.request-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.notice-card,
.request-item {
    border-radius: var(--radius-lg);
}

.notice-card h4,
.request-item h4 {
    margin: 0 0 8px;
    font-size: 17px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.detail-row {
    background: var(--surface-soft);
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 14px;
}

.detail-row strong {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--muted);
}

.login-help {
    margin-top: 14px;
    background: var(--surface-soft);
    border: 1px solid #eef2f7;
    padding: 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.9;
    color: #475467;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.inline-form {
    margin: 0;
    display: inline-block;
}

.inline-form button {
    margin: 0;
}

.payslip-image-box {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    text-align: center;
}

.payslip-image {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    display: inline-block;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

/* Job Application */
.application-steps {
    display: grid;
    grid-template-columns: repeat(8, minmax(96px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.application-step {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px 10px;
    text-align: center;
    font-size: 12px;
    min-height: 96px;
    transition: 0.16s ease;
}

.application-step span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
    margin-bottom: 8px;
    font-weight: 700;
    color: #475467;
}

.application-step strong {
    display: block;
    line-height: 1.7;
}

.application-step.current {
    border-color: #b8cffd;
    background: linear-gradient(180deg, #ffffff, #edf4ff);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.12);
}

.application-step.current span,
.application-step.done span {
    background: var(--primary);
    color: #fff;
}

.application-step.done {
    background: #f8fbff;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.choice-card {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 13px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 15px;
    background: #fff;
    cursor: pointer;
    min-height: 54px;
    transition: 0.16s ease;
}

.choice-card:hover {
    border-color: var(--primary);
    background: #f8fbff;
}

.choice-card input {
    width: auto;
    margin: 3px 0 0;
}

.choice-card:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.history-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    background: #fbfdff;
}

.file-note {
    margin-top: -6px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.confirm-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    line-height: 1.9;
    padding: 12px;
    border-radius: 14px;
    background: var(--surface-soft);
    border: 1px solid #eef2f7;
}

.check-row input {
    width: auto;
    margin-top: 4px;
    margin-bottom: 0;
}

.jalali-date-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.behavior-options-wrap[hidden] {
    display: none !important;
}

.behavior-question textarea {
    min-height: 132px;
}

.choice-card input[type="radio"] {
    width: auto;
    margin: 3px 0 0;
}

.detail-box p {
    line-height: 2;
    margin: 0 0 12px;
}

.detail-box h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.hero-card {
    background: linear-gradient(135deg, #0f172a, var(--primary));
    color: #fff;
    border: none;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.hero-card::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    left: -52px;
    bottom: -62px;
}

.hero-card h2,
.hero-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 2;
    margin: 0;
}

.hero-card .actions {
    margin-top: 16px;
}

.hero-card .btn-secondary {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    background: var(--surface-soft);
    border: 1px solid #eef2f7;
    transition: 0.16s ease;
}

.quick-link:hover {
    border-color: #c7d7fe;
    transform: translateY(-2px);
}

.quick-link strong {
    color: var(--text);
    font-size: 14px;
}

.quick-link span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

@media (max-width: 1200px) {
    .grid,
    .grid.two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .application-steps {
        grid-template-columns: repeat(4, minmax(120px, 1fr));
    }
}

@media (max-width: 992px) {
    .layout {
        display: block;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        transform: translateX(105%);
        transition: transform 0.22s ease;
        border-left: 1px solid var(--line);
    }

    .sidebar.is-open {
        transform: translateX(0);
    }

    .page {
        padding: 16px 14px 84px;
    }

    .topbar {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-radius: 22px;
    }

    .topbar-actions {
        justify-content: stretch;
    }

    .date-pill,
    .user-box,
    .small-btn {
        flex: 1;
        min-width: 0;
    }

    .grid,
    .grid.two,
    .detail-grid,
    .choice-grid,
    .jalali-date-grid,
    .quick-grid {
        grid-template-columns: 1fr;
    }

    .application-steps {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    .card,
    .login-card,
    .stat-card,
    .notice-card,
    .form-box,
    .detail-box {
        padding: 18px;
        border-radius: 22px;
    }

    .table-wrap {
        border-radius: 22px;
    }

    .actions .btn,
    .actions button {
        flex: 1 1 160px;
    }
}

@media (max-width: 560px) {
    .full-page {
        max-width: 100%;
    }

    .login-card {
        margin: 16px auto;
        padding: 22px;
    }

    .page-title-box h1 {
        font-size: 22px;
    }

    .application-steps {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .application-step {
        min-width: 148px;
        scroll-snap-align: start;
    }

    button,
    .btn {
        width: 100%;
    }

    .inline-form,
    .inline-form button {
        width: 100%;
    }
}

/* =========================================================
   صفحه ورود عمومی – طراحی دو ستونه
   ========================================================= */
.login-page {
    background: #f4f7fc;
}

.login-page .layout {
    min-height: 100vh;
    display: block;
}

.login-page .full-page {
    max-width: none;
    width: 100%;
    padding: 24px;
}

.login-page .full-page > .topbar {
    display: none;
}

.login-page .content {
    width: 100%;
}

.auth-shell {
    width: min(1240px, 100%);
    margin: 0 auto;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid #e7ecf5;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(26, 46, 86, 0.10);
}

.auth-public-header {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 38px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #edf1f7;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #16213a;
}

.auth-brand-mark {
    width: 50px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px 17px 8px 17px;
    color: #fff;
    background: linear-gradient(155deg, #0b63f3 0%, #1247b9 100%);
    box-shadow: 0 13px 25px rgba(22, 91, 215, 0.25);
    font-size: 29px;
    font-weight: 700;
    transform: rotate(-3deg);
}

.auth-brand-copy {
    display: flex;
    flex-direction: column;
}

.auth-brand-copy strong {
    font-size: 23px;
    line-height: 1.45;
    letter-spacing: -0.03em;
}

.auth-brand-copy small {
    color: #7d899e;
    font-size: 11px;
}

.auth-header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-header-pill {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 15px;
    border: 1px solid #e2e8f2;
    border-radius: 13px;
    background: #fff;
    color: #66748c;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 7px 20px rgba(20, 45, 90, 0.04);
}

.auth-header-pill svg,
.auth-support svg,
.auth-input-group > svg,
.auth-primary-btn svg,
.auth-outline-btn svg,
.auth-info-icon svg,
.auth-job-notes svg,
.auth-section-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-header-pill svg {
    width: 20px;
    height: 20px;
}

.auth-header-pill-strong {
    color: #26334c;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    padding: 30px 38px 26px;
    background:
        radial-gradient(circle at 15% 10%, rgba(28, 99, 231, 0.045), transparent 26%),
        #f7f9fd;
}

.auth-panel {
    min-width: 0;
    padding: 34px 38px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 23px;
    box-shadow: 0 15px 38px rgba(25, 48, 91, 0.055);
}

.auth-login-panel {
    order: 1;
}

.auth-hiring-panel {
    order: 2;
}

.auth-section-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 19px;
    color: #095ce9;
    background: #eef4ff;
}

.auth-section-icon svg {
    width: 29px;
    height: 29px;
}

.auth-section-heading {
    text-align: center;
    margin-bottom: 27px;
}

.auth-section-heading h1,
.auth-section-heading h2 {
    margin: 0 0 10px;
    color: #121d35;
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.7;
    letter-spacing: -0.03em;
}

.auth-section-heading p {
    max-width: 490px;
    margin: 0 auto;
    color: #7a879d;
    font-size: 13px;
    line-height: 2;
}

.auth-alert {
    margin: -6px 0 20px;
    border-radius: 13px;
    font-size: 12px;
}

.auth-form label {
    margin: 0 0 9px;
    color: #35435c;
    font-size: 12px;
}

.auth-input-group {
    position: relative;
    margin-bottom: 17px;
}

.auth-input-group > svg {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 2;
    color: #8b98ad;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-input-group input[type="text"],
.auth-input-group input[type="password"] {
    min-height: 53px;
    margin: 0;
    padding: 12px 47px 12px 14px;
    border: 1px solid #dce3ee;
    border-radius: 13px;
    background: #fff;
    color: #1d293e;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.auth-input-group input::placeholder {
    color: #b0b8c5;
}

.auth-input-group input:focus {
    border-color: #1765e8;
    box-shadow: 0 0 0 4px rgba(23, 101, 232, 0.09);
}

.auth-code-input input[type="text"] {
    direction: ltr;
    text-align: center;
    letter-spacing: 0.42em;
    padding-left: 47px;
    font-size: 20px;
    font-weight: 700;
}

.auth-primary-btn,
.auth-outline-btn {
    width: 100%;
    min-height: 53px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 700;
}

.auth-primary-btn {
    border: 1px solid #0759e2;
    background: linear-gradient(100deg, #0758df, #0968f4);
    color: #fff;
    box-shadow: 0 13px 28px rgba(8, 92, 228, 0.19);
}

.auth-primary-btn:hover {
    box-shadow: 0 16px 30px rgba(8, 92, 228, 0.26);
}

.auth-primary-btn svg,
.auth-outline-btn svg {
    width: 20px;
    height: 20px;
}

.auth-form-note {
    margin: 16px 0 0;
    text-align: center;
    color: #8793a5;
    font-size: 11px;
    line-height: 1.8;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 21px 0;
    color: #a3adbb;
    font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: #e7ebf2;
}

.auth-divider span {
    flex: 0 0 auto;
}

.auth-outline-btn {
    border: 1px solid #1765e8;
    background: #fff;
    color: #1260df;
    box-shadow: none;
}

.auth-outline-btn:hover {
    background: #f3f7ff;
}

.auth-code-message {
    margin: -3px 0 19px;
    padding: 12px 14px;
    border: 1px solid #dce8ff;
    border-radius: 13px;
    background: #f3f7ff;
    color: #52627c;
    font-size: 12px;
    line-height: 2;
    text-align: center;
}

.auth-code-message strong {
    color: #075bdc;
    direction: ltr;
    display: inline-block;
}

.auth-inline-actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-inline-actions form {
    margin: 0;
}

.auth-text-btn {
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #1664dd;
    font-size: 11px;
    font-weight: 700;
}

.auth-text-btn:hover {
    background: transparent;
    transform: none;
    text-decoration: underline;
}

.auth-info-list {
    margin-top: 3px;
    border-top: 1px solid #eef1f6;
}

.auth-info-item {
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 3px;
    border-bottom: 1px solid #eef1f6;
}

.auth-info-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #1262e2;
    background: #f1f6ff;
}

.auth-info-icon svg {
    width: 20px;
    height: 20px;
}

.auth-info-item > div {
    min-width: 0;
}

.auth-info-item strong {
    display: block;
    margin-bottom: 3px;
    color: #155fd5;
    font-size: 12px;
}

.auth-info-item span {
    display: block;
    color: #647289;
    font-size: 12px;
    line-height: 1.85;
}

.auth-job-btn {
    margin-top: 22px;
}

.auth-job-notes {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #8995a7;
    font-size: 10px;
    text-align: center;
}

.auth-job-notes span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-job-notes svg {
    width: 15px;
    height: 15px;
}

.auth-support {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-top: 1px solid #edf1f7;
    background: #fff;
    color: #7c889a;
    font-size: 11px;
    text-align: center;
}

.auth-support svg {
    width: 18px;
    height: 18px;
    color: #1664df;
}

@media (min-width: 861px) {
    .auth-login-panel {
        grid-column: 2;
        grid-row: 1;
    }

    .auth-hiring-panel {
        grid-column: 1;
        grid-row: 1;
    }
}

@media (max-width: 860px) {
    .login-page .full-page {
        padding: 14px;
    }

    .auth-shell {
        border-radius: 22px;
    }

    .auth-public-header {
        padding: 17px 20px;
    }

    .auth-brand-mark {
        width: 43px;
        height: 47px;
        font-size: 24px;
    }

    .auth-brand-copy strong {
        font-size: 19px;
    }

    .auth-brand-copy small {
        display: none;
    }

    .auth-header-pill:first-child {
        display: none;
    }

    .auth-grid {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 17px;
    }

    .auth-login-panel {
        order: 1;
    }

    .auth-hiring-panel {
        order: 2;
    }

    .auth-panel {
        padding: 28px 24px;
    }
}

@media (max-width: 520px) {
    .login-page .full-page {
        padding: 0;
    }

    .auth-shell {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-public-header {
        min-height: 78px;
        padding: 14px 16px;
    }

    .auth-header-pill {
        min-height: 39px;
        padding: 8px 11px;
        font-size: 11px;
    }

    .auth-header-pill svg {
        width: 18px;
        height: 18px;
    }

    .auth-grid {
        padding: 13px;
        background: #f7f9fd;
    }

    .auth-panel {
        padding: 25px 18px;
        border-radius: 18px;
    }

    .auth-section-icon {
        width: 52px;
        height: 52px;
        border-radius: 17px;
    }

    .auth-section-heading {
        margin-bottom: 22px;
    }

    .auth-section-heading h1,
    .auth-section-heading h2 {
        font-size: 20px;
    }

    .auth-section-heading p {
        font-size: 12px;
    }

    .auth-inline-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-support {
        line-height: 1.9;
    }
}
