/* Phase LH1: sign-in - all logins (modules/site/views/pages/sign_in.php) */
.lh-page { --c1: #4338ca; --c2: #db2777; --ink: #14123b; --muted: #5b5a7d; --line: #e6e4f5; font-family: Poppins, 'Segoe UI', system-ui, sans-serif; color: var(--ink); background: #f6f5ff; overflow-x: clip; }
.lh-page *, .lh-page *::before, .lh-page *::after { box-sizing: border-box; }
.lh-wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 16px; }
.lh-hero { position: relative; color: #fff; background: radial-gradient(120% 140% at 100% 0%, var(--c2) 0%, var(--c1) 55%, #0f0d2e 100%); overflow: hidden; }
.lh-hero::after { content: ""; position: absolute; inset: auto -10% -45% auto; width: 55%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .06); pointer-events: none; }
.lh-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 32px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.lh-kick { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 600; }
.lh-hero h1 { margin: 14px 0 10px !important; font-size: clamp(28px, 4vw, 42px) !important; line-height: 1.12 !important; font-weight: 800 !important; color: #fff !important; font-family: inherit !important; }
.lh-hero-in > div > p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .9) !important; max-width: 560px; }
.lh-find { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; box-shadow: 0 24px 60px rgba(15, 13, 46, .35); }
.lh-find label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.lh-find-row { display: flex; gap: 8px; }
.lh-find-row input { flex: 1 1 auto; min-width: 0; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font-size: 15px; font-family: inherit; color: var(--ink); background: #faf9ff; }
.lh-find-row input:focus { outline: none; border-color: var(--c1); background: #fff; box-shadow: 0 0 0 3px rgba(67, 56, 202, .15); }
.lh-find-row button { flex: 0 0 auto; height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-weight: 700; font-size: 15px; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.lh-find-row button:disabled { opacity: .6; cursor: wait; }
.lh-find-out:empty { display: none; }
.lh-find-out { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.lh-find-out.err { color: #b91c1c; }
.lh-find-out p { margin: 0 0 8px; font-weight: 600; color: var(--ink) !important; }
.lh-hit { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 10px 14px; margin-top: 6px; border-radius: 12px; background: #f1f0ff; color: var(--ink) !important; text-decoration: none !important; }
.lh-hit b { font-size: 15px; }
.lh-hit span { grid-column: 1; font-size: 13px; color: var(--muted); }
.lh-hit i { grid-column: 2; grid-row: 1 / span 2; color: var(--c1); font-size: 18px; }
.lh-hit:hover { background: #e7e5ff; }
.lh-body { padding-top: 36px; padding-bottom: 48px; }
.lh-sec + .lh-sec { margin-top: 34px; }
.lh-sec-head h2 { margin: 0 0 4px !important; font-size: 22px !important; font-weight: 800 !important; color: var(--ink) !important; font-family: inherit !important; }
.lh-sec-head p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.lh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.lh-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 10px 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink) !important; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.lh-card:hover, .lh-card:focus-visible { transform: translateY(-2px); border-color: #c9c4ff; box-shadow: 0 14px 30px rgba(67, 56, 202, .14); }
.lh-ic { grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--c1), #6d5efc); }
.lh-tx { display: grid; gap: 4px; min-width: 0; }
.lh-tx b { font-size: 16.5px; line-height: 1.3; }
.lh-tx span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.lh-tx small { font-size: 12.5px; color: #3f3a8a; font-weight: 600; }
.lh-go { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--c1); }
.lh-career .lh-ic { background: linear-gradient(135deg, #db2777, #f97316); }
.lh-student .lh-ic { background: linear-gradient(135deg, #0ea5e9, #4338ca); }
.lh-employer .lh-ic { background: linear-gradient(135deg, #059669, #0ea5e9); }
.lh-sec-team .lh-card { background: #fbfbfe; }
.lh-sec-team .lh-ic { background: linear-gradient(135deg, #475569, #1e293b); }
.lh-apps { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 38px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px dashed #c9c4ff; }
.lh-apps div { display: grid; gap: 2px; }
.lh-apps b { font-size: 16px; }
.lh-apps span { font-size: 13.5px; color: var(--muted); }
.lh-apps a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff !important; font-weight: 700; text-decoration: none !important; }
@media (max-width: 860px) {
    .lh-hero-in { grid-template-columns: 1fr; gap: 20px; padding-top: 30px; padding-bottom: 30px; }
}
@media (max-width: 420px) {
    .lh-find-row { flex-direction: column; }
    .lh-find-row button { justify-content: center; }
    .lh-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .lh-card { transition: none; }
}
