/*
 * Calendario propio de los campos de fecha (assets/js/calendario.js): el azul, con selector de mes y año.
 * Lo cargan la web (vistas/layout.php), el backoffice (backoffice/vistas/layout.php) y la Taquilla (backoffice/vistas/recepcion.php),
 * que no carga app.css: por eso los colores llevan su valor de reserva.
 */
.fc-d, .fc-rejilla button, .fc-nav, .fc-tit, .fc-campo, .fc-pie button { -webkit-user-select: none; user-select: none; }
.fc { position: relative; }
.fc-campo { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 14px; border: 2px solid var(--linea, #DCE3EC); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--texto, #27354F); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.fc-campo:hover { border-color: #b7c8de; }
.fc.abierto .fc-campo, .fc-campo:focus-visible { outline: none; border-color: var(--azul, #6293BE); box-shadow: 0 0 0 4px rgba(98, 147, 190, .18); }
.campo.mal .fc-campo { border-color: #C8412A; }
.fc-campo .fc-txt { flex: 1; }
.fc-campo .fc-txt.vacio { color: #9aa6b8; }
.fc-campo svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--dc-coral, #E9573D); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; width: 330px; max-width: calc(100vw - 32px); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left; pointer-events: none; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.fc.abierto .fc-pop { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.form-web .campo:has(.fc.abierto) { position: relative; z-index: 60; }
.bloque-form:has(.fc.abierto) { overflow: visible; }
.fc-cal { background: var(--marino, #1C3470); color: #fff; border-radius: 20px; box-shadow: 0 18px 44px rgba(20, 40, 80, .3); overflow: hidden; }
.fc-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 14px 6px; }
.fc-tit { flex: 1; border: 0; border-radius: 12px; padding: 4px 8px; background: none; color: #fff; font-family: var(--display, Anton, Impact, 'Arial Narrow', sans-serif); font-weight: 400; font-size: 24px; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; transition: background .15s; }
.fc-tit:hover { background: rgba(255, 255, 255, .1); }
.fc-tit em { font-family: var(--script, 'Kaushan Script', 'Brush Script MT', cursive); font-style: normal; text-transform: none; color: var(--celeste, #8FC6EA); font-size: .9em; margin-left: 6px; }
.fc-tit i { font-style: normal; font-family: var(--sans, Figtree, system-ui, sans-serif); font-size: 13px; color: var(--dc-naranja, #F2A94A); margin-left: 6px; }
.fc-nav { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; cursor: pointer; transition: background .15s, transform .15s; }
.fc-nav:hover:not(:disabled) { background: var(--dc-coral, #E9573D); transform: scale(1.08); }
.fc-nav:disabled { opacity: .3; cursor: default; }
.fc-sem, .fc-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 0 12px; }
.fc-sem { padding-top: 8px; padding-bottom: 4px; }
.fc-sem span { text-align: center; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--celeste, #8FC6EA); }
.fc-dias { padding-bottom: 12px; }
.fc-d { aspect-ratio: 1; border: 0; border-radius: 12px; background: none; font: inherit; font-size: 15px; font-weight: 700; color: #fff; cursor: pointer; transition: background .15s, transform .15s; }
.fc-d:hover:not(:disabled) { background: rgba(255, 255, 255, .14); transform: scale(1.08); }
.fc-d.finde { color: var(--dc-naranja, #F2A94A); background: rgba(255, 255, 255, .05); }
.fc-d.hoy { box-shadow: inset 0 0 0 2px var(--celeste, #8FC6EA); }
.fc-d:disabled { color: rgba(255, 255, 255, .22); background: none; cursor: default; }
.fc-d.sel { background: var(--dc-naranja, #F2A94A); color: var(--marino, #1C3470); box-shadow: 0 0 0 4px rgba(242, 169, 74, .3); }
.fc-d.vacio { visibility: hidden; }
.fc-rejilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px 12px 14px; }
.fc-rejilla button { border: 0; border-radius: 12px; padding: 13px 0; background: rgba(255, 255, 255, .07); color: #fff; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; transition: background .15s, transform .15s; }
.fc-rejilla button:hover:not(:disabled) { background: rgba(255, 255, 255, .16); transform: scale(1.05); }
.fc-rejilla button.sel { background: var(--dc-naranja, #F2A94A); color: var(--marino, #1C3470); }
.fc-rejilla button.actual { box-shadow: inset 0 0 0 2px var(--celeste, #8FC6EA); }
.fc-rejilla button:disabled { color: rgba(255, 255, 255, .22); background: none; cursor: default; }
.fc-pie { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.fc-pie span { color: #9fb4d4; }
.fc-pie button { border: 0; background: none; font: inherit; font-weight: 800; color: var(--dc-naranja, #F2A94A); cursor: pointer; padding: 6px 4px; }
.fc-pie button:disabled { opacity: .3; cursor: default; }
