:root {
    --bg: #111114;
    --panel: #1a1a1f;
    --rojo: #e74c3c;
    --verde: #2ecc71;
    --azul: #2f6fed;
    --amarillo: #f1c40f;
    --cyan: #4fc3f7;
    --dim: #8a8a93;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: #fff;
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
    display: flex;
    justify-content: center;
    padding: 24px 12px;
}

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

.oculto { display: none !important; }

.header {
    background: var(--panel);
    border: 2px solid var(--rojo);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    margin-bottom: 14px;
}
.header h1 { margin: 0 0 4px; font-size: 18px; }
.header a { color: var(--cyan); font-size: 12px; text-decoration: none; }

.estado {
    color: var(--dim);
    font-size: 12px;
    margin-bottom: 12px;
}

.bloque {
    margin-bottom: 12px;
}

label { font-size: 12px; }

input[type="text"], input[type="password"], textarea {
    width: 100%;
    background: #0b0b0d;
    color: #fff;
    border: 1px solid #2a2a30;
    border-radius: 6px;
    padding: 8px;
    font-family: Consolas, monospace;
    font-size: 12px;
    resize: vertical;
}

textarea#proxies { height: 80px; }

.fila { display: flex; gap: 6px; }
.fila > * { flex: 1; }

button {
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    width: 100%;
}
button:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-azul { background: var(--azul); }
.btn-verde { background: var(--verde); color: #0c0c0c; }
.btn-rojo { background: var(--rojo); }

.switch-linea { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }

.tipo-proxy { display: flex; gap: 12px; align-items: center; font-size: 12px; margin-bottom: 8px; }

#resultados {
    background: #0b0b0d;
    border: 1px solid #2a2a30;
    border-radius: 6px;
    height: 260px;
    overflow-y: auto;
    padding: 8px;
    font-family: Consolas, monospace;
    font-size: 12px;
    white-space: pre-wrap;
}

.linea-valido { color: var(--verde); }
.linea-invalido { color: var(--rojo); }
.linea-aviso { color: var(--amarillo); }
.linea-info { color: var(--cyan); }

.error-login { color: var(--rojo); font-size: 12px; margin-top: 8px; min-height: 14px; }
