100 lines
2 KiB
CSS
100 lines
2 KiB
CSS
:root {
|
|
--bg: #0d1622;
|
|
--bg-accent: #182739;
|
|
--surface: rgba(7, 16, 26, 0.7);
|
|
--text: #f5f1e7;
|
|
--muted: #afbdcb;
|
|
--accent: #ffbe5c;
|
|
--accent-strong: #f97316;
|
|
--shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
|
|
color-scheme: dark;
|
|
font-family: "Avenir Next", "Segoe UI", sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(249, 115, 22, 0.22), transparent 28%),
|
|
radial-gradient(circle at top right, rgba(255, 190, 92, 0.16), transparent 30%),
|
|
linear-gradient(160deg, var(--bg) 0%, var(--bg-accent) 100%);
|
|
color: var(--text);
|
|
}
|
|
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
|
|
background-size: 36px 36px;
|
|
mask-image: radial-gradient(circle at center, black, transparent 78%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
main {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
input,
|
|
button {
|
|
border: 0;
|
|
border-radius: 18px;
|
|
font: inherit;
|
|
}
|
|
|
|
input {
|
|
padding: 15px 18px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text);
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
input::placeholder {
|
|
color: #8f9dae;
|
|
}
|
|
|
|
button {
|
|
padding: 14px 18px;
|
|
background: linear-gradient(135deg, var(--accent-strong), var(--accent));
|
|
color: #20160d;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
button:hover,
|
|
button:focus-visible,
|
|
input:focus-visible,
|
|
a:focus-visible {
|
|
outline: 2px solid rgba(255, 190, 92, 0.9);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.ghost-button {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.clear-button {
|
|
background: linear-gradient(135deg, #a42038, #d54c56);
|
|
color: #fff6f7;
|
|
}
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|