76 lines
2.9 KiB
CSS
76 lines
2.9 KiB
CSS
:root {
|
|
--bg: #f4f7fb;
|
|
--card: #ffffff;
|
|
--text: #172033;
|
|
--muted: #6b7280;
|
|
--primary: #2563eb;
|
|
--primary-dark: #1d4ed8;
|
|
--danger: #dc2626;
|
|
--border: #e5e7eb;
|
|
--shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
background: radial-gradient(circle at top left, #dbeafe, transparent 35%), var(--bg);
|
|
color: var(--text);
|
|
}
|
|
|
|
.page {
|
|
width: min(1100px, 92vw);
|
|
margin: 0 auto;
|
|
padding: 48px 0;
|
|
}
|
|
|
|
.hero {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 8px;
|
|
color: var(--primary);
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
font-size: 13px;
|
|
}
|
|
|
|
h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1; }
|
|
h2 { margin: 0 0 16px; font-size: 24px; }
|
|
.subtitle { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.6; }
|
|
.badge { background: #ecfdf5; color: #047857; padding: 12px 18px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
|
|
.card { background: rgba(255,255,255,0.92); border: 1px solid var(--border); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); margin-bottom: 24px; }
|
|
|
|
form { display: grid; grid-template-columns: 1.5fr 0.8fr auto; gap: 16px; align-items: end; }
|
|
label { display: grid; gap: 8px; color: var(--muted); font-weight: 600; }
|
|
input { width: 100%; border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; font-size: 16px; outline: none; background: #fff; }
|
|
input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
|
|
button { border: 0; border-radius: 16px; padding: 14px 20px; background: var(--primary); color: white; font-weight: 800; cursor: pointer; font-size: 15px; transition: 0.2s ease; }
|
|
button:hover { background: var(--primary-dark); transform: translateY(-1px); }
|
|
button.secondary { background: #eef2ff; color: var(--primary-dark); }
|
|
button.danger { background: #fee2e2; color: var(--danger); padding: 10px 14px; }
|
|
button.danger:hover { background: #fecaca; }
|
|
.message { min-height: 22px; color: var(--primary-dark); font-weight: 700; }
|
|
.list-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
|
|
.list-header p { margin: 4px 0 0; color: var(--muted); }
|
|
.table-wrap { overflow-x: auto; }
|
|
table { width: 100%; border-collapse: collapse; }
|
|
th, td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--border); }
|
|
th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
|
|
td { font-size: 16px; }
|
|
.empty { text-align: center; color: var(--muted); padding: 30px; }
|
|
.hidden { display: none; }
|
|
|
|
@media (max-width: 760px) {
|
|
.hero, .list-header { align-items: flex-start; flex-direction: column; }
|
|
form { grid-template-columns: 1fr; }
|
|
.badge { white-space: normal; }
|
|
}
|