/* Christmas Premium Edition 2026 — decorative layer for the entire staff portal. */
html.holiday-2026 {
    --holiday-forest: #123e34;
    --holiday-emerald: #21674f;
    --holiday-burgundy: #842f46;
    --holiday-gold: #e9cb8e;
    --holiday-line: #dce3dc;
    --holiday-card-gradient: linear-gradient(135deg, #fff 45%, #f0f5ef);
    --holiday-card-shadow: 0 5px 16px #163d2910, inset 0 1px #fff;
}
html.holiday-2026 body { background-image: radial-gradient(ellipse at 100% 0, #d5c59622, transparent 45%); }
html.holiday-2026 .sidebar { background: radial-gradient(ellipse at 10% 0, #31584580, transparent 48%), linear-gradient(160deg, #123b32, #091e20 72%); border-right: 1px solid #c9a86b50; box-shadow: 6px 0 26px #0826200c; }
html.holiday-2026 .sidebar-brand { position: relative; padding-block: 43px 30px; background: linear-gradient(180deg, #c4a86609, transparent); }
html.holiday-2026 .holiday-brand-word { position: relative; display: inline-block; }
html.holiday-2026 .holiday-brand-word::after { content: ''; position: absolute; pointer-events: none; width: 42px; height: 35px; background: url('../img/christmas-2026/satin-hat.svg') center / contain no-repeat; top: -25px; left: -13px; transform: rotate(-13deg); }
html.holiday-2026 .mobile-header .holiday-brand-word::after { width: 30px; height: 26px; top: -17px; left: -10px; }
html.holiday-2026 .employee-login .logo-icon { position: relative; box-shadow: 0 8px 24px #173c302b, inset 0 1px #d8b97480; }
html.holiday-2026 .employee-login .logo-icon::after { content: ''; position: absolute; pointer-events: none; width: 48px; height: 40px; top: -25px; left: -9px; background: url('../img/christmas-2026/satin-hat.svg') center / contain no-repeat; transform: rotate(-12deg); }
html.holiday-2026 .holiday-sidebar-garland { display: flex; align-items: flex-start; justify-content: space-around; position: absolute; inset: 0 0 auto; height: 38px; padding: 15px 7px 0; pointer-events: none; z-index: 1; overflow: hidden; }
.holiday-sidebar-garland svg { position: absolute; inset: 0; width: 100%; height: 35px; }
.holiday-bulb { position: relative; width: 5px; height: 9px; border-radius: 45% 45% 60% 60%; background: #ffe6a4; box-shadow: 0 0 6px #f3c574, 0 0 13px #edc57560; }
.holiday-bulb::before { content: ''; position: absolute; top: -3px; left: 1px; width: 3px; height: 4px; background: #7e7b4a; border-radius: 1px; }
.holiday-bulb:nth-of-type(3n) { margin-top: 5px; }
.holiday-bulb:nth-of-type(4n) { background: #e9aa9e; box-shadow: 0 0 8px #c66a7480; }
html.holiday-2026.holiday-effects-on .holiday-bulb { animation: holiday-premium-light 3.2s ease-in-out calc(var(--bulb-index) * -.27s) infinite alternate; }
html.holiday-2026 .sidebar .nav-link { border: 1px solid transparent; }
html.holiday-2026 .sidebar .nav-link.active { background: linear-gradient(110deg, #46634c, #254a3d); border-color: #cfb36a50; box-shadow: inset 3px 0 #e8cb8d, 0 5px 16px #0002; color: #fff4d6; }
html.holiday-2026 .sidebar .nav-link:hover { border-color: #bba16a30; background-color: #e3c47b0d; }
html.holiday-2026 .sidebar .nav-section-title { color: #b8ad8c; letter-spacing: .14em; }
html.holiday-2026 .sidebar::after { content: ''; position: absolute; bottom: 0; right: 0; width: 150px; height: 85px; background: url('../img/christmas-2026/pine-ornaments.svg') top left / 180px auto no-repeat; transform: rotate(180deg); opacity: .25; pointer-events: none; z-index: -1; }
/* A single quiet strip keeps the employee workspace available. */
html.holiday-2026 .holiday-banner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; padding: 10px 14px; margin-bottom: 12px; border: 1px solid #c9b47740; border-radius: 8px; background: #143d33; box-shadow: none; }
html.holiday-2026 .holiday-banner::before, html.holiday-2026 .holiday-banner::after { content: none; }
.holiday-banner-copy { display: flex; align-items: center; flex: 0 1 auto; gap: 8px; padding: 0; min-width: 0; }
.holiday-banner-icon { width: 16px; height: 20px; flex-shrink: 0; color: #d8c18c; }
.holiday-banner-title { margin: 0; font: 500 .8125rem/1.4 Inter, sans-serif; letter-spacing: .01em; color: #f2eee2; }
.holiday-banner-clock { display: flex; align-items: center; gap: 12px; padding: 0; margin: 0; border: 0; }
.holiday-clock-label { margin: 0; max-width: none; font-size: .6875rem; letter-spacing: 0; color: #c7d4ca; }
.holiday-countdown { display: flex; gap: 9px; }
.holiday-countdown > div { display: flex; flex-direction: row; align-items: baseline; gap: 3px; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.holiday-countdown strong { font: 600 .8125rem/1.4 Inter, sans-serif; font-variant-numeric: tabular-nums; min-width: 2ch; color: #e8d6aa; }
.holiday-countdown span { font-size: .625rem; letter-spacing: 0; text-transform: none; color: #c7d4ca; }
html.holiday-2026.dark-mode .holiday-banner { background: #15362f; border-color: #b9a16b40; }
@media (max-width: 575.98px) {
    html.holiday-2026 .holiday-banner { padding: 8px 10px; gap: 6px 10px; }
    .holiday-banner-copy { gap: 6px; }
    .holiday-banner-title { font-size: .75rem; }
    .holiday-clock-label { display: none; }
    .holiday-countdown { gap: 6px; }
    .holiday-countdown strong { font-size: .75rem; }
}
/* Independent statistic cards; preserve original amounts and status colors. */
html.holiday-2026 .holiday-kpi-group.card-premium { background: none !important; box-shadow: none !important; border: 0 !important; }
html.holiday-2026 .holiday-kpi-group > .card-body { padding: 0 !important; }
html.holiday-2026 .holiday-kpi-group .row { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
html.holiday-2026 .kpi-mini, html.holiday-2026 .kpi-cli { position: relative; height: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #c8b58680 !important; border-radius: 12px; background: var(--holiday-card-gradient); box-shadow: var(--holiday-card-shadow); overflow: hidden; }
html.holiday-2026 .kpi-mini::after, html.holiday-2026 .kpi-cli::after { content: ''; position: absolute; top: 0; left: 14px; right: 14px; height: 2px; background: linear-gradient(90deg, #b88d49, #e5cf98, transparent); pointer-events: none; }
html.holiday-2026 .kpi-mini small, html.holiday-2026 .kpi-cli small { font-size: .6875rem; letter-spacing: .03em; font-weight: 600 !important; line-height: 1.4; display: block; min-height: 2.8em; }
html.holiday-2026 .kpi-mini > span:not(.holiday-stat-icon) { display: block; padding-right: 30px; margin-top: 4px; font-size: 1.45rem !important; line-height: 1.35; overflow-wrap: anywhere; }
html.holiday-2026 .kpi-cli b { font-size: 1.6rem; line-height: 1.3; padding-right: 34px; margin: 1px 0 4px; }
html.holiday-2026 .kpi-cli .small { font-size: .75rem; }
html.holiday-2026 .holiday-stat-icon { display: grid; place-items: center; position: absolute; right: 12px; bottom: 12px; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg, #e5efdf, #d5e5d9); border: 1px solid #b6c4a9; color: #2d654a; box-shadow: inset 0 1px #fff9; font-size: .8rem; }
html.holiday-2026 .kpi-cli .holiday-stat-icon { bottom: 37px; }
html.holiday-2026 .holiday-kpi-group .col-md:nth-child(4) .holiday-stat-icon, html.holiday-2026 .kpi-cli .holiday-stat-icon.holiday-wine { color: #8a354c; background: linear-gradient(145deg, #f7ecee, #ecd9df); border-color: #d8b1bb; }
html.holiday-2026 .card-premium.border-start { position: relative; background-image: linear-gradient(135deg, #ffffff00 40%, #c7a45c12); box-shadow: var(--holiday-card-shadow) !important; outline: 1px solid #baa16d35; }
html.holiday-2026 .card-premium.border-start::after { content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 2px; background: linear-gradient(90deg, #c5a15b, #e6d4a2, transparent); pointer-events: none; }
html.holiday-2026 .card-premium.border-start .rounded-4 { box-shadow: inset 0 1px #f2d99a70, 0 4px 10px #1235291c !important; }
/* Shared working surfaces. */
html.holiday-2026 .card-premium:not(.holiday-kpi-group), html.holiday-2026 .lista-clientes, html.holiday-2026 .client-search-panel { box-shadow: var(--holiday-card-shadow) !important; border: 1px solid var(--holiday-line) !important; }
html.holiday-2026 .table thead th, html.holiday-2026 .encabezado-cli { background: linear-gradient(180deg, #edf2eb, #e6ede5); border-bottom: 1px solid #c3ac785e; color: #415b4b; font-size: .6875rem; letter-spacing: .045em; }
html.holiday-2026 .table > tbody > tr > td { border-bottom-color: var(--holiday-line); }
html.holiday-2026 .table > tbody > tr:hover > td { background-color: #edf4ec; }
html.holiday-2026 .client-search-panel { background: var(--holiday-card-gradient) !important; }
html.holiday-2026 .form-control, html.holiday-2026 .form-select { border-radius: 9px; }
html.holiday-2026 .main-content .form-control:focus, html.holiday-2026 .main-content .form-select:focus { border-color: #a58c50 !important; box-shadow: 0 0 0 3px #bc9a5520; }
html.holiday-2026 .btn-primary, html.holiday-2026 .modal .btn-success { background: linear-gradient(135deg, #28694f, #103d33); border: 1px solid #9f945654; box-shadow: inset 0 1px #e4cc8b40, 0 3px 9px #12382a20; }
html.holiday-2026 .btn-primary:hover, html.holiday-2026 .modal .btn-success:hover { background: linear-gradient(135deg, #327b5d, #174e3f); box-shadow: inset 0 1px #e4cc8b70, 0 5px 12px #12382a30; }
html.holiday-2026 .btn-danger { background: var(--holiday-burgundy); border-color: #6d2439; }
html.holiday-2026 .btn-danger:hover { background: #682037; }
html.holiday-2026 .filtro-cli.btn-dark { background: linear-gradient(135deg, #315e44, #173e33); border-color: #a28d59; box-shadow: inset 0 1px #f2d99130; }
html.holiday-2026 .modal-content { box-shadow: 0 30px 90px #021b1840, 0 0 0 1px #bea06165 !important; overflow: visible; }
html.holiday-2026 .modal-header { position: relative; background: linear-gradient(120deg, #f2f5ef, #f8f6ef); border-top-color: #c7a567 !important; padding-bottom: 18px; }
html.holiday-2026 .modal-header::after { content: ''; position: absolute; right: 52px; top: 7px; width: 78px; height: 47px; background: url('../img/christmas-2026/pine-ornaments.svg') center / contain no-repeat; opacity: .65; pointer-events: none; }
html.holiday-2026 .modal-title { font: 600 1.2rem/1.4 Inter, sans-serif; padding-right: 60px; }
html.holiday-2026 .modal-header .btn-close { position: relative; z-index: 1; }
html.holiday-2026 .employee-login .login-card { background-image: linear-gradient(155deg, #fff 70%, #f3f2e9); border-color: #caa766; }
html.holiday-2026 .employee-login .login-card::before { content: ''; position: absolute; top: 0; left: 0; width: 110px; height: 90px; border-radius: 20px 0 0; background: url('../img/christmas-2026/pine-ornaments.svg') top left / 150px auto no-repeat; pointer-events: none; }
html.holiday-2026 .holiday-effects-toggle { background: linear-gradient(135deg, #305240ed, #0c302bf5); border-color: #c2a76a; box-shadow: inset 0 1px #e5cb8c45, 0 6px 20px #112b2425; }
/* Slow, varied trajectories with readable white flakes on both surfaces. */
html.holiday-2026 .holiday-particle { box-shadow: 0 0 1px #2e5c4966, 0 0 4px #fff8; background: #fffef5; }
html.holiday-2026 .holiday-particle.gold { background: #d8b56d; box-shadow: 0 0 4px #d6b37655; }
html.holiday-2026.holiday-effects-on .holiday-particle { animation-name: holiday-premium-snow; }
@keyframes holiday-premium-snow { 0% { transform: translate3d(0,-12px,0); opacity: 0; } 8% { opacity: var(--particle-opacity,.65); } 35% { transform: translate3d(var(--particle-drift,30px),35vh,0); } 70% { transform: translate3d(calc(var(--particle-drift,30px) * -.3),70vh,0); opacity: var(--particle-opacity,.65); } 100% { transform: translate3d(var(--particle-drift,30px),105vh,0); opacity: 0; } }
@keyframes holiday-premium-light { 0%, 20% { opacity: .5; filter: brightness(.8); } 80%, 100% { opacity: 1; filter: brightness(1.25); } }
html.holiday-2026.dark-mode { --holiday-surface: #142e2a; --holiday-snow: #0c211f; --holiday-line: #365044; --holiday-muted: #b9cabb; --holiday-card-gradient: linear-gradient(140deg,#1c3c32,#142c29); --holiday-card-shadow: 0 7px 20px #0003, inset 0 1px #bcaa6a16; }
html.holiday-2026.dark-mode .main-content { background: radial-gradient(ellipse at top right,#46604418,transparent 55%),#0b201e; }
html.holiday-2026.dark-mode .kpi-mini, html.holiday-2026.dark-mode .kpi-cli { background: var(--holiday-card-gradient) !important; border-color: #806d445c !important; }
html.holiday-2026.dark-mode .holiday-stat-icon { background: linear-gradient(135deg,#3c6246,#254538); color: #e7d29a; border-color: #a9945559; box-shadow: inset 0 1px #f8de9720; }
html.holiday-2026.dark-mode .holiday-kpi-group .col-md:nth-child(4) .holiday-stat-icon, html.holiday-2026.dark-mode .holiday-stat-icon.holiday-wine { background: linear-gradient(135deg,#673145,#432632); color: #f5c5ce; border-color: #a66b7860; }
html.holiday-2026.dark-mode .kpi-mini .text-warning-emphasis { color: #edd394 !important; }
html.holiday-2026.dark-mode .table thead th, html.holiday-2026.dark-mode .encabezado-cli { background: linear-gradient(180deg,#264338,#1b352c); color: #d8ddc9; border-color: #8d78434d; }
html.holiday-2026.dark-mode .table > tbody > tr:hover > td { background-color: #223c32; }
html.holiday-2026.dark-mode .modal-header { background: linear-gradient(120deg,#1e3b31,#20332c); }
html.holiday-2026.dark-mode .modal-content { background: var(--holiday-card-gradient) !important; }
html.holiday-2026.dark-mode .modal .form-control, html.holiday-2026.dark-mode .modal .form-select { background-color: #102923 !important; }
html.holiday-2026.dark-mode input[type=date], html.holiday-2026.dark-mode input[type=time] { color-scheme: dark; }
html.holiday-2026.dark-mode #modalNuevaOrden .seccion-titulo { color: #c4d5c5; }
html.holiday-2026 .holiday-dashboard-stat { position: relative; }
html.holiday-2026 .holiday-dashboard-stat > h2 { padding-right: 36px; overflow-wrap: anywhere; }
@media (max-width: 1199.98px) {
    html.holiday-2026 .kpi-mini, html.holiday-2026 .kpi-cli { padding: 12px 10px; }
    html.holiday-2026 .kpi-mini small { min-height: 4.2em; }
    html.holiday-2026 .holiday-stat-icon { right: 9px; width: 27px; height: 27px; }
}
@media (max-width: 575.98px) {
    html.holiday-2026 .kpi-mini small { min-height: 2.8em; }
    html.holiday-2026 .modal-title { font-size: 1.1rem; padding-right: 30px; }
    html.holiday-2026 .modal-header::after { width: 48px; height: 29px; right: 46px; top: 10px; opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
    html.holiday-2026 .holiday-bulb, html.holiday-2026 .holiday-particle { animation: none !important; }
    html.holiday-2026 .kpi-cli:hover { transform: none; }
}
@media print {
    html.holiday-2026 .holiday-brand-word::after, html.holiday-2026 .employee-login .logo-icon::after { display: none; }
}
