/* MyFluxIA | estilos do instalador */
:root {
    --installer-bg: #101113;
    --installer-surface: #1b1c20;
    --installer-text: #f9fafb;
    --installer-muted: #a7adba;
    --installer-border: #383a42;
    --installer-accent: #ff7417;
    --installer-accent-hover: #e96208;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at top left, rgb(255 116 23 / 10%), transparent 42%),
        var(--installer-bg);
    color: var(--installer-text);
}

.installer-page {
    width: min(100% - 32px, 760px);
    margin: 0 auto;
    padding: clamp(28px, 7vh, 72px) 0;
}

.installer-card {
    padding: clamp(24px, 5vw, 44px);
    border: 1px solid var(--installer-border);
    border-radius: 20px;
    background: var(--installer-surface);
    box-shadow: 0 24px 70px rgb(0 0 0 / 25%);
}

.installer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 30px;
    color: var(--installer-text);
    font-size: 1.1rem;
    font-weight: 750;
}

.installer-brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    background: var(--installer-accent);
    color: #111;
    font-weight: 850;
}

.installer-card h1 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.installer-intro {
    margin: 0 0 26px;
    color: var(--installer-muted);
    line-height: 1.65;
}

.installer-form {
    display: grid;
    gap: 9px;
    margin-top: 26px;
}

.installer-form label {
    margin-top: 10px;
    color: #e5e7eb;
    font-size: .92rem;
    font-weight: 650;
}

.installer-form input,
.installer-form select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--installer-border);
    border-radius: 10px;
    outline: none;
    background: #141519;
    color: var(--installer-text);
    font: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.installer-form input:focus,
.installer-form select:focus {
    border-color: var(--installer-accent);
    box-shadow: 0 0 0 3px rgb(255 116 23 / 15%);
}

.installer-form button {
    min-height: 50px;
    margin-top: 18px;
    padding: 13px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--installer-accent);
    color: #171717;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.installer-form button:hover {
    background: var(--installer-accent-hover);
}

.installer-form button:active {
    transform: translateY(1px);
}

.installer-message {
    margin: 20px 0 0;
    padding: 13px 15px;
    border: 1px solid var(--installer-border);
    border-radius: 10px;
    background: #15161a;
    line-height: 1.5;
}

.installer-message--error {
    border-color: #7f1d1d;
    color: #fecaca;
}

.installer-message--success {
    border-color: #166534;
    color: #bbf7d0;
}

.installer-footnote {
    margin-top: 22px;
    color: var(--installer-muted);
    font-size: .85rem;
    line-height: 1.55;
}

@media (max-width: 520px) {
    .installer-page { width: min(100% - 20px, 760px); }
    .installer-card { border-radius: 15px; }
}
