MotorSignal-App/website/app/globals.css

69 lines
5.6 KiB
CSS

:root { --ink: #f4f7fa; --muted: #9ca9b6; --bg: #0a0f14; --panel: #121a22; --line: #24313c; --blue: #1683ff; --green: #2cc979; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: radial-gradient(circle at 70% -20%, #17324b 0, var(--bg) 42%); color: var(--ink); font-family: Arial, Helvetica, sans-serif; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
.site-header { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 28px; justify-content: space-between; margin: 0 auto; max-width: 1240px; padding: 20px 28px; }
.brand { align-items: center; display: inline-flex; font-size: 19px; font-weight: 800; gap: 10px; letter-spacing: .02em; }
.brand-mark { align-items: center; background: var(--blue); border-radius: 6px; display: inline-flex; height: 30px; justify-content: center; width: 30px; }
nav { display: flex; gap: 24px; margin-left: auto; }
nav a, .quiet-link { color: var(--muted); font-size: 14px; }
nav a:hover, .quiet-link:hover { color: var(--ink); }
.header-actions { align-items: center; display: flex; gap: 16px; }
.button { background: var(--blue); border: 0; border-radius: 6px; color: white; cursor: pointer; display: inline-flex; font-size: 15px; font-weight: 700; justify-content: center; padding: 13px 18px; }
.button:hover { filter: brightness(1.12); }
.button:disabled { cursor: wait; opacity: .6; }
.button-small { font-size: 13px; padding: 9px 13px; }
main { margin: 0 auto; max-width: 1240px; padding: 72px 28px 100px; }
.hero { max-width: 780px; }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { font-size: clamp(42px, 7vw, 82px); line-height: .98; margin: 18px 0; max-width: 850px; }
h2 { font-size: 32px; margin: 0 0 14px; }
p { color: var(--muted); line-height: 1.65; }
.hero p { font-size: 18px; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button-secondary { background: transparent; border: 1px solid var(--line); }
.section-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 92px; }
.section-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 42px; }
.panel { background: color-mix(in srgb, var(--panel) 90%, transparent); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.panel h3 { margin: 0 0 8px; }
.panel h2 { font-size: 24px; }
.panel p { font-size: 14px; margin: 0; }
.panel .button { margin-top: 20px; }
.content-page { max-width: 900px; margin: auto; }
.content-page > p { font-size: 18px; max-width: 700px; }
.account-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 42px; }
.legal-page { max-width: 760px; }
.legal-page h2 { font-size: 22px; margin-top: 36px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; margin: 0 auto; max-width: 1240px; padding: 24px 28px 40px; font-size: 13px; }
.auth-page { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); margin: auto; max-width: 980px; align-items: center; }
.auth-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.auth-form { display: grid; gap: 16px; margin-top: 24px; }
label { color: var(--muted); display: grid; font-size: 13px; gap: 7px; }
input { background: #0c131a; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); font: inherit; padding: 12px; }
input:focus { border-color: var(--blue); outline: 2px solid color-mix(in srgb, var(--blue) 35%, transparent); }
.form-error { color: #ff8e8e; font-size: 13px; margin: 0; }
.muted-link { color: var(--blue); font-size: 14px; }
.recovery-stack { display: grid; gap: 8px; }
.form-divider { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; margin-top: 12px; padding-top: 20px; }
.form-message { color: var(--green); font-size: 13px; }
.audit-list { display: grid; gap: 10px; margin-top: 32px; }
.audit-row { align-items: center; display: flex; gap: 20px; justify-content: space-between; padding: 18px 20px; }
.audit-row p { font-size: 13px; margin: 5px 0 0; }
.audit-row time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.admin-console { margin-top: 32px; }
.admin-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 8px; }
.admin-tab { background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted); cursor: pointer; font: inherit; padding: 12px 16px; text-transform: capitalize; }
.admin-tab.active { border-bottom-color: var(--blue); color: var(--ink); }
.admin-create-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.admin-create-form input, .admin-create-form select { flex: 1 1 150px; min-width: 130px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { border-collapse: collapse; min-width: 700px; width: 100%; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 14px 10px; text-align: left; }
.admin-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.admin-table td { font-size: 13px; }
.text-button { background: transparent; border: 0; color: var(--blue); cursor: pointer; padding: 4px 0; }
.empty-state { color: var(--muted); }
.admin-audit-heading { font-size: 24px; margin-top: 64px; }
@media (max-width: 760px) { .site-header { flex-wrap: wrap; padding: 16px 18px; } nav { order: 3; width: 100%; } main { padding: 48px 18px 72px; } .section-grid, .section-grid-two, .account-grid, .auth-page { grid-template-columns: 1fr; margin-top: 56px; } h1 { font-size: 48px; } .site-footer { padding-left: 18px; padding-right: 18px; } }