/* Cafetería alumno/padre: estilos fuera del componente Livewire (defer / wire:navigate). */

.alu-cafe { display: flex; flex-direction: column; gap: 1.15rem; padding-bottom: 1.5rem; }
.alu-cafe__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.85rem; }
.alu-cafe__title { margin: 0; font-size: 1.85rem; font-weight: 800; color: #1B2B4B; }
.alu-cafe__sub { margin: 0.25rem 0 0; font-size: 0.95rem; font-weight: 650; color: #4A90D9; }
.alu-cafe__saldo {
    display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.9rem;
    border-radius: 999px; background: #fff; box-shadow: 0 8px 18px rgb(15 23 40 / 0.06);
    color: #334155; font-size: 0.85rem; font-weight: 650;
}
.alu-cafe__saldo strong { margin-left: 0.25rem; color: #15803d; font-size: 1.05rem; }
.alu-cafe__saldo-ic { display: flex; width: 1.7rem; height: 1.7rem; align-items: center; justify-content: center; border-radius: 999px; background: #dcfce7; color: #15803d; }
.alu-cafe__saldo-ic svg { width: 1rem; height: 1rem; }
.alu-cafe__hero {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
    border-radius: 1.25rem; background: linear-gradient(180deg, #fef9c3 0%, #fde68a 100%);
    color: #713f12;
}
.alu-cafe__hero-art { width: 5.2rem; height: 5.2rem; flex-shrink: 0; }
.alu-cafe__hero-title { margin: 0; font-size: 1.35rem; font-weight: 800; color: #1B2B4B; }
.alu-cafe__hero-text { margin: 0.25rem 0 0; font-size: 0.95rem; color: #57534e; }
.alu-cafe__dias { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(6.2rem, 1fr); gap: 0.65rem; overflow-x: auto; padding-bottom: 0.2rem; }
@media (min-width: 1100px) {
    .alu-cafe__dias { grid-auto-flow: unset; grid-auto-columns: unset; grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.alu-dia {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
    min-height: 8.6rem; padding: 0.85rem 0.45rem 0.7rem; border-radius: 1.1rem; border: 2px solid transparent;
    background: #ecfdf5; color: #1B2B4B; cursor: pointer;
}
.alu-dia.is-peach { background: #ffedd5; }
.alu-dia.is-sun { background: #fef9c3; }
.alu-dia.is-sky { background: #e0f2fe; }
.alu-dia.is-lilac { background: #ede9fe; }
.alu-dia.is-on { border-color: #22c55e; box-shadow: 0 0 0 3px rgb(34 197 94 / 0.18); }
.alu-dia__hoy {
    position: absolute; top: 0.4rem; right: 0.4rem; padding: 0.1rem 0.4rem;
    border-radius: 999px; background: #22c55e; color: #fff; font-size: 0.65rem; font-weight: 800;
}
.alu-dia__icon { width: 3.1rem; height: 3.1rem; }
.alu-dia__svg { width: 100%; height: 100%; }
.alu-dia__name { font-size: 0.78rem; font-weight: 800; }
.alu-dia__meta { font-size: 0.68rem; font-weight: 650; color: #64748b; }
.alu-cafe__dia-card {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem;
    padding: 1.1rem; border-radius: 1.25rem; background: #fff; box-shadow: 0 10px 22px rgb(15 23 40 / 0.06);
}
@media (min-width: 900px) {
    .alu-cafe__dia-card { grid-template-columns: minmax(0, 1fr) 13.5rem; align-items: start; }
}
.alu-cafe__especiales { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .alu-cafe__especiales { grid-template-columns: 1fr 1fr; } }
.alu-cafe__kicker { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.65rem; font-size: 0.72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #64748b; }
.alu-cafe__kicker--late { margin-top: 1rem; }
.alu-cafe__kicker-ic { display: inline-flex; width: 1.5rem; height: 1.5rem; align-items: center; justify-content: center; border-radius: 0.45rem; font-size: 0.8rem; }
.alu-cafe__kicker-ic.is-food { background: #dcfce7; }
.alu-cafe__kicker-ic.is-drink { background: #dbeafe; }
.alu-cafe__plato { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0; }
.alu-cafe__plato-art { display: flex; width: 3.4rem; height: 3.4rem; align-items: center; justify-content: center; border-radius: 0.9rem; background: #f8fafc; }
.alu-cafe__plato-svg { width: 2.4rem; height: 2.4rem; }
.alu-cafe__plato-name { margin: 0; font-size: 1rem; font-weight: 800; color: #1B2B4B; }
.alu-cafe__plato-cat { margin: 0.1rem 0 0; font-size: 0.78rem; color: #64748b; }
.alu-cafe__precio { margin-left: auto; color: #1a6ff4; font-size: 0.95rem; }
.alu-cafe__vacio { margin: 0; font-size: 0.88rem; color: #64748b; }
.alu-cafe__aviso {
    display: flex; align-items: flex-start; gap: 0.45rem; padding: 0.85rem;
    border-radius: 0.95rem; background: #dbeafe; color: #1e3a8a; font-size: 0.82rem; font-weight: 650;
}
.alu-cafe__tabs { display: flex; flex-direction: column; gap: 0.75rem; }
.alu-cafe__acciones { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 800px) { .alu-cafe__acciones { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.alu-accion {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem;
    border-radius: 1rem; border: 2px solid transparent; background: #fff;
    box-shadow: 0 8px 18px rgb(15 23 40 / 0.05); color: #1B2B4B; text-align: left; cursor: pointer;
}
.alu-accion.is-on { border-color: #1a6ff4; box-shadow: 0 0 0 3px rgb(26 111 244 / 0.14); }
.alu-accion strong { display: block; font-size: 0.95rem; }
.alu-accion small { display: block; margin-top: 0.1rem; color: #64748b; font-size: 0.78rem; }
.alu-accion__ic { display: flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; border-radius: 0.8rem; }
.alu-accion__ic svg { width: 1.2rem; height: 1.2rem; }
.alu-accion__ic.is-purple { background: #ede9fe; color: #6d28d9; }
.alu-accion__ic.is-pink { background: #fce7f3; color: #be185d; }
.alu-accion__ic.is-amber { background: #fef3c7; color: #b45309; }
.alu-cafe__tab {
    padding: 1rem 1.1rem 1.15rem; border-radius: 1.15rem; background: #fff;
    box-shadow: 0 10px 22px rgb(15 23 40 / 0.06);
}
.alu-cafe__bloque-title { margin: 0; font-size: 1.05rem; font-weight: 800; color: #1B2B4B; }
.alu-cafe__bloque-sub { margin: 0.2rem 0 0; font-size: 0.8rem; color: #64748b; }
.alu-cafe__lista { display: grid; gap: 0.35rem; }
html.dark .alu-cafe__tab { background: rgb(24 24 27); }
.alu-cafe__footer { margin: 0.4rem 0 0; text-align: center; font-size: 0.8rem; font-weight: 650; color: #64748b; }
html.dark .alu-cafe__title, html.dark .alu-cafe__hero-title, html.dark .alu-cafe__plato-name, html.dark .alu-cafe__bloque-title { color: #f4f4f5; }
html.dark .alu-cafe__saldo, html.dark .alu-cafe__dia-card, html.dark .alu-accion { background: rgb(24 24 27); color: #e4e4e7; }
html.dark .alu-cafe__aviso { background: rgb(30 58 138 / 0.35); color: #bfdbfe; }
