/* public/assets/css/kitchen-login.css */

/* Importamos la fuente o usamos la del sistema, pero la definimos aquí */
body {
    background-color: #0f172a;
    color: #e2e8f0;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; /* <--- FUENTE ACTUALIZADA */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.login-card {
    background-color: #1e293b;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 400px;
    text-align: center;
    border: 1px solid #334155;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 900; /* Más grueso para impacto */
    color: #38bdf8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* CLASE NUEVA para la palabra "KDS" en blanco */
.brand-suffix {
    color: #ffffff;
}

.brand-subtitle {
    color: #94a3b8;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.form-control {
    width: 100%;
    padding: 0.85rem;
    background-color: #0f172a;
    border: 1px solid #475569;
    color: #fff;
    border-radius: 0.5rem;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background-color: #38bdf8;
    color: #0f172a;
    font-weight: 800;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-login:hover {
    background-color: #0ea5e9;
}

.alert-error {
    background-color: #ef4444;
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* CLASE NUEVA para el footer del login */
.copyright {
    margin-top: 2rem; 
    font-size: 0.8rem; 
    color: #475569;
}


/* ESTILOS NETFLIX / GRID COCINEROS */
.cooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: center;
}

.cook-profile {
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.7;
}

.cook-profile:hover, .cook-profile.selected {
    transform: scale(1.1);
    opacity: 1;
}

.cook-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #334155;
    background-size: cover;
    background-position: center;
    border: 3px solid transparent;
    margin: 0 auto 0.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #94a3b8;
    overflow: hidden;
}

.cook-profile.selected .cook-avatar {
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.cook-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-top: 5px;
}

/* Ocultar formulario al inicio si no se ha seleccionado */
.login-form-hidden {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.restaurant-badge {
    background: #334155;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #94a3b8;
    display: inline-block;
    margin-bottom: 1rem;
}