/* ===== Identidad visual Cargacon ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --negro: #121212;
    --carbon: #1f1f1f;
    --naranja: #f26a1b;
    --naranja-osc: #c2410c;
    --rojo: #ff3b00;
    --ambar: #ffb000;
    --crema: #fff4ec;
    --durazno: #fbd9c3;
    --borde: #ecd9ca;
    --texto: #262626;
    --gris: #6b6b6b;
    --degradado: linear-gradient(90deg, #ff3b00, #ffb000);
    --fuente-titulo: 'Bebas Neue', 'Oswald', 'Arial Narrow', Impact, sans-serif;
    --fuente: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

/* ---------- Pantallas de acceso y registro (body.auth) ---------- */
body.auth {
    font-family: var(--fuente);
    color: var(--texto);
    margin: 0;
    padding: 24px 16px 40px;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--crema) 0%, var(--durazno) 100%);
}
body.auth .marca { display: block; margin-bottom: 14px; }
body.auth .marca img { height: 96px; width: auto; display: block; }

body.auth .container,
body.auth .card,
body.auth .login-card {
    background: #fff;
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
    padding: 32px 30px;
    border-radius: 14px;
    border-top: 5px solid transparent;
    border-image: var(--degradado) 1;
    box-shadow: 0 10px 30px rgba(194, 65, 12, .15);
    margin: 0;
}
body.auth .card, body.auth .container { max-width: 520px; }

body.auth h2 {
    font-family: var(--fuente-titulo);
    font-weight: 400;
    font-size: 32px;
    letter-spacing: .5px;
    color: var(--naranja-osc);
    text-align: center;
    margin: 0 0 22px;
}
body.auth h3 { color: var(--naranja-osc); }
body.auth p { color: var(--gris); }

body.auth .form-group { margin-bottom: 16px; }
body.auth label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #3f3f3f; }
body.auth input, body.auth select, body.auth textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #dccbbd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
    font-family: var(--fuente);
    background: #fffdfb;
}
body.auth input:focus, body.auth select:focus, body.auth textarea:focus {
    outline: none;
    border-color: var(--naranja);
    box-shadow: 0 0 0 3px rgba(242, 106, 27, .18);
}
body.auth input[type="file"] { padding: 8px; background: #fff; }

body.auth button,
body.auth .btn-login {
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background: var(--naranja);
    color: #fff;
    font-family: var(--fuente);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .05s;
}
body.auth button:hover, body.auth .btn-login:hover { background: var(--naranja-osc); }
body.auth button:active { transform: translateY(1px); }
body.auth button:disabled { opacity: .6; cursor: wait; }

body.auth a { color: var(--naranja-osc); font-weight: 600; text-decoration: none; }
body.auth a:hover { text-decoration: underline; }
body.auth .volver, body.auth .links, body.auth .links-container, body.auth .btn-volver {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
}
body.auth .btn-volver {
    background: transparent;
    border: 1px solid var(--naranja);
    color: var(--naranja-osc);
    padding: 10px;
    border-radius: 8px;
}
body.auth .links-container a, body.auth .links a { display: inline-block; margin: 4px 10px; }
body.auth .admin-email { font-weight: 700; color: var(--negro); }

/* ---------- Marca en paneles internos ---------- */
.barra-marca {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--negro);
    border-bottom: 4px solid var(--naranja);
    padding: 8px 20px;
    margin: -20px -20px 20px;   /* compensa el padding del body del admin */
}
.barra-marca img { height: 46px; width: auto; display: block; background: #fff; border-radius: 8px; padding: 3px 10px; }
.barra-marca span { color: #fff; font-family: var(--fuente-titulo); font-size: 22px; letter-spacing: 1px; }
