/* public/assets/css/kitchen-login.css */

:root {
    --bg-color: #020617;       /* Azul noche muy oscuro */
    --card-color: #0f172a;     /* Azul oscuro sólido */
    --border-color: #1e293b;   /* Borde sutil */
    --primary: #0ea5e9;        /* Azul cielo brillante (Appetit Blue) */
    --primary-hover: #0284c7;
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --error-bg: #450a0a;
    --error-text: #fca5a5;
}

body {
    margin: 0;
    height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--text-white);
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* --- FONDO ELEGANTE (Sin movimiento mareante) --- */
.deep-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #020617 70%);
}

.login-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 20px;
    animation: fadeInUp 0.5s ease-out;
}

/* --- HEADER --- */
.brand-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-header i { font-size: 1.5rem; color: var(--primary); }
.brand-header { font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; }
.highlight { color: var(--primary); }

.status-pill {
    font-size: 0.75rem; background: rgba(14, 165, 233, 0.1);
    color: var(--primary); padding: 4px 10px; border-radius: 20px;
    border: 1px solid rgba(14, 165, 233, 0.2); font-weight: 600;
    display: flex; align-items: center; gap: 6px;
    margin-left: 10px;
}
.dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 8px var(--primary); }

/* --- TARJETA GRANDE --- */
.login-card {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 16px; /* Bordes más suaves */
    width: 100%;
    max-width: 480px; /* 🔥 MÁS ANCHO (Antes era 400px) */
    padding: 3.5rem;  /* 🔥 MÁS ESPACIO INTERNO */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.card-title {
    text-align: center; margin: 0 0 10px 0;
    font-size: 1.5rem; font-weight: 700; color: white;
}
.card-subtitle {
    text-align: center; margin: 0 0 30px 0;
    color: var(--text-gray); font-size: 0.95rem;
}

/* --- FORMULARIOS --- */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 0.8rem; color: var(--text-gray);
    margin-bottom: 8px; font-weight: 600; letter-spacing: 0.5px;
}

/* Inputs Grandes */
.input-big {
    width: 100%;
    height: 60px; /* 🔥 ALTURA TÁCTIL CÓMODA */
    background: #0b1120; /* Más oscuro que la tarjeta */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 20px;
    color: white;
    font-size: 1.1rem;
    box-sizing: border-box;
    transition: all 0.2s;
}
.input-big:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}
.center-text { text-align: center; letter-spacing: 5px; font-family: monospace; font-size: 1.5rem; }

/* Botones */
.btn-primary {
    width: 100%; height: 60px; /* 🔥 BOTÓN GRANDE */
    background: var(--primary); color: #fff;
    border: none; border-radius: 8px;
    font-size: 1.1rem; font-weight: 700;
    cursor: pointer; text-transform: uppercase; letter-spacing: 1px;
    transition: background 0.2s;
    margin-top: 10px;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }

.btn-secondary {
    width: 100%; padding: 15px; background: transparent;
    color: var(--text-gray); border: none; cursor: pointer;
    font-size: 0.9rem; margin-top: 10px;
}
.btn-secondary:hover { color: white; text-decoration: underline; }

/* --- GRID (Si hay restaurante) --- */
.restaurant-label {
    text-align: center; background: rgba(255,255,255,0.05);
    display: inline-block; padding: 5px 15px; border-radius: 20px;
    font-size: 0.85rem; color: var(--text-gray); margin-bottom: 20px;
    width: 100%; box-sizing: border-box;
}
.cooks-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px;
}
.cook-item {
    background: #0b1120; border: 1px solid var(--border-color);
    border-radius: 12px; padding: 15px; cursor: pointer;
    display: flex; flex-direction: column; align-items: center;
    transition: 0.2s;
}
.cook-item:hover { border-color: var(--primary); transform: translateY(-3px); }
.avatar {
    width: 70px; height: 70px; border-radius: 50%;
    background: #1e293b; color: var(--text-gray);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: bold; background-size: cover;
    margin-bottom: 10px; border: 2px solid transparent;
}
.cook-item:hover .avatar { border-color: var(--primary); color: white; }
.name { font-size: 0.9rem; font-weight: 600; }

/* Utilidades */
.hidden-form { display: none; animation: fadeIn 0.3s; }
.alert-error {
    background: var(--error-bg); border: 1px solid #7f1d1d;
    color: var(--error-text); padding: 15px; border-radius: 8px;
    margin-bottom: 20px; text-align: center; font-size: 0.9rem;
}
.footer-info { color: #475569; font-size: 0.8rem; margin-top: 10px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }