nxtgauge-frontend-solid/src/app.css

342 lines
5.1 KiB
CSS
Raw Normal View History

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&display=swap');
:root {
--brand-orange: #fd6216;
--brand-orange-dark: #e45a14;
--brand-navy: #050026;
--ink: #100b2f;
--bg-soft: #f6f8ff;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Exo 2', sans-serif;
color: var(--ink);
background:
radial-gradient(120% 90% at 0% 0%, rgba(253, 98, 22, 0.22), transparent 52%),
radial-gradient(100% 80% at 100% 0%, rgba(26, 54, 93, 0.16), transparent 56%),
linear-gradient(180deg, #fff9f4 0%, #f8f9ff 48%, #eef2ff 100%);
}
.container {
width: min(1140px, calc(100% - 32px));
margin: 0 auto;
}
.topbar {
position: sticky;
top: 0;
z-index: 40;
border-bottom: 1px solid rgba(15, 23, 42, 0.08);
background: rgba(255, 255, 255, 0.82);
backdrop-filter: blur(10px);
}
.nav-row {
min-height: 74px;
display: flex;
align-items: center;
justify-content: space-between;
}
.brand-logo {
height: 46px;
width: auto;
}
.nav-actions {
display: flex;
gap: 10px;
}
.landing {
min-height: 100vh;
}
.hero-wrap {
padding: 38px 0 20px;
}
.hero-grid {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 18px;
}
.eyebrow {
margin: 0;
font-weight: 700;
color: var(--brand-orange);
}
.hero-title {
margin: 8px 0 12px;
font-size: clamp(30px, 4vw, 52px);
line-height: 1.06;
}
.hero-copy {
margin: 0;
color: #475569;
font-size: 16px;
}
.hero-actions {
margin-top: 18px;
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.hero-panel {
border: 1px solid #dbe1ec;
border-radius: 18px;
background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78));
padding: 16px;
box-shadow: 0 20px 42px -30px rgba(2, 6, 23, 0.66);
}
.hero-panel h3 {
margin: 0 0 10px;
font-size: 20px;
}
.chip-grid {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.chip {
border-radius: 999px;
border: 1px solid #fed7aa;
background: #fff7ed;
color: #9a3412;
font-size: 12px;
font-weight: 700;
padding: 6px 10px;
}
.section {
padding: 28px 0;
}
.section.soft {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.6));
border-top: 1px solid rgba(148, 163, 184, 0.24);
}
.section-title {
margin: 0;
font-size: 30px;
}
.section-copy {
margin: 8px 0 0;
color: #64748b;
}
.role-grid {
margin-top: 16px;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.role-card,
.card {
border: 1px solid #dbe1ec;
border-radius: 16px;
background: #fff;
padding: 14px;
}
.role-card h3 {
margin: 8px 0;
font-size: 22px;
}
.role-card p,
.card p,
.note {
margin: 0;
color: #64748b;
font-size: 14px;
line-height: 1.5;
}
.role-badge {
display: inline-block;
border-radius: 999px;
border: 1px solid rgba(253, 98, 22, 0.36);
background: rgba(253, 98, 22, 0.1);
color: #9a3412;
font-size: 11px;
font-weight: 700;
padding: 4px 9px;
}
.role-card .btn {
margin-top: 12px;
}
.split {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.card h3 {
margin-top: 0;
}
.btn {
border: 1px solid #cbd5e1;
border-radius: 10px;
padding: 10px 14px;
font-weight: 700;
background: #fff;
color: #0f172a;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.btn.primary {
border-color: var(--brand-orange);
background: var(--brand-orange);
color: #fff;
}
.btn.primary:hover {
background: var(--brand-orange-dark);
}
.page {
max-width: 980px;
margin: 0 auto;
padding: 24px;
}
.title {
margin: 0;
font-size: 30px;
font-weight: 800;
}
.subtitle {
margin-top: 8px;
color: #64748b;
}
.grid {
display: grid;
grid-template-columns: 1.25fr 0.75fr;
gap: 16px;
margin-top: 18px;
}
.field {
margin-bottom: 12px;
}
.label {
display: block;
margin-bottom: 6px;
font-size: 13px;
font-weight: 700;
}
.input,
.select,
.textarea {
width: 100%;
border: 1px solid #cbd5e1;
border-radius: 10px;
padding: 10px;
font-size: 14px;
background: #fff;
}
.textarea {
min-height: 84px;
}
.inline {
display: flex;
align-items: center;
gap: 8px;
}
.actions {
display: flex;
gap: 10px;
margin-top: 16px;
}
.note {
margin-top: 8px;
font-size: 12px;
}
.ok {
color: #0f766e;
font-weight: 700;
}
.error {
margin-top: 6px;
color: #b91c1c;
font-size: 12px;
font-weight: 700;
}
.step-pill {
display: inline-block;
font-size: 12px;
border-radius: 999px;
border: 1px solid #fed7aa;
background: #fff7ed;
padding: 4px 10px;
margin-bottom: 10px;
}
.preview {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12px;
background: #0f172a;
color: #e2e8f0;
border-radius: 12px;
padding: 10px;
max-height: 560px;
overflow: auto;
}
@media (max-width: 980px) {
.hero-grid,
.split,
.grid {
grid-template-columns: 1fr;
}
.role-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 640px) {
.role-grid {
grid-template-columns: 1fr;
}
.hero-wrap {
padding-top: 24px;
}
}