/* assets/css/styles.css */

/* Importar fuente Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    /* Paleta Primaria */
    --primary-orange: #FF551A;
    --primary-dark: #13252D;
    --primary-gray: #dfe3e5;
    --white: #FFFFFF;

    /* Paleta Secundaria (Para alertas y detalles) */
    --sec-blue: #3f8ce5;
    --sec-red: #f92d2d;
    --sec-green: #14b249;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-gray);
    color: var(--primary-dark);
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- CLASES DE UTILIDAD --- */
.bg-dark { background-color: var(--primary-dark); }
.text-orange { color: var(--primary-orange); }
.text-center { text-align: center; }

/* --- LOGIN Y 2FA (Centrado Absoluto) --- */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: var(--primary-dark); /* Fondo oscuro elegante */
    padding: 20px;
}

.auth-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px; /* Ancho ideal para Tablet y Móvil */
    text-align: center;
}

.auth-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

/* --- FORMULARIOS --- */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--primary-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-orange);
    outline: none;
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e04814; /* Un poco más oscuro al pasar el mouse */
}

/* --- ALERTAS --- */
.alert {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.alert-error {
    background-color: #fce4e4;
    color: var(--sec-red);
    border: 1px solid var(--sec-red);
}