﻿* {
    box-sizing: border-box;
}
html {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    padding: 0;
    background: #f4f5f7;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
}
.paginaAlmuerzo {
    width: 100%;
    min-height: 100vh;
}
.contenedorIdentificacion {
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.tarjetaIdentificacion {
    width: 100%;
    max-width: 420px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}
.contenedorLogo {
    width: 100%;
    margin-bottom: 18px;
    text-align: center;
}
.logoPedidoAlmuerzo {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 0 auto;
}
.tituloIdentificacion {
    margin-bottom: 7px;
    color: #333333;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}
.textoIdentificacion {
    margin-bottom: 24px;
    color: #777777;
    font-size: 14px;
    text-align: center;
}
.grupoFormulario {
    margin-bottom: 18px;
}
.etiquetaFormulario {
    display: block;
    margin-bottom: 7px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
}
.inputFormulario {
    width: 100%;
    height: 46px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 5px;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    outline: none;
}
.inputFormulario:focus {
    border-color: #2A3F54;
    box-shadow: 0 0 0 2px rgba(42, 63, 84, .10);
}
.botonIngresar {
    width: 100%;
    min-height: 46px;
    padding: 10px 18px;
    background: #2A3F54;
    border: 0;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}
.botonIngresar:hover {
    background: #1f3041;
}
.botonIngresar:disabled {
    background: #7d8b99;
    cursor: default;
}
.mensajeIdentificacion {
    margin-top: 15px;
    color: #a94442;
    font-size: 13px;
    text-align: center;
}
.contenedorPedido {
    width: 100%;
    padding: 12px;
}
.cardAlmuerzoPrincipal {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .10);
}
.cabeceraPrincipal {
    padding: 14px 18px;
    background: #2A3F54;
    color: #ffffff;
}
.almuerzoCabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.almuerzoCabeceraTitulo {
    min-width: 0;
    flex: 1;
}
.almuerzoCabeceraTitulo h1 {
    margin: 0 0 4px 0;
    padding: 0;
    color: #ffffff;
    font-size: 21px;
    font-weight: 600;
}
.almuerzoCabeceraTexto {
    margin: 0 0 8px 0;
    color: #d9e0e6;
    font-size: 13px;
}
.nombreTrabajador {
    display: inline-block;
    margin-right: 15px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}
.datosTrabajador {
    display: inline-block;
    color: #d9e0e6;
    font-size: 13px;
}
.almuerzoSemana {
    min-width: 210px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 3px;
    color: #2A3F54;
}
.almuerzoSemanaTitulo {
    display: block;
    margin-bottom: 2px;
    color: #777777;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}
.almuerzoSemanaValor {
    display: block;
    color: #2A3F54;
    font-size: 13px;
    font-weight: 600;
}
.contenidoPedido {
    padding: 14px;
}
.resumenPedido {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 7px 12px;
    background: #f5f6f7;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.textoPendientes {
    margin: 0;
    color: #444444;
    font-size: 13px;
    font-weight: 600;
}
.diasResumen {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}
.diaResumen {
    display: flex;
    width: 32px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: background-color .15s ease;
}
.diaResumenPendiente {
    background: #dfe3e6;
    color: #444444;
}
.diaResumenSeleccionado {
    background: #28a745;
    color: #ffffff;
}
.diaResumenFaltante {
    background: #dc3545;
    color: #ffffff;
}
.diaAlmuerzo {
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 3px;
}
.diaAlmuerzo.errorSeleccion {
    border-color: #dc3545;
}
.diaAlmuerzo.errorSeleccion .diaAlmuerzoCabecera {
    border-left-color: #dc3545;
}
.diaAlmuerzoCabecera {
    display: block;
    padding: 8px 12px;
    background: #eef0f2;
    border-bottom: 1px solid #cccccc;
    border-left: 4px solid #2A3F54;
}
.diaAlmuerzoTitulo {
    color: #2A3F54;
    font-size: 15px;
    font-weight: 600;
}
.detalleMenuDia {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    background: #fafafa;
    border-bottom: 1px solid #dddddd;
}
.detalleMenuNoSeleccionable {
    width: 33.333333%;
    min-width: 0;
    padding: 8px 12px;
    border-right: 1px solid #e0e0e0;
}
.detalleMenuNoSeleccionable:last-child {
    border-right: 0;
}
.detalleMenuTipo {
    margin-bottom: 3px;
    color: #777777;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}
.detalleMenuDescripcion {
    color: #333333;
    font-size: 12px;
    line-height: 16px;
    white-space: normal;
    word-break: break-word;
}
.opcionesMenuDia {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding: 5px;
}
.opcionMenuAlmuerzo {
    display: flex;
    width: calc(50% - 8px);
    min-width: 0;
    min-height: 58px;
    align-items: flex-start;
    margin: 4px;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.opcionMenuAlmuerzo:hover {
    background: #f7f8f9;
    border-color: #7b8b99;
}
.opcionMenuAlmuerzo.seleccionado {
    padding: 7px 9px;
    background: #edf8f0;
    border: 2px solid #28a745;
}
.opcionMenuAlmuerzo.seleccionado .tipoOpcionMenu {
    color: #218838;
}
.opcionMenuAlmuerzo.seleccionado .radioMenu {
    accent-color: #28a745;
}
.radioMenu {
    position: static;
    display: block;
    width: 15px;
    height: 15px;
    min-width: 15px;
    margin: 3px 9px 0 0;
    opacity: 1;
    cursor: pointer;
}
.contenidoOpcionMenu {
    min-width: 0;
    flex: 1;
}
.tipoOpcionMenu {
    margin-bottom: 3px;
    color: #2A3F54;
    font-size: 13px;
    font-weight: 600;
}
.descripcionOpcionMenu {
    color: #333333;
    font-size: 12px;
    line-height: 17px;
    white-space: normal;
    word-break: break-word;
}
.opcionSinAlmuerzo {
    background: #f7f7f7;
    border-style: dashed;
}
.opcionSinAlmuerzo:hover {
    background: #f2f2f2;
}
.opcionSinAlmuerzo.seleccionado {
    background: #edf8f0;
    border-style: solid;
    border-color: #28a745;
}
.almuerzoPie {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #dddddd;
}
.almuerzoPieInfo {
    color: #777777;
    font-size: 11px;
}
.btnGuardarAlmuerzo {
    min-width: 190px;
    height: 38px;
    padding: 0 20px;
    background: #2A3F54;
    border: 0;
    border-radius: 3px;
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}
.btnGuardarAlmuerzo:hover {
    background: #1f3041;
}
.btnGuardarAlmuerzo:disabled {
    background: #7d8b99;
    cursor: default;
}
.mensajeCorrecto {
    margin-bottom: 15px;
    padding: 12px 15px;
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    color: #3c763d;
}
.mensajeError {
    margin-bottom: 15px;
    padding: 12px 15px;
    background: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    color: #a94442;
}
.piePagina {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #7a7a7a;
    padding: 15px 10px;
    box-sizing: border-box;
}
@media screen and (max-width: 767px) {
    .contenedorIdentificacion {
        padding: 12px;
    }
    .tarjetaIdentificacion {
        padding: 22px 18px;
    }
    .contenedorLogo {
        margin-bottom: 15px;
    }
    .logoPedidoAlmuerzo {
        max-width: 235px;
    }
    .tituloIdentificacion {
        font-size: 21px;
    }
    .textoIdentificacion {
        margin-bottom: 20px;
    }
    .contenedorPedido {
        padding: 6px;
    }
    .cardAlmuerzoPrincipal {
        border-radius: 2px;
    }
    .cabeceraPrincipal {
        padding: 12px;
    }
    .almuerzoCabecera {
        display: block;
    }
    .almuerzoCabeceraTitulo h1 {
        font-size: 18px;
    }
    .almuerzoCabeceraTexto {
        font-size: 12px;
    }
    .nombreTrabajador {
        display: block;
        margin: 0 0 2px 0;
    }
    .datosTrabajador {
        display: block;
    }
    .almuerzoSemana {
        width: 100%;
        min-width: 0;
        margin-top: 10px;
        padding: 7px 10px;
    }
    .contenidoPedido {
        padding: 8px;
    }
    .resumenPedido {
        min-height: 38px;
        margin-bottom: 8px;
        padding: 6px 8px;
    }
    .textoPendientes {
        font-size: 12px;
    }
    .diasResumen {
        gap: 4px;
    }
    .diaResumen {
        width: 30px;
        height: 28px;
    }
    .diaAlmuerzo {
        margin-bottom: 7px;
    }
    .diaAlmuerzoCabecera {
        padding: 7px 9px;
    }
    .diaAlmuerzoTitulo {
        font-size: 14px;
    }
    .detalleMenuDia {
        display: block;
    }
    .detalleMenuNoSeleccionable {
        display: flex;
        width: 100%;
        padding: 4px 8px;
        border-right: 0;
        border-bottom: 1px solid #eeeeee;
    }
    .detalleMenuNoSeleccionable:last-child {
        border-bottom: 0;
    }
    .detalleMenuTipo {
        width: 62px;
        min-width: 62px;
        margin: 0 7px 0 0;
        padding-top: 1px;
    }
    .detalleMenuDescripcion {
        min-width: 0;
        flex: 1;
        line-height: 15px;
    }
    .opcionesMenuDia {
        display: block;
        padding: 6px;
    }
    .opcionMenuAlmuerzo {
        width: 100%;
        min-height: 0;
        margin: 0 0 4px 0;
        padding: 6px 8px;
    }
    .opcionMenuAlmuerzo:last-child {
        margin-bottom: 0;
    }
    .opcionMenuAlmuerzo.seleccionado {
        padding: 5px 7px;
    }
    .radioMenu {
        margin-top: 2px;
    }
    .tipoOpcionMenu {
        font-size: 12px;
    }
    .descripcionOpcionMenu {
        font-size: 12px;
        line-height: 15px;
    }
    .almuerzoPie {
        display: block;
        margin-top: 10px;
        padding-top: 8px;
    }
    .almuerzoPieInfo {
        margin-bottom: 8px;
        line-height: 15px;
    }
    .btnGuardarAlmuerzo {
        width: 100%;
        min-width: 0;
        height: 38px;
    }
}