@import url("/vendor/vazirmatn/index.css?v=1");

/*
 * Public login and company sign-up. The layout follows recruitment-portal's light login page
 * (white header, hero with the auth card, a strip of four tiles under it), but the portal has
 * its own look: warm sand and copper for Shahrbabak's copper complex, with an open-pit mine
 * illustration in place of recruitment's mint background and city shapes.
 */
.public-page {
    --p-ink: #1d3348;
    --p-navy: #1b2f44;
    --p-copper: #b4622d;
    --p-copper-deep: #94491f;
    --p-muted: #7b899b;
    --p-line: #e8eef5;
    margin: 0;
    min-height: 100vh;
    direction: rtl;
    color: var(--p-ink);
    background: #fff;
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

.public-page *, .public-page *::before, .public-page *::after { box-sizing: border-box; }
.public-container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* Header */
.public-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    color: var(--p-ink);
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid #e9f0f6;
}
.public-nav__inner { min-height: 72px; display: flex; align-items: center; gap: 26px; }
.public-brand { display: inline-flex; align-items: center; gap: 12px; color: #14366b; text-decoration: none; }
.public-brand__mark { width: 46px; height: 46px; display: block; }
.public-brand__copy { display: grid; gap: 2px; }
.public-brand__title { font-size: 1.16rem; font-weight: 900; line-height: 1.25; }
.public-brand__tagline { color: #536c8f; font-size: .64rem; font-weight: 800; }
.public-nav__actions { margin-inline-start: auto; display: flex; gap: 9px; }
.public-btn {
    min-height: 38px; display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 16px; border-radius: 9px; font-size: .76rem; font-weight: 800; text-decoration: none;
}
.public-btn--ghost { color: #2b4a66; background: #fff; border: 1px solid #cdd8e2; }
.public-btn--ghost:hover { background: #f5f8fa; }
.public-btn--mint {
    color: #fff; border: 1px solid var(--p-copper);
    background: linear-gradient(135deg, #c8733b, #a9562a);
    box-shadow: 0 8px 18px rgba(169, 86, 42, .18);
}
.public-btn--mint:hover { background: linear-gradient(135deg, #bb6833, #974b23); }

/* Hero */
.public-hero {
    position: relative;
    overflow: hidden;
    min-height: 590px;
    padding: 56px 0 105px;
    background:
        radial-gradient(circle at 12% 20%, rgba(214, 132, 76, .16), transparent 26%),
        radial-gradient(circle at 85% 10%, rgba(120, 150, 170, .14), transparent 30%),
        linear-gradient(135deg, #fff7f0 0%, #fdf2e8 48%, #f1f4f6 100%);
}
/* The copper complex along the bottom of the hero: hills, open-pit benches, a haul truck and a headframe. */
.public-hero::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 210px;
    pointer-events: none;
    opacity: .9;
    background: url("/images/login-hero-mine.svg") center bottom / cover no-repeat;
}
.public-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, 455px);
    grid-template-areas: "copy card";
    gap: clamp(36px, 7vw, 96px);
    align-items: center;
}
.public-hero__copy { grid-area: copy; max-width: 600px; }
.public-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
    color: var(--p-copper); font-size: .78rem; font-weight: 800;
}
.public-hero__copy h1 {
    margin: 0;
    color: var(--p-navy);
    font-size: clamp(2rem, 3.35vw, 2.86rem);
    font-weight: 900;
    line-height: 1.38;
    letter-spacing: -.035em;
}
.public-hero__copy h1 em { display: block; font-style: normal; }
.public-hero__copy h1 strong { color: #c0632b; font-weight: 900; }
.public-hero__copy p { margin: 18px 0 0; color: #5d6772; font-size: .91rem; line-height: 2; }
.public-chips { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 22px; }
.public-chip {
    display: grid; grid-template-columns: 40px auto; grid-template-rows: auto auto; align-items: center;
    gap: 1px 9px; min-height: 48px;
    color: #193766; font-size: .71rem; font-weight: 800;
}
.public-chip i {
    grid-row: 1 / span 2; width: 40px; height: 40px; display: grid; place-items: center;
    border: 1px solid #ecd7c6; border-radius: 50%;
    color: var(--p-copper); background: rgba(255, 255, 255, .94); box-shadow: 0 6px 16px rgba(120, 72, 38, .08);
}
.public-chip i svg { width: 20px; height: 20px; }
.public-chip small { align-self: start; color: #7a8ba1; font-size: .59rem; font-weight: 600; }

/* Auth card */
.auth-card {
    grid-area: card;
    width: min(455px, 100%);
    justify-self: end;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 16px;
    color: var(--p-ink);
    background: rgba(255, 255, 255, .984);
    box-shadow: 0 18px 48px rgba(45, 84, 127, .13);
}
.auth-card--wide { width: min(520px, 100%); }
.auth-tabs { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--p-line); }
.auth-tab {
    position: relative; display: grid; min-height: 62px; place-items: center;
    color: #7d8ba0; background: #fff; font-size: .92rem; font-weight: 800; text-decoration: none;
}
.auth-tab:hover { color: var(--p-copper); }
.auth-tab.is-active { color: #1f3a56; }
.auth-tab.is-active::after {
    content: ""; position: absolute; right: 14px; left: 14px; bottom: -1px; height: 3px;
    border-radius: 3px 3px 0 0; background: var(--p-copper);
}
.auth-body { padding: 36px 30px 30px; }
.auth-title { margin-bottom: 24px; }
.auth-title h2 { margin: 0 0 9px; color: #17386d; font-size: 1.28rem; font-weight: 900; letter-spacing: -.025em; }
.auth-title p { margin: 0; color: var(--p-muted); font-size: .82rem; line-height: 1.95; }

.auth-form { display: grid; gap: 16px; }
.auth-form label { display: grid; gap: 9px; color: #445875; font-size: .82rem; font-weight: 800; }
.auth-form input, .auth-form select {
    width: 100%; min-height: 56px; padding: 12px 14px;
    border: 1px solid #d5e0eb; border-radius: 10px; color: #17365f; background: #fff;
    font: inherit; font-size: .93rem; font-weight: 400; outline: 0;
}
.auth-form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #d5e0eb; border-radius: 10px;
    color: #17365f; background: #fff; font: inherit; font-size: .93rem; outline: 0;
}
.auth-form input::placeholder { color: #9aa7b8; }
.auth-form input:focus, .auth-form select:focus, .auth-form textarea:focus {
    border-color: #dfa57d; box-shadow: 0 0 0 .22rem rgba(196, 106, 50, .12);
}
.auth-form .otp-input { text-align: center; letter-spacing: .5em; font-size: 1.15rem; direction: ltr; }
.auth-form .mobile-input { direction: ltr; text-align: left; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-hint {
    display: flex; justify-content: space-between; gap: 10px; padding: 0 2px;
    color: #8190a4; font-size: .69rem; font-weight: 400;
}
.field-error { color: #b42318; font-size: .7rem; font-weight: 600; }

.primary-action {
    width: 100%; min-height: 54px; border: 0; border-radius: 10px; cursor: pointer;
    color: #fff; background: linear-gradient(135deg, #c46a32, #a4522a);
    box-shadow: 0 9px 20px rgba(164, 82, 42, .2); font: inherit; font-size: .91rem; font-weight: 900;
}
.primary-action:hover { background: linear-gradient(135deg, #b65f2c, #8f4623); }
.primary-action:focus-visible { outline: 3px solid rgba(196, 106, 50, .35); outline-offset: 2px; }
.link-action {
    width: 100%; margin-top: 10px; border: 0; background: none; cursor: pointer;
    color: var(--p-copper-deep); font: inherit; font-size: .78rem; font-weight: 700;
}
.link-action:hover { text-decoration: underline; }

.auth-alert { margin-bottom: 14px; padding: 10px 12px; border-radius: 10px; font-size: .78rem; line-height: 1.8; }
.auth-alert--error { color: #912018; background: #fff1ef; border: 1px solid #f0b4ad; }
.auth-alert--success { color: #1f6b4a; background: #effaf4; border: 1px solid #b8dfc8; }
.auth-alert--info { color: #1f4a8a; background: #eef4ff; border: 1px solid #c9daf8; }
.otp-review {
    padding: 10px 12px; border: 1px solid #dce5ef; border-radius: 10px;
    color: #58677b; background: #f7f9fc; font-size: .78rem;
}
.otp-countdown { margin-top: -6px; color: var(--p-muted); font-size: .74rem; }
.captcha-box {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    border: 1px dashed #c8d4e6; border-radius: 10px; font-size: .8rem;
}
.captcha-box input { max-width: 96px; min-height: 44px; }
.auth-callout {
    display: flex; justify-content: center; gap: 6px; margin-top: 18px; padding-top: 16px;
    border-top: 1px solid #eef1f5; color: #8a95a5; font-size: .76rem;
}
.auth-callout a { color: var(--p-copper-deep); font-weight: 800; text-decoration: none; }
.auth-callout a:hover { text-decoration: underline; }
.auth-legal { margin: 12px 0 0; color: #98a4b1; font-size: .62rem; text-align: center; }

/* The strip of four tiles that overlaps the bottom of the hero. */
.public-steps-wrap { position: relative; z-index: 5; margin-top: -48px; padding-bottom: 35px; }
.public-steps {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #e3ebf3; border-radius: 15px; background: #fff;
    box-shadow: 0 15px 35px rgba(48, 76, 112, .11);
}
.public-step { display: flex; align-items: flex-start; gap: 14px; min-height: 105px; padding: 18px; }
.public-step:not(:last-child) { border-left: 1px solid #edf2f7; }
.public-step__icon {
    flex: none; width: 48px; height: 45px; margin-top: 6px; display: grid; place-items: center;
    border-radius: 14px; background: #eef2f6;
}
.public-step__icon svg { width: 22px; height: 22px; fill: none; stroke: #2f4b63; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.public-step__icon--copper { background: #fbeee4; }
.public-step__icon--copper svg { stroke: var(--p-copper); }
.public-step strong { display: block; color: var(--p-navy); font-size: 1.28rem; font-weight: 900; line-height: 1.05; }
.public-step span { display: block; margin-top: 6px; color: #243a5f; font-size: .72rem; font-weight: 800; }
.public-step small { display: block; margin-top: 3px; color: #91a0b1; font-size: .62rem; line-height: 1.6; }

@media (max-width: 900px) {
    .public-hero { min-height: 0; padding: 34px 0 78px; }
    .public-hero__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "card"; gap: 30px; }
    .public-hero__copy { max-width: none; text-align: center; }
    .public-hero__copy h1 { font-size: 2rem; }
    .public-chips { justify-content: center; }
    .auth-card { justify-self: center; }
    .public-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .public-step:nth-child(2) { border-left: 0; }
    .public-step:nth-child(-n+2) { border-bottom: 1px solid #edf2f7; }
}
@media (max-width: 560px) {
    .public-nav__inner { gap: 12px; }
    .public-brand__mark { width: 38px; height: 38px; }
    .public-brand__title { font-size: .69rem; }
    .public-brand__tagline { display: none; }
    .public-btn--ghost { display: none; }
    .auth-body { padding: 28px 20px 22px; }
    .auth-title, .auth-form label { text-align: center; }
    .auth-grid { grid-template-columns: 1fr; }
    .public-steps { grid-template-columns: 1fr; }
    .public-step { min-height: 0; border-left: 0 !important; }
    .public-step:not(:last-child) { border-bottom: 1px solid #edf2f7; }
}
