/*!**************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./assets/app/css/app.css ***!
  \**************************************************************************/
/**
 * PneuParking — vlastní CSS override nad TailAdmin (assets/tailadmin/).
 * Při upgradu TA tento soubor neměň kvůli verzi šablony.
 */

:root {
    --color-brand-25: #f6fef9;
    --color-brand-50: #edfcf2;
    --color-brand-100: #d3f8df;
    --color-brand-200: #aaf0c4;
    --color-brand-300: #73e2a3;
    --color-brand-400: #3ccb7f;
    --color-brand-500: #22a058;
    --color-brand-600: #178a47;
    --color-brand-700: #156b3a;
    --color-brand-800: #145532;
    --color-brand-900: #13462b;
    --color-brand-950: #0a2718;
}

[x-cloak] {
    display: none !important;
}

/* Akční ikony v tabulkách — třídy z Twig maker nejsou v TA buildu */
.btn-edit svg,
.btn-del svg {
    color: #6b7280;
    transition: color 0.15s ease;
}

.dark .btn-edit svg,
.dark .btn-del svg {
    color: #9ca3af;
}

.btn-edit:hover svg {
    color: var(--color-brand-600, #178a47);
}

.dark .btn-edit:hover svg {
    color: var(--color-brand-500, #22a058);
}

.btn-del:hover svg {
    color: var(--color-error-600, #d92d20);
}

.dark .btn-del:hover svg {
    color: var(--color-error-500, #f04438);
}

/* Rezervace — krok výběru termínu */
.schedule-nav-btn {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.schedule-nav-btn:hover {
    border-color: var(--color-brand-300, #73e2a3);
    background: var(--color-brand-50, #edfcf2);
    color: var(--color-brand-600, #178a47);
    box-shadow: 0 1px 2px rgb(34 160 88 / 0.12);
}

.schedule-nav-btn--disabled {
    cursor: default;
    opacity: 0.35;
    pointer-events: none;
}

.schedule-nav-today-btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4b5563;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.schedule-nav-today-btn:hover {
    border-color: var(--color-brand-300, #73e2a3);
    background: var(--color-brand-50, #edfcf2);
    color: var(--color-brand-600, #178a47);
    box-shadow: 0 1px 2px rgb(34 160 88 / 0.12);
}

.schedule-nav-today-btn--active {
    cursor: default;
    opacity: 0.45;
    pointer-events: none;
}

.dark .schedule-nav-today-btn {
    border-color: #374151;
    background: #111827;
    color: #d1d5db;
}

.dark .schedule-nav-today-btn:hover {
    border-color: rgb(34 160 88 / 0.55);
    background: rgb(34 160 88 / 0.12);
    color: #86efac;
}

.dark .schedule-nav-btn {
    border-color: #374151;
    background: #111827;
    color: #9ca3af;
}

.dark .schedule-nav-btn:hover {
    border-color: rgb(34 160 88 / 0.45);
    background: rgb(34 160 88 / 0.12);
    color: #73e2a3;
}

.schedule-day-strip {
    scrollbar-width: thin;
}

.schedule-day-chip {
    display: flex;
    min-width: 3.75rem;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    border-radius: 0.875rem;
    border: 2px solid #e5e7eb;
    background: #fff;
    padding: 0.65rem 0.85rem;
    color: #374151;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.schedule-day-chip__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.schedule-day-chip__today-badge {
    flex-shrink: 0;
    border-radius: 9999px;
    background: #e5e7eb;
    padding: 0.1rem 0.3rem;
    font-size: 0.4375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    color: #6b7280;
}

.dark .schedule-day-chip__today-badge {
    background: #374151;
    color: #9ca3af;
}

.schedule-day-chip:not(:disabled):hover {
    border-color: var(--color-brand-300, #73e2a3);
    background: var(--color-brand-50, #edfcf2);
}

.schedule-day-chip--active {
    border-color: var(--color-brand-500, #22a058);
    background: var(--color-brand-500, #22a058);
    color: #fff;
    box-shadow: 0 4px 14px rgb(34 160 88 / 0.35);
}

.schedule-day-chip--active .schedule-day-chip__today-badge {
    background: rgb(255 255 255 / 0.22);
    color: #fff;
}

.schedule-day-chip--today:not(.schedule-day-chip--active) {
    border-color: #d1d5db;
    background: #f3f4f6;
    color: #6b7280;
}

.schedule-day-chip--past:not(.schedule-day-chip--active) {
    border-color: #e5e7eb;
    background: #f3f4f6;
    color: #9ca3af;
    opacity: 0.85;
}

.schedule-day-chip--today-muted:not(.schedule-day-chip--active) {
    border-color: #d1d5db;
    background: #f3f4f6;
    color: #6b7280;
    opacity: 0.92;
}

.schedule-day-chip--too-soon:not(.schedule-day-chip--active) {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    opacity: 0.9;
}

.schedule-day-chip--empty:not(.schedule-day-chip--active) {
    opacity: 0.45;
}

.schedule-day-chip:disabled {
    cursor: not-allowed;
}

.dark .schedule-day-chip {
    border-color: #374151;
    background: #111827;
    color: #d1d5db;
}

.dark .schedule-day-chip--active {
    border-color: var(--color-brand-500, #22a058);
    background: var(--color-brand-500, #22a058);
    color: #fff;
}

.dark .schedule-day-chip--past:not(.schedule-day-chip--active) {
    border-color: #374151;
    background: #1f2937;
    color: #6b7280;
}

.dark .schedule-day-chip--today:not(.schedule-day-chip--active),
.dark .schedule-day-chip--today-muted:not(.schedule-day-chip--active) {
    border-color: #4b5563;
    background: #1f2937;
    color: #9ca3af;
}

.dark .schedule-day-chip--too-soon:not(.schedule-day-chip--active) {
    border-color: rgb(127 29 29 / 0.45);
    background: rgb(127 29 29 / 0.15);
    color: #fca5a5;
}

.schedule-week-grid {
    grid-template-columns: repeat(var(--schedule-cols, 7), minmax(0, 1fr));
    gap: 0.5rem;
}

.schedule-day-col {
    display: flex;
    min-height: 16rem;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0.875rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.schedule-day-col--today {
    border-color: #d1d5db;
    background: #f3f4f6;
    opacity: 0.92;
}

.schedule-day-col--past {
    border-color: #e5e7eb;
    background: #f3f4f6;
    opacity: 0.72;
}

.schedule-day-col--too-soon {
    border-color: #fecaca;
    background: #fef2f2;
    opacity: 0.92;
}

.schedule-day-col--holiday {
    background: #fffbeb;
}

.schedule-day-col--empty {
    opacity: 0.7;
}

.dark .schedule-day-col {
    border-color: #374151;
    background: rgb(17 24 39 / 0.55);
}

.dark .schedule-day-col--holiday {
    background: rgb(120 53 15 / 0.15);
}

.dark .schedule-day-col--past {
    border-color: #374151;
    background: rgb(31 41 55 / 0.65);
}

.dark .schedule-day-col--today {
    border-color: #4b5563;
    background: rgb(31 41 55 / 0.75);
}

.dark .schedule-day-col__status--past,
.dark .schedule-day-col__status--today,
.dark .schedule-day-col__status--bookable {
    color: #6b7280;
}

.dark .schedule-day-col__status--too-soon {
    color: #fca5a5;
}

.schedule-day-col__status {
    padding: 1rem 0.5rem;
    text-align: center;
    font-size: 0.6875rem;
    line-height: 1.45;
}

.schedule-day-col__status--past,
.schedule-day-col__status--today,
.schedule-day-col__status--bookable {
    color: #9ca3af;
}

.schedule-day-col__status--too-soon {
    color: #b91c1c;
    font-weight: 600;
}

.schedule-day-col__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    padding: 0.625rem 0.35rem;
    min-height: 3.375rem;
    text-align: center;
}

.schedule-day-col__head-row {
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.schedule-day-col__weekday {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6b7280;
}

.schedule-day-col__day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: #1f2937;
}

.schedule-day-col__today-badge {
    flex-shrink: 0;
    border-radius: 9999px;
    background: #e5e7eb;
    padding: 0.1rem 0.35rem;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    color: #6b7280;
}

.dark .schedule-day-col__weekday {
    color: #9ca3af;
}

.dark .schedule-day-col__day {
    color: #f9fafb;
}

.dark .schedule-day-col__today-badge {
    background: #374151;
    color: #9ca3af;
}

.dark .schedule-day-col__head {
    border-bottom-color: #374151;
    background: #111827;
}

.schedule-day-col__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.35rem;
    overflow-y: auto;
    padding: 0.5rem;
    scrollbar-width: thin;
}

.schedule-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (min-width: 400px) {
    .schedule-slot-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.schedule-slot-btn {
    width: 100%;
    border-radius: 0.625rem;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    padding: 0.6rem 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.schedule-slot-btn:hover {
    border-color: var(--color-brand-400, #3ccb7f);
    background: var(--color-brand-50, #edfcf2);
    color: var(--color-brand-700, #156b3a);
}

.schedule-slot-btn--selected {
    border-color: var(--color-brand-500, #22a058);
    background: var(--color-brand-500, #22a058);
    color: #fff;
    box-shadow: 0 4px 12px rgb(34 160 88 / 0.35);
}

.schedule-slot-btn--selected:hover {
    border-color: var(--color-brand-600, #178a47);
    background: var(--color-brand-600, #178a47);
    color: #fff;
}

.dark .schedule-slot-btn {
    border-color: #374151;
    background: #111827;
    color: #e5e7eb;
}

.dark .schedule-slot-btn:hover {
    border-color: rgb(34 160 88 / 0.55);
    background: rgb(34 160 88 / 0.12);
    color: #aaf0c4;
}

.dark .schedule-slot-btn--selected {
    border-color: var(--color-brand-500, #22a058);
    background: var(--color-brand-500, #22a058);
    color: #fff;
}

.vehicle-choice-card.is-selected {
    border-color: var(--color-brand-500, #22a058);
    background: rgb(34 160 88 / 0.06);
}

.dark .vehicle-choice-card.is-selected {
    border-color: var(--color-brand-500, #22a058);
    background: rgb(34 160 88 / 0.1);
}

.staff-cal-scroll {
    scrollbar-width: thin;
}

.staff-cal {
    display: grid;
    grid-template-columns: 4.5rem repeat(7, minmax(0, 1fr));
    grid-template-rows: auto repeat(var(--staff-cal-rows), var(--staff-cal-row-h, 2.5rem));
}

.staff-cal-corner {
    position: sticky;
    left: 0;
    z-index: 2;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.dark .staff-cal-corner {
    border-color: #1f2937;
    background: #111827;
}

.staff-cal-day-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    border-bottom: 1px solid #e5e7eb;
    border-left: 1px solid #f3f4f6;
    background: #f9fafb;
    padding: 0.75rem 0.5rem;
    text-align: center;
}

.staff-cal-legend-swatch {
    display: inline-block;
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 0.25rem;
    border: 1px solid transparent;
}

.staff-cal-day-head--today {
    background: rgb(34 160 88 / 0.08);
}

.staff-cal-day-head__weekday {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ca3af;
}

.staff-cal-day-head__date {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.staff-cal-day-head__badge {
    border-radius: 9999px;
    background: var(--color-brand-500, #22a058);
    padding: 0.125rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: #fff;
}

.dark .staff-cal-day-head {
    border-color: #1f2937;
    background: rgb(31 41 55 / 0.7);
}

.dark .staff-cal-day-head--today {
    background: rgb(34 160 88 / 0.15);
}

.dark .staff-cal-day-head__date {
    color: #f9fafb;
}

.staff-cal-time {
    position: sticky;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
    padding: 0.375rem 0.75rem 0 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #9ca3af;
}

.dark .staff-cal-time {
    border-color: #1f2937;
    background: #111827;
}

.staff-cal-cell {
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    border-left: 1px solid #f3f4f6;
    min-height: var(--staff-cal-row-h, 2.5rem);
    padding: 1px;
}

.dark .staff-cal-cell {
    border-color: #1f2937;
}

.staff-cal-slot-row {
    display: flex;
    gap: 2px;
    height: 100%;
    min-height: calc(var(--staff-cal-row-h, 2.5rem) - 2px);
}

.staff-cal-slot-row--single .staff-cal-event {
    flex: 1 1 100%;
}

.staff-cal-slot-row:not(.staff-cal-slot-row--single) .staff-cal-event {
    flex: 1 1 0;
    min-width: 0;
}

.staff-cal-event {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    overflow: hidden;
    border-radius: 0.375rem;
    padding: 0.125rem 0.25rem;
    text-align: center;
    transition: box-shadow 0.15s ease, filter 0.15s ease;
}

.staff-cal-event--wp-1 {
    border: 1px solid #4ade80;
    background: #dcfce7;
}

.staff-cal-event--wp-2 {
    border: 1px solid #16a34a;
    background: #9ef2b8;
}

.staff-cal-event--wp-1:hover {
    box-shadow: 0 2px 8px rgb(74 222 128 / 0.28);
    filter: brightness(1.02);
}

.staff-cal-event--wp-2:hover {
    box-shadow: 0 2px 8px rgb(22 163 74 / 0.25);
    filter: brightness(1.02);
}

.staff-cal-event__number {
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1.1;
}

.staff-cal-event--wp-1 .staff-cal-event__number {
    color: #15803d;
}

.staff-cal-event--wp-2 .staff-cal-event__number {
    color: #14532d;
}

.staff-cal-event__plate {
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.staff-cal-event--wp-1 .staff-cal-event__plate {
    color: #166534;
}

.staff-cal-event--wp-2 .staff-cal-event__plate {
    color: #14532d;
}

.dark .staff-cal-event--wp-1 {
    border-color: #4ade80;
    background: rgb(34 197 94 / 0.22);
}

.dark .staff-cal-event--wp-2 {
    border-color: #22c55e;
    background: rgb(34 197 94 / 0.34);
}

.dark .staff-cal-event--wp-1 .staff-cal-event__number,
.dark .staff-cal-event--wp-1 .staff-cal-event__plate {
    color: #bbf7d0;
}

.dark .staff-cal-event--wp-2 .staff-cal-event__number,
.dark .staff-cal-event--wp-2 .staff-cal-event__plate {
    color: #ecfdf5;
}

.modal-container--stacked {
    z-index: 100000;
}

/* Staff badge — volba pneu (třídy z PHP nejsou v Tailwind buildu) */
.tire-choice-badge--stored {
    background-color: #eff6ff;
    color: #1d4ed8;
}

.dark .tire-choice-badge--stored {
    background-color: rgb(59 130 246 / 0.1);
    color: #93c5fd;
}

.tire-choice-badge--own {
    background-color: #fff6ed;
    color: #c4320a;
}

.dark .tire-choice-badge--own {
    background-color: rgb(251 101 20 / 0.1);
    color: #feb273;
}

.tire-choice-badge--new_tires {
    background-color: #f0fdf4;
    color: #15803d;
}

.dark .tire-choice-badge--new_tires {
    background-color: rgb(34 197 94 / 0.1);
    color: #86efac;
}

.tire-choice-badge--garage_set,
.tire-choice-badge--unknown {
    background-color: #f3f4f6;
    color: #374151;
}

.dark .tire-choice-badge--garage_set,
.dark .tire-choice-badge--unknown {
    background-color: #1f2937;
    color: #e5e7eb;
}

