.setup-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    padding: 2rem;
}

.setup-card {
    background: #1e293b;
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    color: #e2e8f0;
}

.setup-logo h1 { font-size: 2rem; margin: 0 0 0.25rem; }
.setup-subtitle { color: #94a3b8; margin: 0 0 2rem; }

.setup-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #0f172a;
    border-radius: 0.5rem;
}

.step-number {
    width: 2rem; height: 2rem;
    background: #3b82f6;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; flex-shrink: 0;
}

.step-content h3 { margin: 0 0 0.5rem; font-size: 1rem; color: #f1f5f9; }
.step-content ul { margin: 0; padding-left: 1.25rem; }
.step-content li { margin-bottom: 0.25rem; color: #94a3b8; }

.setup-status { padding: 0.75rem 1rem; border-radius: 0.5rem; margin-bottom: 1.5rem; display: flex; gap: 0.5rem; }
.setup-status--error { background: #450a0a; border: 1px solid #ef4444; color: #fca5a5; }
.setup-status--ok { background: #052e16; border: 1px solid #22c55e; color: #86efac; }

.code-block {
    display: flex; align-items: center; gap: 0.5rem;
    background: #020617; border-radius: 0.375rem;
    padding: 0.75rem 1rem; margin: 0.5rem 0;
    font-family: monospace; font-size: 0.85rem; color: #7dd3fc;
}

.code-option { margin-bottom: 0.75rem; }

.btn-copy {
    background: #334155; border: 1px solid #475569; cursor: pointer;
    color: #94a3b8; padding: 0.25rem 0.5rem; font-size: 0.75rem;
    border-radius: 0.25rem; white-space: nowrap;
}
.btn-copy:hover { color: #e2e8f0; background: #475569; }

.btn-verify {
    background: #3b82f6; color: white;
    border: none; border-radius: 0.5rem;
    padding: 0.75rem 2rem; font-size: 1rem;
    cursor: pointer; width: 100%; margin-top: 1rem;
    transition: background 0.2s;
}
.btn-verify:hover:not(:disabled) { background: #2563eb; }
.btn-verify:disabled { opacity: 0.5; cursor: not-allowed; }

.sql-container { position: relative; margin-top: 1rem; }
.btn-copy-sql {
    position: absolute; top: 0.5rem; right: 0.5rem;
    background: #1e293b; border: 1px solid #334155;
    color: #94a3b8; border-radius: 0.375rem;
    padding: 0.25rem 0.75rem; cursor: pointer; font-size: 0.8rem;
}
.sql-content {
    background: #020617; border-radius: 0.5rem;
    padding: 1rem; overflow-x: auto;
    font-size: 0.75rem; color: #7dd3fc;
    max-height: 400px; overflow-y: auto;
    white-space: pre-wrap;
}

details summary { cursor: pointer; color: #60a5fa; margin: 0.5rem 0; }

.setup-success { text-align: center; padding: 2rem; }
.setup-success h2 { color: #4ade80; }

.setup-checking { text-align: center; padding: 2rem; }

.spinner {
    width: 2rem; height: 2rem;
    border: 3px solid #334155;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
