:root { --ink: #082345; --muted: #5b6f89; --blue: #1463e7; --blue-dark: #0b3d97; --sky: #edf5ff; --line: #dce7f5; --danger: #b5344c; --success: #147447; --surface: #fff; --shadow: 0 18px 48px rgba(12,50,104,.12); }
* { box-sizing: border-box; }
html { min-height: 100%; background: #f7faff; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: #f7faff; font-family: "DM Sans", Arial, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #75abff; outline-offset: 3px; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(220,231,245,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.nav { display: flex; align-items: center; min-height: 78px; gap: 24px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 230px; height: 61px; object-fit: cover; object-position: 50% 30%; mix-blend-mode: multiply; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; color: #28415f; font-size: .92rem; font-weight: 750; }
.nav-links a:hover { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 0 19px; border: 1px solid transparent; border-radius: 10px; color: #fff; background: var(--blue); font-size: .89rem; font-weight: 850; cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { background: #0754d3; box-shadow: 0 12px 24px rgba(20,99,231,.25); transform: translateY(-2px); }
.button--light { border-color: #c9dcfa; color: var(--blue-dark); background: #fff; }
.button--light:hover { color: #fff; background: var(--blue); }
.button--danger { border-color: #f3ccd3; color: var(--danger); background: #fff; }
.button--danger:hover { color: #fff; background: var(--danger); box-shadow: 0 12px 24px rgba(181,52,76,.16); }
.button--small { min-height: 37px; padding: 0 12px; border-radius: 8px; font-size: .77rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--blue-dark); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { width: 22px; height: 2px; background: currentColor; content: ""; }
.page-hero { padding: 72px 0 63px; background: radial-gradient(circle at 88% 5%, #d9eaff 0, transparent 30%), linear-gradient(145deg, #f8fbff, #edf5ff); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 62px; align-items: center; }
.page-hero h1 { max-width: 700px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.075em; line-height: 1.04; }
.page-hero h1 strong { color: var(--blue); }
.page-hero p:not(.eyebrow) { max-width: 610px; margin: 19px 0 0; color: var(--muted); font-size: 1.01rem; }
.hero-note { display: grid; gap: 12px; padding: 28px; border: 1px solid rgba(154,192,243,.7); border-radius: 19px; color: #1552a3; background: rgba(255,255,255,.78); box-shadow: 0 14px 36px rgba(18,73,144,.1); }
.hero-note__number { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--blue); background: #e8f2ff; font-weight: 900; }
.hero-note h2 { margin: 3px 0 0; font-family: Manrope, sans-serif; font-size: 1.23rem; letter-spacing: -.05em; }
.hero-note p { margin: 0; color: #527096; font-size: .85rem; }
.section { padding: 74px 0; }
.apply-page { display: grid; min-height: calc(100vh - 164px); padding: 64px 0 78px; align-items: center; background: radial-gradient(circle at 15% 10%, #e4f0ff 0, transparent 31%), #f7faff; }
.apply-form-shell { width: min(660px, calc(100% - 40px)); }
.clean-form-card { padding: 37px; }
.clean-form-card h1 { margin: 0 0 28px; font-family: Manrope, sans-serif; font-size: clamp(1.9rem, 4vw, 2.5rem); letter-spacing: -.065em; line-height: 1.08; }
.clean-form-card .form-actions { margin-top: 27px; }
.clean-form-card .form-actions .button { min-width: 150px; }
.apply-layout { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 26px; align-items: start; }
.apply-help { padding: 31px; border-radius: 20px; color: #dcecff; background: linear-gradient(145deg, #061b3a, #0b4ba8); }
.apply-help .eyebrow { color: #a9ccff; }
.apply-help h2 { margin: 0; color: #fff; font-family: Manrope, sans-serif; font-size: 1.86rem; letter-spacing: -.06em; line-height: 1.13; }
.apply-help > p:not(.eyebrow) { margin: 16px 0 0; color: #c9ddfc; }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 0 0 28px; border-top: 1px solid rgba(214,231,255,.16); color: #e4f0ff; font-size: .88rem; }
.check-list li::before { position: absolute; top: 12px; left: 0; color: #8dc0ff; font-weight: 900; content: "✓"; }
.form-card, .admin-panel { padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.form-card h2, .admin-panel h2 { margin: 0; font-family: Manrope, sans-serif; font-size: 1.72rem; letter-spacing: -.055em; }
.form-card > p, .admin-panel__copy { margin: 8px 0 28px; color: var(--muted); font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.field label { color: #2c4665; font-size: .78rem; font-weight: 850; }
.required { color: #c2394f; }
.field input, .field select { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid #ccdced; border-radius: 9px; color: var(--ink); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus { border-color: #6fa5ff; box-shadow: 0 0 0 3px rgba(78,139,246,.15); }
.field input::placeholder { color: #91a0b3; }
.field input[name="fullName"] { text-transform: uppercase; }
.field-hint, .form-note { margin: 0; color: var(--muted); font-size: .75rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 24px; }
.form-message { min-height: 22px; margin: 13px 0 0; color: var(--danger); font-size: .83rem; font-weight: 700; }
.form-message.is-success { color: var(--success); }
.secure-note { display: flex; gap: 10px; margin-top: 25px; padding: 14px; border: 1px solid #d9e8fa; border-radius: 10px; color: #507096; background: #f4f9ff; font-size: .76rem; }
.secure-note strong { color: #24476f; }
.admin-main { padding: 55px 0 78px; }
.admin-top { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 24px; }
.admin-top--tools-only { justify-content: flex-end; margin-bottom: 18px; }
.admin-top h1 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.07em; line-height: 1.08; }
.admin-top p { margin: 9px 0 0; color: var(--muted); }
.admin-top__actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px; }
.privacy-banner { margin-bottom: 24px; padding: 14px 17px; border: 1px solid #cfe1f7; border-radius: 12px; color: #355777; background: #eef7ff; font-size: .83rem; }
.privacy-banner strong { color: #184a88; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 9px 22px rgba(15,61,116,.05); }
.stat span { display: block; color: #597390; font-size: .76rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.stat strong { display: block; margin-top: 7px; color: var(--blue); font-family: Manrope, sans-serif; font-size: 2rem; letter-spacing: -.07em; line-height: 1; }
.table-wrap { overflow-x: auto; margin-top: 25px; border: 1px solid var(--line); border-radius: 13px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .84rem; }
th, td { padding: 14px 15px; border-bottom: 1px solid #e6eef8; vertical-align: top; }
th { color: #527092; background: #f5f9ff; font-size: .7rem; font-weight: 900; letter-spacing: .075em; text-transform: uppercase; white-space: nowrap; }
td { color: #274565; }
tbody tr:last-child td { border-bottom: 0; }
.table-name { color: #17385d; font-weight: 850; }
.table-sub { display: block; margin-top: 2px; color: #7890a9; font-size: .75rem; }
.status-pill { display: inline-flex; padding: 4px 8px; border-radius: 999px; color: #155cb9; background: #e8f2ff; font-size: .7rem; font-weight: 850; white-space: nowrap; }
.row-actions { display: flex; gap: 7px; }
.empty-state { padding: 54px 20px; text-align: center; }
.empty-state__icon { display: grid; width: 47px; height: 47px; margin: 0 auto 13px; place-items: center; border-radius: 14px; color: var(--blue); background: #eaf3ff; font-size: 1.25rem; font-weight: 900; }
.empty-state h3 { margin: 0; font-family: Manrope, sans-serif; font-size: 1.18rem; letter-spacing: -.05em; }
.empty-state p { max-width: 375px; margin: 8px auto 0; color: var(--muted); font-size: .85rem; }
.edit-card { display: none; margin-top: 25px; padding: 25px; border: 1px solid #bcd7fa; border-radius: 14px; background: #f7fbff; }
.edit-card.is-visible { display: block; }
.edit-card h3 { margin: 0 0 18px; font-family: Manrope, sans-serif; font-size: 1.28rem; letter-spacing: -.05em; }
.footer { padding: 32px 0 21px; color: #b8c8dc; background: #061b3a; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-inner p { margin: 0; color: #91a7c2; font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: #d5e3f5; font-size: .83rem; font-weight: 700; }
.footer-links a:hover { color: #fff; }
@media (max-width: 840px) { .page-hero__grid, .apply-layout { grid-template-columns: 1fr; gap: 28px; } .hero-note { max-width: 460px; } .stats { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 620px) { .container { width: min(100% - 30px, 1180px); } .nav { min-height: 66px; } .brand img { width: 177px; height: 48px; } .nav-links { gap: 14px; font-size: .82rem; } .nav-links > a:not(.button) { display: none; } .page-hero { padding: 48px 0; } .section { padding: 55px 0; } .apply-page { min-height: calc(100vh - 152px); padding: 34px 0 45px; } .apply-form-shell { width: min(100% - 30px, 660px); } .form-card, .admin-panel, .apply-help, .clean-form-card { padding: 25px 20px; } .form-grid { grid-template-columns: 1fr; } .field--wide { grid-column: auto; } .form-actions .button { width: 100%; } .admin-main { padding: 40px 0 55px; } .admin-top { display: block; } .admin-top__actions { justify-content: start; margin-top: 18px; } .stats { grid-template-columns: 1fr; } .footer-inner { display: block; } .footer-links { margin-top: 13px; } }
