@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* ============================================
   Sistema Integral de Gestión de Comedor Empresarial "CIAGROPA"
   Design System — Aula (Google for Education)
   ============================================ */
:root {
    --primary: #1b5e20;
    --primary-dark: #124116;
    --primary-light: #2e7d32;
    --secondary: #5f6368;
    --success: #34a853;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #1a73e8;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-light: #80868b;
    --border-color: #e8eaed;
    --shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
    --shadow-lg: 0 1px 3px rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
    --radius: 8px;
    --font-family: 'Google Sans', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --sidebar-width: 260px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-family);
    background: var(--bg-light);
    color: var(--text-primary);
    font-size: 0.95rem;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout con sidebar ---------- */
.layout { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-width);
    background: #ffffff;
    color: var(--text-primary);
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; bottom: 0;
    z-index: 100;
    transition: transform 0.3s;
    border-right: 1px solid #e8eaed;
}
.sidebar-header {
    padding: 18px 16px;
    border-bottom: 1px solid #e8eaed;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; }
.sidebar-logo { width: 42px; height: auto; flex-shrink: 0; }
.sidebar-brand strong { color: #202124; font-size: 1.05rem; display: block; }
.sidebar-brand small { color: #5f6368; }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.nav-section {
    padding: 14px 16px 6px;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #80868b;
    font-weight: 500;
    letter-spacing: 0.08em;
}
.nav-item {
    display: flex; align-items: center;
    padding: 0 12px 0 16px;
    height: 40px;
    color: #3c4043;
    font-size: 0.875rem;
    transition: all 0.2s; gap: 10px;
    border-radius: 0 24px 24px 0;
    margin-right: 8px;
    text-decoration: none;
}
.nav-item:hover { background: #f8f9fa; color: #202124; text-decoration: none; }
.nav-item.active {
    background: #e6f4ea;
    color: #137333;
    font-weight: 500;
}

.sidebar-footer {
    border-top: 1px solid #e8eaed;
    padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.user-info strong { color: #202124; display: block; font-size: 0.875rem; }
.user-info small { color: #5f6368; }
.btn-logout { color: #5f6368; font-size: 0.85rem; }
.btn-logout:hover { color: var(--danger); text-decoration: none; }
.sidebar-credit {
    padding: 8px 16px 12px;
    display: flex; align-items: center; gap: 6px;
    font-size: 0.7rem; color: #80868b;
}
.sidebar-credit img { height: 14px; width: auto; }

.main { flex: 1; margin-left: var(--sidebar-width); min-width: 0; }

.top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e8eaed;
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.top-bar h1 { font-size: 1.25rem; font-weight: 500; color: var(--primary); }

.content { padding: 24px; }

/* ---------- Cards ---------- */
.card {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s ease;
    margin-bottom: 20px;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary);
    font-weight: 500;
    display: flex; align-items: center; justify-content: space-between;
}
.card-body { padding: 20px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
    background: #ffffff; border-radius: 8px; padding: 24px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s ease;
}
.stat-card:hover { box-shadow: var(--shadow-lg); }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 500; color: var(--primary); }
.stat-card .stat-label { color: var(--text-secondary); font-size: 0.85rem; margin-top: 4px; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 20px;
    border: 0; border-radius: 20px;
    font-family: var(--font-family);
    font-size: 0.875rem; font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: #e6f4ea; border-color: var(--primary); color: var(--primary-dark); }
.btn-danger { background: transparent; color: #c5221f; border: 1px solid var(--border-color); }
.btn-danger:hover { background: #fce8e6; border-color: #c5221f; }
.btn-sm { padding: 5px 14px; font-size: 0.8rem; }

/* ---------- Tablas ---------- */
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th {
    background: #fafafa;
    font-weight: 500;
    color: #5f6368;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.07em;
    border-bottom: 1px solid #e8eaed;
    padding: 12px 16px;
    text-align: left;
}
.table td { padding: 11px 16px; border-bottom: 1px solid var(--border-color); }
.table tbody tr:hover { background: #f8f9fa; }

/* ---------- Badges (chips) ---------- */
.badge {
    display: inline-block;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 3px 10px;
}
.badge-success { background: #e6f4ea; color: #137333; }
.badge-danger  { background: #fce8e6; color: #c5221f; }
.badge-info    { background: #e8f0fe; color: #1967d2; }
.badge-warning { background: #fef7e0; color: #e37400; }
.badge-neutral { background: #f1f3f4; color: #5f6368; }

/* ---------- Formularios ---------- */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-weight: 500; color: #5f6368; font-size: 0.875rem; margin-bottom: 6px; }
.form-control {
    width: 100%; padding: 10px 12px;
    border: 1px solid #e8eaed; border-radius: 4px;
    font-family: var(--font-family); font-size: 0.95rem;
    transition: border-color 0.15s;
    background: #fff;
}
.form-control:focus { border-color: #1a73e8; outline: 2px solid transparent; box-shadow: 0 0 0 1px #1a73e8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 10px; margin-top: 20px; }

/* ---------- Alertas ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 0.9rem; }
.alert-error   { background: #fce8e6; color: #c5221f; }
.alert-success { background: #e6f4ea; color: #137333; }
.alert-info    { background: #e8f0fe; color: #1967d2; }

/* ---------- Login ---------- */
.auth-body { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--bg-light); }
.login-box {
    background: #fff; padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%; max-width: 380px;
}
.login-box h1 { color: var(--primary); margin-bottom: 2px; font-weight: 500; }
.login-logo { display: block; max-width: 260px; width: 100%; margin: 0 auto 20px; }
.login-sub { color: var(--text-secondary); margin-bottom: 24px; text-align: center; }
.login-credit {
    margin-top: 24px; padding-top: 14px;
    border-top: 1px solid #e8eaed;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 0.75rem; color: #80868b;
}
.login-credit img { height: 18px; width: auto; }
.login-box label { display: block; margin: 14px 0 6px; font-size: 0.875rem; font-weight: 500; color: #5f6368; }
.login-box input {
    width: 100%; padding: 11px 12px;
    border: 1px solid #e8eaed; border-radius: 4px;
    font-size: 1rem; font-family: var(--font-family);
}
.login-box input:focus { border-color: #1a73e8; outline: 2px solid transparent; box-shadow: 0 0 0 1px #1a73e8; }
.login-box button {
    width: 100%; margin-top: 24px; padding: 11px;
    background: var(--primary); color: #fff;
    border: 0; border-radius: 20px;
    font-size: 0.95rem; font-weight: 500; font-family: var(--font-family);
    cursor: pointer; transition: all 0.2s;
}
.login-box button:hover { background: var(--primary-dark); box-shadow: var(--shadow); }

/* ---------- POS (PWA de caja) ---------- */
.pos-body { background: var(--bg-light); }
.pos-top {
    background: #ffffff;
    border-bottom: 1px solid #e8eaed;
    padding: 10px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: sticky; top: 0; z-index: 50;
}
.pos-brand { display: flex; align-items: center; gap: 10px; }
.pos-brand img { width: 36px; height: auto; }
.pos-brand strong { color: var(--primary); display: block; font-size: 1rem; }
.pos-brand small { color: #5f6368; font-size: 0.75rem; }
.pos-top-links { display: flex; gap: 18px; font-size: 0.875rem; }
.pos-top-links a { color: #3c4043; }
.pos-top-links a:first-child { color: var(--primary); font-weight: 500; }
.pos-main { padding: 20px; max-width: 1100px; margin: 0 auto; }
.pos-toolbar { padding: 12px 16px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pos-buscar { flex: 1; min-width: 220px; font-size: 1.05rem; }
.pos-hints { font-size: 0.75rem; color: #80868b; font-weight: 400; }
kbd {
    background: #f1f3f4; border: 1px solid #dadce0; border-radius: 4px;
    padding: 1px 5px; font-size: 0.72rem; font-family: var(--font-mono, monospace);
    color: #3c4043;
}
.btn kbd { background: rgba(255,255,255,0.25); border-color: transparent; color: inherit; }
tr.pos-sel td { background: #e6f4ea !important; }
tr.pos-sel td:first-child { box-shadow: inset 4px 0 0 var(--primary); }

/* Modal de confirmación de entrega del POS */
.pos-modal-fondo {
    position: fixed; inset: 0;
    background: rgba(32,33,36,.55);
    display: flex; align-items: center; justify-content: center;
    z-index: 300;
}
.pos-modal {
    background: #fff;
    border-radius: 12px;
    padding: 26px 30px;
    width: min(440px, 92vw);
    text-align: center;
    box-shadow: 0 1px 3px rgba(60,64,67,.3), 0 8px 16px 6px rgba(60,64,67,.2);
    animation: splashFadeUp 0.15s ease-out;
}
.pos-modal h3 { margin: 0 0 10px; color: #1b5e20; font-size: 1.15rem; }
.pos-modal-nombre { margin: 0 0 4px; font-size: 1.3rem; font-weight: 700; color: #202124; }
.pos-modal-detalle { margin: 0 0 18px; color: #5f6368; font-size: 0.95rem; }
.pos-modal-botones { display: flex; gap: 10px; justify-content: center; }
.pos-modal-botones .btn { min-width: 150px; }

/* ---------- Pantalla de QR (tablet frente al funcionario) ---------- */
.pantalla-body {
    background: #ffffff;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
}
.pantalla-wrap { text-align: center; padding: 24px; width: 100%; }
.pantalla-panel { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pantalla-logo { max-width: 320px; width: 70%; opacity: 0.85; }
.pantalla-msj { font-size: 1.3rem; color: var(--text-secondary); }
.pantalla-caja { color: #80868b; }
.pantalla-nombre { font-size: 1.9rem; font-weight: 500; color: var(--text-primary); }
.pantalla-detalle { font-size: 1.15rem; color: var(--text-secondary); }
.pantalla-qr { display: inline-block; padding: 16px; background: #fff; }
.pantalla-timer { font-size: 1.1rem; color: var(--text-secondary); }
.pantalla-timer strong { color: var(--primary); font-size: 1.4rem; }
.pantalla-icono {
    width: 140px; height: 140px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: #fff; font-weight: 500;
}
.pantalla-icono-ok { background: var(--success); }
.pantalla-icono-warn { background: var(--warning); }

/* ---------- Utilidades ---------- */
.text-muted { color: var(--text-light); }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        background: #ffffff;
        border-right: none;
        box-shadow: 0 1px 3px rgba(60,64,67,.3), 0 8px 16px 6px rgba(60,64,67,.2);
    }
    .sidebar.open { transform: translateX(0); }
    .main { margin-left: 0; }
    .form-row { grid-template-columns: 1fr; }
}

/* ===== Asistente del menú semanal (wizard) ===== */
.wizard-ayuda { color: #5f6368; font-size: 0.95rem; margin: 0 0 16px; }
.wizard-volver { margin-bottom: 14px; }
.chip {
    display: inline-block; padding: 2px 10px; border-radius: 12px;
    font-size: 0.78rem; font-weight: 500; white-space: nowrap;
}
.chip-ok { background: #e6f4ea; color: #137333; }
.chip-vacio { background: #f1f3f4; color: #80868b; }

.semana-grid {
    display: grid; gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.dia-card {
    display: block; background: #fff; border: 1px solid #e8eaed; border-radius: 8px;
    padding: 14px 16px; text-decoration: none; color: #202124;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.dia-card:hover {
    border-color: #1b5e20;
    box-shadow: 0 1px 3px rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
}
.dia-card-head {
    display: flex; justify-content: space-between; align-items: baseline;
    border-bottom: 1px solid #e8eaed; padding-bottom: 8px; margin-bottom: 8px;
}
.dia-card-head strong { font-size: 1.05rem; color: #1b5e20; }
.dia-card-head span { color: #5f6368; font-size: 0.85rem; }
.dia-serv {
    display: flex; justify-content: space-between; align-items: center;
    padding: 5px 0; font-size: 0.9rem;
}

.serv-card {
    display: block; background: #fff; border: 1px solid #e8eaed; border-radius: 8px;
    padding: 16px 20px; margin-bottom: 12px; text-decoration: none; color: #202124;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.serv-card:hover {
    border-color: #1b5e20;
    box-shadow: 0 1px 3px rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
}
.serv-card-head {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;
}
.serv-card-head strong { font-size: 1.15rem; color: #1b5e20; }
.serv-card-detalle { font-size: 0.9rem; line-height: 1.6; }

.btn-grande { padding: 14px 28px; font-size: 1.05rem; }
.form-grande .form-label { font-size: 1rem; color: #202124; }
.form-grande .form-control { font-size: 1.05rem; padding: 14px; }
.form-grande .form-group { margin-bottom: 22px; }
.wizard-publicar {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
}

/* ===== Selección del personal (wizard móvil) ===== */
.sel-servicio { margin-bottom: 22px; }
.sel-servicio-titulo {
    font-weight: 600; color: #1b5e20; font-size: 1.05rem;
    margin-bottom: 8px; padding-bottom: 4px; border-bottom: 1px solid #e8eaed;
}
.opcion {
    display: flex; align-items: center; gap: 12px;
    border: 1.5px solid #e8eaed; border-radius: 8px;
    padding: 14px; margin-bottom: 8px; cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.opcion input[type="radio"] { width: 20px; height: 20px; flex-shrink: 0; accent-color: #1b5e20; }
.opcion-texto { font-size: 1rem; line-height: 1.35; }
.opcion-nota { display: block; color: #e37400; font-size: 0.82rem; margin-top: 3px; }
.opcion-activa { border-color: #1b5e20; background: #e8f5e9; }
.opcion-no { border-style: dashed; }
.opcion-no .opcion-texto { color: #5f6368; }
.opcion:has(input:disabled) { opacity: 0.65; cursor: default; }

/* ===== PWA del personal (layout propio) ===== */
.personal-body {
    background: #f8f9fa;
    min-height: 100vh;
    margin: 0;
    padding-bottom: 76px; /* espacio para la bottom nav */
}
.personal-top {
    display: flex; align-items: center; gap: 12px;
    background: #ffffff;
    border-bottom: 1px solid #e8eaed;
    padding: 12px 16px;
    position: sticky; top: 0; z-index: 50;
}
.personal-top img { width: 36px; height: 36px; border-radius: 8px; }
.personal-top-titulo strong { display: block; font-size: 1.05rem; color: #1b5e20; }
.personal-top-titulo small { color: #5f6368; font-size: 0.8rem; }
.personal-main {
    padding: 16px;
    max-width: 640px;
    margin: 0 auto;
}
.personal-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    display: flex;
    background: #ffffff;
    border-top: 1px solid #e8eaed;
    box-shadow: 0 -1px 3px rgba(60,64,67,.15);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.personal-nav-item {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 10px 4px 8px;
    color: #5f6368;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 500;
}
.personal-nav-item.active { color: #1b5e20; }
.personal-nav-item.active svg { background: #e8f5e9; }
.personal-nav-item svg {
    width: 56px; height: 32px;
    padding: 4px 15px; /* con box-sizing:border-box el ícono queda de 26x24 */
    border-radius: 16px;
}

/* Botón central Escanear del bottom nav */
.nav-escanear-circulo {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px;
    margin-top: -18px;
    border-radius: 50%;
    background: #1b5e20; color: #fff;
    box-shadow: 0 2px 6px rgba(27,94,32,.45);
}
.nav-escanear-circulo svg { width: 26px; height: 26px; padding: 0; border-radius: 0; }
.personal-nav-item.nav-escanear.active .nav-escanear-circulo { background: #144517; }
.personal-nav-item.nav-escanear.active .nav-escanear-circulo svg { background: transparent; }

/* Escáner de QR en la PWA */
.escanear-wrap { display: flex; flex-direction: column; gap: 14px; }
.escanear-visor {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}
/* html5-qrcode maneja su layout interno (video/canvas): sin overrides */
#reader { width: 100%; }
.escanear-estado {
    text-align: center;
    color: #3c4043; font-size: 0.95rem;
    margin: 0;
}

/* Splash screen */
.splash-screen {
    position: fixed; inset: 0;
    background: linear-gradient(135deg, #1b5e20 0%, #144517 50%, #0c2e0e 100%);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
.splash-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-content { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.splash-logo {
    width: 110px; height: 110px; border-radius: 24px;
    animation: splashLogoAnim 1.2s ease-out forwards;
}
.splash-titulo { text-align: center; color: #fff; opacity: 0; animation: splashFadeUp 0.8s ease-out 0.4s forwards; }
.splash-titulo strong { display: block; font-size: 1.4rem; }
.splash-titulo small { font-size: 0.85rem; opacity: 0.8; letter-spacing: 0.1em; }
.splash-spinner {
    width: 30px; height: 30px;
    border: 3px solid rgba(255,255,255,0.25);
    border-top-color: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: splashFadeUp 0.5s ease-out 0.7s forwards, splashSpin 0.8s linear infinite;
}
@keyframes splashLogoAnim {
    0% { opacity: 0; transform: scale(0.5) translateY(20px); }
    55% { opacity: 1; transform: scale(1.08) translateY(0); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes splashFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes splashSpin { to { transform: rotate(360deg); } }

/* Aviso flotante de instalación */
.pwa-install-banner {
    position: fixed;
    bottom: 86px; left: 12px; right: 12px;
    max-width: 420px; margin: 0 auto;
    display: flex; align-items: center; gap: 12px;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
    z-index: 200;
    animation: splashFadeUp 0.3s ease-out;
}
.pwa-install-banner img { width: 44px; height: 44px; border-radius: 10px; }
.pwa-install-texto { flex: 1; min-width: 0; }
.pwa-install-texto strong { display: block; font-size: 0.92rem; color: #1b5e20; }
.pwa-install-texto small { color: #5f6368; font-size: 0.78rem; }
.pwa-install-cerrar {
    background: none; border: none; color: #80868b;
    font-size: 22px; cursor: pointer; padding: 0 4px; flex-shrink: 0;
}

/* Ajustes */
.ajuste-card { margin-bottom: 14px; }
.ajuste-usuario { display: flex; align-items: center; gap: 14px; }
.ajuste-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: #1b5e20; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 600; flex-shrink: 0;
}
.ajuste-salir { color: #c5221f; border-color: #f3d1d0; }

/* Mantener sesión iniciada (login) */
.login-recordar {
    display: flex; align-items: center; gap: 8px;
    margin: 12px 0 4px;
    font-size: 0.9rem; color: #3c4043;
    cursor: pointer; user-select: none;
}
.login-recordar input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: #1b5e20;
    margin: 0; flex-shrink: 0;
}

/* Aviso de nuevo menú publicado */
.aviso-nuevo-menu {
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
    animation: splashFadeUp 0.3s ease-out;
}
.aviso-nuevo-menu:hover { background: linear-gradient(135deg, #144517, #1b5e20); color: #fff; }
.aviso-nuevo-menu svg { flex-shrink: 0; animation: campanita 2s ease-in-out infinite; transform-origin: top center; }
.aviso-nuevo-menu span { font-size: 0.9rem; line-height: 1.4; }
.aviso-nuevo-menu strong { font-size: 1rem; }
@keyframes campanita {
    0%, 60%, 100% { transform: rotate(0); }
    65% { transform: rotate(12deg); }
    70% { transform: rotate(-10deg); }
    75% { transform: rotate(7deg); }
    80% { transform: rotate(-5deg); }
    85% { transform: rotate(0); }
}

/* Tarjeta "Hoy se come" */
.hoy-card { margin-bottom: 14px; border-top: 4px solid #1b5e20; }
.hoy-card .card-header span { color: #1b5e20; font-weight: 600; }
.hoy-fila {
    display: flex; align-items: baseline; gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}
.hoy-fila:last-child { border-bottom: none; }
.hoy-servicio {
    flex-shrink: 0; width: 86px;
    font-size: 0.78rem; font-weight: 600;
    color: #5f6368; text-transform: uppercase; letter-spacing: 0.05em;
}
.hoy-plato { font-size: 0.95rem; color: #202124; }
.hoy-plato .chip { margin-left: 6px; }
.hoy-sin-eleccion { color: #80868b; font-size: 0.88rem; }
.hoy-sin-eleccion small { color: #e37400; font-weight: 500; }
