/* extracted from resources/views/cv_public/upload.blade.php */
:root {
            --brand:        #0d2c54;
            --brand-soft:   #102f59;
            --accent:       #1e6bbf;
            --ink:          #1a1f2c;
            --muted:        #6c757d;
            --bg:           #f6f8fb;
            --line:         #e6e9ef;
        }

        body {
            background: var(--bg);
            color: var(--ink);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }

        /* ── Top brand bar ───────────────────────────────────────────── */
        .brand-bar {
            background: #fff;
            border-bottom: 1px solid var(--line);
            padding: 8px 0;
        }
        .brand-bar .brand-mark {
            display: inline-flex; align-items: center;
            text-decoration: none;
        }
        .brand-bar .brand-mark img {
            height: 38px; width: auto; display: block;
        }
        .topbar-inner {
            display: flex; align-items: center; justify-content: space-between;
            gap: 12px; flex-wrap: wrap;
        }
        .topbar-contacts {
            display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
        }
        .tc-row {
            display: flex; align-items: center; gap: 8px;
            flex-wrap: wrap; justify-content: flex-end;
        }
        .tc-chip {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 5px 12px; border-radius: 999px;
            background: #eef3fb; border: 1px solid #e3ebf7;
            font-size: .78rem; color: #3b4250; white-space: nowrap; line-height: 1.2;
        }
        .tc-chip i { color: var(--accent); font-size: .85rem; }
        .tc-chip a { color: #26324a; text-decoration: none; font-weight: 600; }
        .tc-chip a:hover { color: var(--accent); }
        .tc-chip .dot { color: #9aa7bd; }
        .tc-chip .at  { color: #6c757d; font-weight: 500; }
        .tc-btn {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 6px 14px; border-radius: 999px;
            background: var(--brand); color: #fff; font-size: .8rem; font-weight: 600;
            text-decoration: none; white-space: nowrap; transition: background .15s;
        }
        .tc-btn:hover { background: #143a6c; color: #fff; }

        /* ── Hero ────────────────────────────────────────────────────── */
        .hero {
            background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 60%, #15396b 100%);
            color: #fff;
            padding: 24px 0 36px;
            position: relative;
            overflow: hidden;
        }
        .hero::after {
            /* subtle decorative glow on the right */
            content: "";
            position: absolute; right: -120px; top: -80px;
            width: 320px; height: 320px; border-radius: 50%;
            background: radial-gradient(circle, rgba(79,155,255,.25), transparent 70%);
            pointer-events: none;
        }
        .hero h1 {
            font-size: clamp(1.4rem, 2.6vw, 1.9rem);
            font-weight: 700; margin-bottom: 6px;
        }
        .hero .lead {
            color: rgba(255,255,255,.85); font-size: .92rem; max-width: 720px;
            margin-bottom: 0;
        }
        .hero .pill {
            display: inline-block; background: rgba(255,255,255,.12);
            color: #fff; padding: 3px 10px; border-radius: 100px;
            font-size: .72rem; letter-spacing: .8px; text-transform: uppercase;
            margin-bottom: 10px; backdrop-filter: blur(4px);
        }
        /* Primary way into the full jobs list — white pill on the dark hero. */
        .hero .hero-cta {
            display: inline-block; margin-top: 16px;
            background: #fff; color: var(--brand); font-weight: 700;
            font-size: .9rem; text-decoration: none;
            padding: 10px 20px; border-radius: 8px;
            box-shadow: 0 4px 14px rgba(0,0,0,.18);
            transition: transform .12s ease, box-shadow .12s ease;
        }
        .hero .hero-cta:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(0,0,0,.24);
        }
        .hero .hero-cta:active { transform: translateY(0); }

        /* ── Compact one-line lead (replaces the tall hero) ──────────── */
        .page-lead {
            background: #fff; border-bottom: 1px solid var(--line);
        }
        .page-lead .pl-inner {
            display: flex; align-items: center; justify-content: space-between;
            gap: 12px; flex-wrap: wrap; padding: 10px 0;
        }
        .pl-title { font-size: 1.05rem; font-weight: 700; color: var(--brand); }
        .pl-sub   { font-size: .82rem; color: var(--muted); margin-left: 10px; }
        .pl-cta {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: .82rem; font-weight: 600; color: var(--accent);
            text-decoration: none; white-space: nowrap;
        }
        .pl-cta:hover { color: var(--brand); text-decoration: underline; }

        /* ── Main grid ───────────────────────────────────────────────── */
        .main-wrap { margin-top: 16px; margin-bottom: 8px; position: relative; z-index: 2; }

        /* Two-column form: a hairline divider between the columns on desktop. */
        @media (min-width: 992px) {
            .form-cols > .col-lg-6:first-child {
                border-right: 1px solid var(--line); padding-right: 22px;
            }
            .form-cols > .col-lg-6:last-child { padding-left: 22px; }
        }
        .form-submit-row { border-top: 1px solid var(--line); padding-top: 14px; }

        .card-clean {
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 12px;
            box-shadow: 0 4px 24px rgba(13, 44, 84, .06);
        }

        /* ── Form column ─────────────────────────────────────────────── */
        .form-card { padding: 22px 24px !important; }
        .form-card h2 {
            font-size: 1.2rem; font-weight: 700; margin-bottom: 2px;
        }
        .form-card .subtitle {
            color: var(--muted); margin-bottom: 14px; font-size: .85rem;
        }
        .form-section-title {
            font-size: .72rem; letter-spacing: 1.2px; text-transform: uppercase;
            color: var(--accent); font-weight: 700; margin-bottom: 6px;
            padding-bottom: 4px; border-bottom: 1px solid var(--line);
        }
        .form-label {
            font-size: .78rem; font-weight: 600; color: #3b4250; margin-bottom: 3px;
        }
        .form-control, .form-select {
            border: 1px solid var(--line);
            border-radius: 7px; padding: 7px 10px; font-size: .88rem;
        }
        .form-control:focus, .form-select:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(30,107,191,.15);
        }
        .form-help { font-size: .74rem; color: var(--muted); margin-top: 3px; }
        .phone-prefix, .ctc-prefix {
            background: #eef3fb; border: 1px solid var(--line); border-right: 0;
            color: #3b4250; font-size: .88rem; font-weight: 600;
        }
        /* CTC unit sits AFTER the input, so flip the missing border side. */
        .ctc-suffix {
            background: #eef3fb; border: 1px solid var(--line); border-left: 0;
            color: #3b4250; font-size: .78rem; font-weight: 600;
        }
        /* Live "≈ ₹x/month" echo — reassures candidates who think in monthly
           salary that they typed the annual figure the field actually wants. */
        .ctc-echo { color: #1e6bbf; font-weight: 600; }
        .ctc-echo.warn { color: #b26a00; }
        .req { color: #d32f2f; font-weight: 600; }
        .btn-submit {
            background: var(--brand); color: #fff; border: 0;
            padding: 8px 20px; border-radius: 7px; font-weight: 600; font-size: .9rem;
            transition: background .15s, transform .05s;
        }
        .btn-submit:hover { background: #143a6c; color: #fff; }
        .btn-submit:active { transform: translateY(1px); }

        /* Honeypot — invisible to humans, irresistible to bots. */
        .hp-field {
            position: absolute; left: -10000px; top: auto;
            width: 1px; height: 1px; overflow: hidden;
        }

        /* ── Social row (label + icons on ONE line) ──────────────────── */
        .social-strip {
            display: flex; align-items: center; justify-content: center;
            flex-wrap: wrap; gap: 8px; padding: 16px 0 4px;
        }
        .social-strip .label {
            font-size: .7rem; letter-spacing: 1.2px;
            text-transform: uppercase; color: var(--muted); margin: 0 4px 0 0;
        }
        .social-strip a {
            display: inline-flex; align-items: center; justify-content: center;
            width: 34px; height: 34px; border-radius: 50%;
            background: #fff; border: 1px solid var(--line);
            color: var(--brand); font-size: 1rem; margin: 0;
            text-decoration: none; transition: all .15s;
        }
        .social-strip a:hover {
            background: var(--brand); color: #fff;
            border-color: var(--brand); transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(13, 44, 84, .15);
        }

        /* ── Footer ──────────────────────────────────────────────────── */
        footer.site-footer {
            background: #fff; border-top: 1px solid var(--line);
            padding: 12px 0; margin-top: 12px; text-align: center;
            color: var(--muted); font-size: .78rem;
        }
        footer.site-footer .sep {
            display: inline-block; width: 4px; height: 4px; border-radius: 50%;
            background: var(--line); margin: 0 8px; vertical-align: middle;
        }

        /* ── Mobile (≤ 767px) ───────────────────────────────────────── */
        @media (max-width: 767px) {
            .brand-bar { padding: 8px 0; }
            .brand-bar .brand-mark img { height: 30px; }
            /* Stack: logo on its own line, chips wrap full-width below it. */
            .topbar-inner { justify-content: center; }
            .topbar-contacts { align-items: center; width: 100%; gap: 6px; }
            .tc-row { justify-content: center; width: 100%; gap: 6px; }
            .tc-chip { font-size: .72rem; padding: 4px 10px; }
            .tc-btn  { font-size: .74rem; padding: 5px 12px; }

            .page-lead .pl-inner { padding: 8px 0; gap: 4px; }
            .pl-title { font-size: .98rem; }
            .pl-sub { font-size: .76rem; margin-left: 0; display: block; width: 100%; }

            .main-wrap { margin-top: 12px; }

            .form-card { padding: 18px 16px !important; }
            .form-section-title { font-size: .68rem; margin-top: 4px; }

            /* iOS Safari zooms in on focus when input font < 16px — force 16px */
            .form-control,
            .form-select,
            textarea.form-control {
                font-size: 16px;
                padding: 10px 12px;
                border-radius: 8px;
            }
            .form-label { font-size: .82rem; margin-bottom: 4px; }

            /* Full-width submit with bigger tap target; help text drops below */
            .form-submit-row {
                flex-direction: column;
                align-items: stretch !important;
                gap: 8px !important;
            }
            .btn-submit {
                width: 100%;
                padding: 13px 20px;
                font-size: 1rem;
                border-radius: 8px;
                justify-content: center;
                display: inline-flex;
                align-items: center;
            }
            .form-submit-row .form-help { text-align: center; }
            /* Columns stack: drop the desktop divider so there's no stray line. */
            .form-cols > .col-lg-6:first-child { border-right: 0; padding-right: 12px; }
            /* Paired inputs (phone/alt, dob/education, city/hometown, exp…) are
               col-6 — too cramped on a phone with the +91 prefix and long
               labels. Stack them full-width so each field is comfortable. */
            .form-cols .row > .col-6 { flex: 0 0 100%; max-width: 100%; }

            .social-strip { padding: 14px 0 4px; }
            .social-strip a { width: 36px; height: 36px; }

            footer.site-footer { font-size: .72rem; padding: 14px 12px; }
            footer.site-footer .sep { margin: 0 6px; }
        }

        /* ── Small phones (≤ 380px) ─────────────────────────────────── */
        @media (max-width: 380px) {
            .form-card { padding: 16px 14px !important; }
            .hero h1 { font-size: 1.2rem; }
            .hero .lead { font-size: .82rem; }
        }

        /* ═══════════ Redesign: light hero, trust, steps, upload zones ═══════════ */
        .hero-light {
            background:
                radial-gradient(900px 260px at 12% -30%, rgba(30,107,191,.10), transparent 62%),
                linear-gradient(180deg, #eaf2fd 0%, var(--bg) 100%);
            border-bottom: 1px solid var(--line);
            padding: 32px 0 34px;
        }
        .hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: center; }
        .eyebrow {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: .72rem; letter-spacing: 1.6px; text-transform: uppercase;
            font-weight: 700; color: var(--accent); margin-bottom: 12px;
        }
        .eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--accent); }
        .hero-copy h1 {
            font-size: clamp(1.55rem, 3.3vw, 2.3rem); line-height: 1.14; font-weight: 800;
            letter-spacing: -.01em; color: var(--brand); margin: 0 0 12px;
        }
        .hero-sub { font-size: .96rem; line-height: 1.62; color: #4b5568; max-width: 640px; margin: 0 0 18px; }
        .trust-row { display: flex; flex-wrap: wrap; gap: 8px; }
        .trust-chip {
            display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
            background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: #33405a;
            box-shadow: 0 1px 2px rgba(13,44,84,.04);
        }
        .trust-chip i { color: var(--accent); font-size: .95rem; }
        .trust-chip.ok i { color: #12855f; }

        .steps-card {
            background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
            box-shadow: 0 12px 34px rgba(13,44,84,.09);
        }
        .steps-title { font-size: .72rem; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
        ol.steps { list-style: none; margin: 0; padding: 0; }
        ol.steps li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
        ol.steps li + li { border-top: 1px dashed var(--line); }
        .step-n {
            flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
            background: var(--brand); color: #fff; font-weight: 700; font-size: .82rem;
            display: inline-flex; align-items: center; justify-content: center;
        }
        ol.steps strong { display: block; font-size: .88rem; color: var(--ink); }
        ol.steps small { display: block; font-size: .78rem; color: var(--muted); }

        /* Form card — header band + padded body */
        .form-card { padding: 0 !important; overflow: hidden; }
        .form-card-head { padding: 20px 24px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#fbfcfe,#fff); }
        .form-card-head h2 { font-size: 1.18rem; font-weight: 800; color: var(--brand); margin: 0 0 3px; }
        .form-card-head p { margin: 0; font-size: .85rem; color: var(--muted); }
        .form-card-body { padding: 20px 24px 22px; }
        .form-section-title i { margin-right: 6px; }

        /* File inputs styled as soft upload zones */
        input[type="file"].form-control {
            padding: 9px 12px; background: #f7faff; cursor: pointer;
            border: 1.5px dashed #c4d5ee; border-radius: 10px;
        }
        input[type="file"].form-control:hover { border-color: var(--accent); background: #eef4fc; }

        @media (max-width: 991px) { .hero-grid { grid-template-columns: 1fr; gap: 18px; } }
        @media (max-width: 767px) {
            .hero-light { padding: 22px 0 24px; }
            .form-card-head { padding: 16px 16px 14px; }
            .form-card-body { padding: 16px; }
        }
