217 lines
4.3 KiB
CSS
217 lines
4.3 KiB
CSS
|
|
*, *::before, *::after {
|
||
|
|
box-sizing: border-box;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
html, body, #root {
|
||
|
|
height: 100%;
|
||
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
|
||
|
|
-webkit-font-smoothing: antialiased;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ── Setup screen ──────────────────────────────────────────────── */
|
||
|
|
|
||
|
|
.setup-root {
|
||
|
|
min-height: 100dvh;
|
||
|
|
background: #09090b;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
padding: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.setup-card {
|
||
|
|
width: 100%;
|
||
|
|
max-width: 400px;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 1.25rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logo-mark {
|
||
|
|
width: 56px;
|
||
|
|
height: 56px;
|
||
|
|
margin: 0 auto 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logo-mark svg {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.setup-title {
|
||
|
|
text-align: center;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
font-weight: 700;
|
||
|
|
color: #fafafa;
|
||
|
|
letter-spacing: -0.02em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.setup-subtitle {
|
||
|
|
text-align: center;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: #71717a;
|
||
|
|
margin-top: -0.75rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ── Form ───────────────────────────────────────────────────────── */
|
||
|
|
|
||
|
|
.form-group {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 0.375rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-label {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 600;
|
||
|
|
letter-spacing: 0.06em;
|
||
|
|
text-transform: uppercase;
|
||
|
|
color: #a1a1aa;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-input {
|
||
|
|
width: 100%;
|
||
|
|
padding: 0.75rem 1rem;
|
||
|
|
background: #18181b;
|
||
|
|
border: 1px solid #27272a;
|
||
|
|
border-radius: 0.625rem;
|
||
|
|
color: #fafafa;
|
||
|
|
font-size: 0.9375rem;
|
||
|
|
outline: none;
|
||
|
|
transition: border-color 0.15s;
|
||
|
|
-webkit-appearance: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-input::placeholder {
|
||
|
|
color: #52525b;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-input:focus {
|
||
|
|
border-color: #6366f1;
|
||
|
|
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-input:disabled {
|
||
|
|
opacity: 0.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-error {
|
||
|
|
font-size: 0.8125rem;
|
||
|
|
color: #f87171;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-hint {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
color: #52525b;
|
||
|
|
line-height: 1.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ── Buttons ─────────────────────────────────────────────────────── */
|
||
|
|
|
||
|
|
.btn-primary {
|
||
|
|
width: 100%;
|
||
|
|
padding: 0.8125rem 1rem;
|
||
|
|
background: #6366f1;
|
||
|
|
color: #fff;
|
||
|
|
border: none;
|
||
|
|
border-radius: 0.625rem;
|
||
|
|
font-size: 0.9375rem;
|
||
|
|
font-weight: 600;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: background 0.15s, opacity 0.15s;
|
||
|
|
-webkit-tap-highlight-color: transparent;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-primary:hover:not(:disabled) {
|
||
|
|
background: #4f46e5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-primary:active:not(:disabled) {
|
||
|
|
background: #4338ca;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-primary:disabled {
|
||
|
|
opacity: 0.4;
|
||
|
|
cursor: not-allowed;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-secondary {
|
||
|
|
width: 100%;
|
||
|
|
padding: 0.8125rem 1rem;
|
||
|
|
background: transparent;
|
||
|
|
color: #71717a;
|
||
|
|
border: 1px solid #27272a;
|
||
|
|
border-radius: 0.625rem;
|
||
|
|
font-size: 0.9375rem;
|
||
|
|
font-weight: 500;
|
||
|
|
cursor: not-allowed;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 0.625rem;
|
||
|
|
-webkit-tap-highlight-color: transparent;
|
||
|
|
}
|
||
|
|
|
||
|
|
.badge {
|
||
|
|
font-size: 0.6875rem;
|
||
|
|
font-weight: 600;
|
||
|
|
text-transform: uppercase;
|
||
|
|
letter-spacing: 0.05em;
|
||
|
|
background: #27272a;
|
||
|
|
color: #71717a;
|
||
|
|
padding: 0.1875rem 0.5rem;
|
||
|
|
border-radius: 9999px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ── Divider ─────────────────────────────────────────────────────── */
|
||
|
|
|
||
|
|
.divider {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.75rem;
|
||
|
|
color: #3f3f46;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
text-transform: uppercase;
|
||
|
|
letter-spacing: 0.06em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.divider::before,
|
||
|
|
.divider::after {
|
||
|
|
content: '';
|
||
|
|
flex: 1;
|
||
|
|
height: 1px;
|
||
|
|
background: #27272a;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ── Footer note ─────────────────────────────────────────────────── */
|
||
|
|
|
||
|
|
.setup-footer {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
color: #3f3f46;
|
||
|
|
text-align: center;
|
||
|
|
line-height: 1.6;
|
||
|
|
padding: 0 0.25rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.setup-footer strong {
|
||
|
|
color: #52525b;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ── Spinner (shown briefly while checking preferences) ─────────── */
|
||
|
|
|
||
|
|
.spinner {
|
||
|
|
width: 28px;
|
||
|
|
height: 28px;
|
||
|
|
border: 2px solid #27272a;
|
||
|
|
border-top-color: #6366f1;
|
||
|
|
border-radius: 50%;
|
||
|
|
animation: spin 0.7s linear infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes spin {
|
||
|
|
to { transform: rotate(360deg); }
|
||
|
|
}
|