/* Estilos autocontenidos del instalador (/install). Sin dependencia del build. */

:root {
    --bg: #0a0a0c;
    --card: #121215;
    --border: #232328;
    --text: #e7e9ee;
    --muted: #9aa1ad;
    --accent: #3ecf8e;
    --accent-hover: #229e66;
    --ok: #3ecf8e;
    --bad: #f85149;
    --field: #0f1115;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

.wrap {
    width: 100%;
    max-width: 460px;
}

.brand {
    display: block;
    width: 150px;
    height: auto;
    margin: 0 auto 26px;
    opacity: .95;
}

.steps {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.steps .dot {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
}

.steps .dot.active {
    background: var(--accent);
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
}

h1 {
    font-size: 20px;
    margin: 0 0 4px;
}

.sub {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 22px;
}

label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin: 14px 0 6px;
}

input {
    width: 100%;
    padding: 11px 12px;
    background: var(--field);
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    font-size: 14px;
    outline: none;
}

input:focus {
    border-color: var(--accent);
}

.row {
    display: flex;
    gap: 12px;
}

.row .col-host {
    flex: 1;
}

.row .col-port {
    width: 110px;
}

button {
    width: 100%;
    margin-top: 22px;
    padding: 12px;
    background: var(--accent);
    border: 0;
    border-radius: 9px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: var(--accent-hover);
}

button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.req {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
}

.req li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.req li:last-child {
    border-bottom: 0;
}

.req .hint {
    color: var(--muted);
    font-size: 12px;
}

.badge {
    font-size: 12px;
    font-weight: 600;
}

.badge.ok {
    color: var(--ok);
}

.badge.bad {
    color: var(--bad);
}

.alert {
    background: rgba(248, 81, 73, .12);
    border: 1px solid rgba(248, 81, 73, .4);
    color: #ffb4af;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 13px;
    margin-bottom: 18px;
}

.summary {
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 4px 14px;
    margin-bottom: 8px;
}

.summary .item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.summary .item:last-child {
    border-bottom: 0;
}

.summary .item .k {
    color: var(--muted);
}

.lang-switch {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: var(--border);
}

.lang-switch a {
    color: var(--muted);
    text-decoration: none;
    padding: 2px 6px;
}

.lang-switch a:hover {
    color: var(--text);
}

.lang-switch a.active {
    color: var(--text);
    font-weight: 600;
}
