/* Installer wizard styles — only loaded for /install routes. */

.install                 { background: #0f172a; min-height: 100vh; }
.install-shell           { max-width: 880px; margin: 0 auto; padding: 1.5rem; color: #e6eaf2; }

.install-head            { display: flex; align-items: center; justify-content: space-between;
                           gap: 1rem; padding: 1rem 0 1.5rem; border-bottom: 1px solid #1e293b; }
.brand-wrap strong       { display: block; font-size: 1.1rem; }
.brand-wrap small        { color: #94a3b8; }
.install-steps           { display: flex; gap: 0.5rem; flex-wrap: wrap; font-size: 0.78rem; color: #94a3b8; }
.install-step            { padding: 0.25rem 0.55rem; border-radius: 4px; background: #1e293b; }
.install-step.active     { background: #1f6feb; color: #fff; }

.install-body            { padding-top: 1.5rem; }
.install-card            { background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 2rem;
                           box-shadow: 0 6px 24px rgba(0,0,0,0.25); }
.install-card h1         { margin-top: 0; }
.install-card h3         { margin-top: 1.5rem; }
.install-card .muted     { color: #94a3b8; }

.install-flash           { background: #16a34a; color: #fff; padding: 0.65rem 1rem; border-radius: 6px;
                           margin-bottom: 1rem; }
.install-error           { background: #b91c1c; color: #fff; padding: 0.65rem 1rem; border-radius: 6px;
                           margin-bottom: 1rem; word-break: break-word; }

.install-table           { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.install-table th        { text-align: start; padding: 0.5rem; color: #94a3b8; font-weight: 600;
                           border-bottom: 1px solid #334155; }
.install-table td        { padding: 0.5rem; border-bottom: 1px solid #1e293b; }
.install-table tr.ok td  { color: #cffafe; }
.install-table tr.fail td{ color: #fecaca; }

.install-list            { padding-inline-start: 1.25rem; }
.install-list.ok li      { color: #bbf7d0; }
.install-list.fail li    { color: #fecaca; }

.install-form            { display: grid; gap: 0.85rem; margin-top: 1rem; }
.install-form fieldset   { border: 1px solid #334155; border-radius: 8px; padding: 1rem 1.25rem; }
.install-form legend     { color: #94a3b8; padding: 0 0.4rem; font-weight: 600; }
.install-form label      { display: grid; gap: 0.35rem; font-size: 0.92rem; color: #cbd5e1; }
.install-form input,
.install-form select     { background: #0f172a; border: 1px solid #475569; border-radius: 6px;
                           color: #e2e8f0; padding: 0.55rem 0.7rem; font: inherit; width: 100%; }
.install-form input:focus,
.install-form select:focus { outline: 2px solid #1f6feb; border-color: #1f6feb; }
.install-form .row       { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.install-form .row.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) { .install-form .row { grid-template-columns: 1fr; } }

.install-actions         { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1.25rem; flex-wrap: wrap; }

.install-pre             { background: #0b1220; border: 1px solid #334155; border-radius: 6px;
                           padding: 0.85rem 1rem; font: 13px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
                           white-space: pre-wrap; word-break: break-word; color: #e2e8f0; }

.install-foot            { text-align: center; padding: 1.5rem 0 0.5rem; color: #64748b; }
.install code            { background: #0b1220; padding: 0.1rem 0.35rem; border-radius: 4px; }
.install .btn            { background: #475569; border-color: #475569; color: #fff; }
.install .btn:hover      { background: #334155; }
.install .btn.primary    { background: #1f6feb; border-color: #1f6feb; }
.install .btn.primary:hover { background: #1858bf; }
.install .btn[disabled]  { opacity: 0.55; cursor: not-allowed; }
