/* Calendar / Task List Tabs */
.calendar-tabs {
    margin-bottom: 10px;
}

.calendar-tabs > li > a {
    font-size: 14px;
    padding: 8px 16px;
}

/* Calendar Header */
.calendar-header {
    padding: 10px 0;
    margin-bottom: 10px;
}

.calendar-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.calendar-nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendar-nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendar-nav-group .btn {
    min-width: 42px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.calendar-header-label {
    font-weight: bold;
    font-size: 16px;
    vertical-align: middle;
    line-height: 38px;
    white-space: nowrap;
}

.calendar-filter-select {
    display: inline-block;
    width: auto;
    min-width: 140px;
}

/* Calendar Grid */
.calendar-grid-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
}

/* Layout: optional left rail + grid */
.calendar-layout {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

/* Left rail with tiles (collapsible) */
/* Panel zasobow byl caly na 10-11 px - nazwiska, typy sprzetu i przelaczniki czytalo sie
   gorzej niz cokolwiek innego w aplikacji (prosba uzytkownika 2026-09-15). Rozmiary sa teraz
   te same co kafle Grafiku (`.schedule-tile` w schedule_20260915_1107_.css: 14 px nazwa / 12 px
   podpis), zeby oba ekrany mowily jednym jezykiem. Rail musial przy tym urosnac, bo dluzsze
   nazwiska nie miescily sie juz w jednej linii. */
.calendar-rail {
    flex: 0 0 258px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fafafa;
    position: relative;
    transition: flex-basis 0.2s ease;
}
.calendar-rail.collapsed {
    flex: 0 0 32px;
}
.calendar-rail-toggle {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    width: 26px;
    height: 26px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
}
.calendar-rail-toggle:hover {
    background: #f0f0f0;
}
.calendar-rail-content {
    padding: 36px 8px 8px 8px;
    max-height: 80vh;
    overflow-y: auto;
}
.calendar-rail-actions {
    padding: 4px 4px 8px 4px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 12px;
}
.calendar-rail-actions .btn-xs {
    font-size: 12px;
    padding: 5px 8px;
}
.calendar-rail-toggle-checkbox {
    font-weight: normal;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 2px;
    border-top: 1px dashed #e5e5e5;
    color: #444;
}
/* Kwadracik zostawal systemowy (13 px) przy wiekszym napisie - trudno w niego trafic. */
.calendar-rail-toggle-checkbox input {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: -3px;
}
.calendar-rail-group {
    margin-bottom: 14px;
}
.calendar-rail-group-title {
    font-size: 12.5px;
    color: #666;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 4px;
    padding: 0 2px;
}
.calendar-rail-empty {
    color: #999;
    font-size: 13px;
    text-align: center;
    padding: 16px 8px;
}

/* Tile component */
.calendar-tile {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 9px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    margin-bottom: 4px;
    cursor: grab;
    font-size: 13px;
    user-select: none;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    position: relative;
}
/* Availability dot — updates on hover over calendar slot. Default transparent (no hover state). */
.calendar-tile-status {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.1s;
}
.calendar-tile-status.busy {
    background: #d9534f;  /* red */
}
.calendar-tile-status.free {
    background: #5cb85c;  /* green */
}

.calendar-tile-quick-add {
    position: absolute;
    right: 3px;
    top: 3px;
    width: 24px;
    height: 24px;
    background: #95a5a6;
    color: #fff;
    border: none;
    border-radius: 50%;
    opacity: 0;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 0;
    transition: opacity 0.15s, background 0.15s;
}
.calendar-tile:hover .calendar-tile-quick-add {
    opacity: 1;
}
.calendar-tile-quick-add:hover {
    background: #34495e;
}
.calendar-tile:active {
    cursor: grabbing;
}
.calendar-tile:hover {
    border-color: #999;
    background: #f5f5f5;
}
.calendar-tile.tile-active {
    border-color: #337ab7;
    background: #e7f1fb;
    box-shadow: 0 0 0 1px #337ab7 inset;
}
.calendar-tile.dragging {
    opacity: 0.4;
    transform: scale(0.96);
    transition: opacity 0.1s, transform 0.1s;
}

/* Custom drag-image ghost shown while dragging a group of tiles */
.drag-ghost {
    position: absolute;
    top: -2000px;
    left: -2000px;
    background: #fff;
    border: 2px solid #337ab7;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 99999;
}
.drag-ghost-icon {
    color: #337ab7;
    font-size: 14px;
}
.drag-ghost-name {
    font-weight: 600;
    color: #333;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.drag-ghost-counter {
    background: #337ab7;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
}
.calendar-tile-avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #337ab7;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    line-height: 34px;
}
.calendar-tile-color {
    flex: 0 0 7px;
    align-self: stretch;
    border-radius: 2px;
    min-height: 34px;
}
.calendar-tile-body {
    flex: 1;
    min-width: 0;
}
.calendar-tile-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.calendar-tile-sub {
    color: #888;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Drop target during drag */
.calendar-slot.drop-target {
    background-color: #d4edda !important;
    outline: 2px dashed #28a745;
    outline-offset: -2px;
}

/* Hide rail on mobile (force classic single-column calendar) */
@media (max-width: 991px) {
    .calendar-rail {
        display: none;
    }
    .calendar-layout {
        flex-direction: column;
    }
}

/* Extra-large modal — used for "Manage resources" (resources admin embedded).
   Dynamic height: modal grows naturally with content, but body scrolls if it would
   overflow the viewport. No min-height — small lists stay compact. */
.modal-xxl .modal-dialog {
    width: 96vw;
    max-width: 1400px;
    margin: 20px auto;
}
.modal-xxl .modal-body {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

.calendar-grid {
    table-layout: fixed;
    min-width: 600px;
}

.calendar-grid th,
.calendar-grid td {
    padding: 2px 4px;
    vertical-align: top;
    font-size: 12px;
}

.calendar-time-label {
    width: 65px;
    min-width: 65px;
    max-width: 65px;
    text-align: center;
    font-weight: bold;
    color: #666;
    background-color: #f9f9f9;
    position: sticky;
    left: 0;
    z-index: 1;
}

.calendar-day-header {
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
}

.calendar-today-header {
    background-color: #e8f4fd;
    color: #337ab7;
}

.calendar-today-col {
    background-color: #fafcfe;
}

/* Current time indicator */
.calendar-now-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e74c3c;
    z-index: 5;
    pointer-events: none;
}

.calendar-now-line::before {
    content: '';
    position: absolute;
    left: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    background-color: #e74c3c;
    border-radius: 50%;
}

/* Days off */
.calendar-dayoff-header {
    background-color: #fff3e0;
    color: #e65100;
}

.calendar-dayoff-col {
    background-image: repeating-linear-gradient(
        -45deg, transparent, transparent 4px, rgba(0,0,0,0.03) 4px, rgba(0,0,0,0.03) 8px
    );
}

.calendar-dayoff-col:hover {
    background-color: #fff3e0;
}

.calendar-dayoff-badge {
    font-size: 9px;
    color: #e65100;
    margin-left: 2px;
}

/* Slot poza godzinami pracy lekarza (per-day-of-week config: np. wtorek 17-19, pozostałe sloty wt szare).
   Wyszarzony, kursor disabled, hover bez zmiany — żeby user wiedział że nie da się tam dodać zadania. */
.calendar-slot-unavailable {
    background-color: #ececec;
    cursor: not-allowed;
    color: #aaa;
}

.calendar-slot-unavailable:hover {
    background-color: #ececec;
}

/* Slots */
.calendar-slot {
    min-height: 32px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.15s ease;
    border-left: 1px solid #eee;
    overflow: visible;
}

.calendar-slot:hover {
    background-color: #e8f5e9;
}

.calendar-slot-occupied {
    cursor: default;
}

.calendar-slot-occupied:hover {
    background-color: transparent;
}

/* Container for occurrences in a slot - fills cell for absolute positioning */
.calendar-occ-container {
    position: relative;
    z-index: 2;
    min-height: 100%;
}

.calendar-occ-multi {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.calendar-occ-multi .calendar-occurrence {
    flex: 1 1 calc(33.33% - 2px);
    min-width: 0;
}

/* Occurrence items */
.calendar-occurrence {
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 11px;
    line-height: 1.3;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 1px;
}

/* Spanning occurrence: extends visually over multiple rows */
.calendar-occurrence-spanning {
    position: absolute;
    top: 0;
    left: 2px;
    right: 2px;
    z-index: 3;
    overflow: hidden;
}

.calendar-occ-multi .calendar-occurrence-spanning {
    position: relative;
    left: auto;
    right: auto;
}

.calendar-occ-main {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.calendar-occ-details {
    font-size: 10px;
    opacity: 0.9;
    margin-top: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.calendar-occ-details span {
    margin-right: 8px;
}

.calendar-occ-details .fa {
    margin-right: 2px;
}

.calendar-occ-notice {
    font-style: italic;
    opacity: 0.85;
}

.calendar-occ-icon {
    font-size: 9px;
    margin-right: 2px;
    opacity: 0.8;
}

/* Reservation events: subdued grayscale with diagonal stripes overlay + lock icon */
.calendar-occurrence-reservation {
    background-color: #95a5a6 !important;
    color: #fff !important;
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0px, transparent 4px,
        rgba(255, 255, 255, 0.18) 4px, rgba(255, 255, 255, 0.18) 8px
    );
    border-left: 3px solid #34495e !important;
}
.calendar-occurrence-reservation:hover {
    background-color: #7f8c8d !important;
}
.calendar-occurrence-reservation .calendar-occ-time {
    color: rgba(255,255,255,0.85);
}

/* Full-day reservations: keep a clickable strip on the right so the user
   can still open the slot picker. Overlay sits on the left ~55% of the column. */
.calendar-occurrence-fullday.calendar-occurrence-spanning {
    right: auto;
    width: 55%;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Resource chips under task name in calendar slot */
.calendar-occ-resources {
    margin-top: 2px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    font-size: 10px;
    line-height: 1.2;
}

.calendar-resource-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 4px 1px 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    border-left: 3px solid #aaa;
    color: #444;
    max-width: 100%;
}

.calendar-resource-chip .fa {
    font-size: 9px;
    opacity: 0.7;
}

.calendar-resource-chip-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 80px;
}

/* Dark-themed (booked/done) slots: lighter chip styling */
.calendar-slot-booked .calendar-resource-chip,
.calendar-slot-internet .calendar-resource-chip,
.calendar-slot-done .calendar-resource-chip {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Tooltip */
.calendar-tooltip {
    position: absolute;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    padding: 10px 14px;
    min-width: 240px;
    max-width: 360px;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    pointer-events: none;
}

.calendar-tooltip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.calendar-tooltip-icons {
    display: flex;
    gap: 6px;
    color: #337ab7;
    font-size: 13px;
}

.calendar-tooltip-row {
    padding: 2px 0;
    color: #444;
}

.calendar-tooltip-row .fa {
    width: 18px;
    text-align: center;
    color: #888;
    margin-right: 4px;
}

.calendar-tooltip-phone {
    color: #888;
    font-size: 12px;
}

.calendar-tooltip-notice {
    font-style: italic;
    color: #666;
    border-top: 1px solid #eee;
    margin-top: 4px;
    padding-top: 4px;
}

.calendar-slot-booked {
    background-color: #337ab7;
    color: #fff;
    border: 1px solid #fff;
    border-left: 3px solid #23527c;
}

.calendar-slot-booked:hover {
    background-color: #286090;
}

.calendar-slot-internet {
    background-color: #e67e22;
    color: #fff;
    border: 1px solid #fff;
    border-left: 3px solid #d35400;
}

.calendar-slot-internet:hover {
    background-color: #d35400;
}

.calendar-slot-done {
    background-color: #d9d9d9;
    color: #666;
    border: 1px solid #fff;
    border-left: 3px solid #aaa;
}

.calendar-slot-done:hover {
    background-color: #c0c0c0;
}

.calendar-occ-time {
    font-weight: bold;
    margin-right: 3px;
}

.calendar-occ-name {
    margin-right: 3px;
}

.calendar-occ-client {
    opacity: 0.85;
    font-size: 10px;
}

/* ===================== */
/* Mobile styles         */
/* ===================== */
/* Vet / team filters fold on phones and tablets (<mobile-filters-toggle>); on desktop the body is
   display: contents, so the selects stay inline in .calendar-nav-right as before */
.calendar-filters-mobile-header {
    display: none;
}

@media (max-width: 991px) {
    .calendar-nav-right {
        flex-wrap: wrap;
    }

    .calendar-filters-mobile-header {
        display: block;
        flex: 1 1 100%;
    }

    .calendar-filters-mobile-header .mobile-filters-header {
        padding: 0 0 4px;
    }

    .calendar-filters-body {
        flex: 1 1 100%;
    }

    .calendar-filters-body.collapse.in,
    .calendar-filters-body.collapsing {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Przelaczniki widocznosci (rezerwacje / nieprzypisane) - wlasny wiersz pod droplistami,
       inaczej trzy kontrolki i dwa checkboxy nie zmieszcza sie w jednej linii telefonu. */
    .calendar-filter-toggles {
        flex: 1 1 100%;
    }

    /* Droplisty filtrow (Pracownicy, Zasoby) maja `dropdown-menu-right` i 280 px minimalnej
       szerokosci - na telefonie menu przypiete do LEWEGO przycisku wychodzilo poza ekran w lewo
       (a przypiete do prawego wyszloby w prawo). Na mobile kotwica przenosi sie z przycisku na
       CALY pasek filtrow (`.btn-group` staje sie `static`), wiec menu spada pod pasek na pelna
       jego szerokosc i zawsze miesci sie na ekranie. */
    .calendar-filters-body {
        position: relative;
    }

    .calendar-filters-body .btn-group {
        position: static;
    }

    .calendar-filters-body .dropdown-menu {
        left: 0 !important;
        right: 0 !important;
        min-width: 0 !important;
        width: 100%;
    }

    .calendar-filter-toggles .calendar-rail-toggle-checkbox {
        display: block;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {

    .calendar-header {
        padding: 8px 0;
        margin-bottom: 6px;
    }

    /* View switcher (Kalendarz Gabinetu / Lista zadań / Grafik): the btn-lg
       labels are too wide for the justified cells on a phone and get clipped.
       Shrink the type, stack the icon over the label and allow wrapping so the
       full text fits inside each equal-width cell. */
    .calendar-view-nav .btn {
        font-size: 13px;
        padding: 8px 3px;
        white-space: normal;
        line-height: 1.2;
    }
    .calendar-view-nav .btn .fa {
        display: block;
        margin: 0 auto 3px;
        font-size: 16px;
    }
    .calendar-view-nav .badge {
        margin-left: 3px;
    }

    .calendar-header-row {
        flex-wrap: wrap;
    }

    .calendar-nav-left {
        width: 100%;
        justify-content: space-between;
    }

    .calendar-nav-group {
        flex-shrink: 0;
    }

    .calendar-nav-group .btn {
        min-width: 48px;
        height: 44px;
        font-size: 16px;
        padding: 8px 14px;
    }

    .calendar-header-label {
        font-size: 15px;
        line-height: 44px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .calendar-nav-right {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 6px;
    }

    /* Wrap the toolbar controls two-per-row instead of cramming all of
       them into one strip where they overflow and overlap on phones. */
    .calendar-filter-select,
    .calendar-add-btn,
    .calendar-view-toggle {
        flex: 1 1 calc(50% - 3px);
        min-width: 0;
    }

    .calendar-add-btn {
        height: 44px;
        font-size: 16px;
    }

    .calendar-view-toggle {
        display: flex;
    }

    .calendar-view-toggle .btn {
        height: 44px;
        font-size: 16px;
        padding: 8px 12px;
        flex: 1;
    }

    .calendar-filter-select {
        height: 44px;
        font-size: 14px;
        color: #333;
        padding: 6px 8px;
        -webkit-appearance: menulist;
    }

    /* "Zasoby" is a btn-group, not a native select: strip the select
       padding and let its toggle button fill the whole cell. */
    .calendar-nav-right .btn-group.calendar-filter-select {
        padding: 0;
    }
    .calendar-nav-right .btn-group.calendar-filter-select > .dropdown-toggle {
        width: 100%;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 14px;
    }

    /* Grid */
    .calendar-grid {
        min-width: auto;
    }

    .calendar-time-label {
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        font-size: 11px;
        padding: 4px 2px;
        vertical-align: middle;
    }

    .calendar-day-header {
        font-size: 12px;
        padding: 6px 2px;
    }

    .calendar-day-name {
        font-size: 11px;
        font-weight: bold;
    }

    .calendar-day-date {
        font-size: 10px;
        color: #666;
    }

    /* Slots for touch */
    .calendar-slot {
        min-height: 48px;
    }

    .calendar-grid th,
    .calendar-grid td {
        font-size: 12px;
        padding: 2px 3px;
    }

    /* Simplified occurrence tiles on mobile */
    .calendar-occurrence {
        padding: 3px 5px;
        font-size: 11px;
        line-height: 1.3;
        border-radius: 3px;
        margin-bottom: 1px;
    }

    .calendar-occ-main {
        font-size: 11px;
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .calendar-occ-time {
        font-size: 11px;
        margin-right: 2px;
    }

    .calendar-occ-name {
        font-size: 11px;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .calendar-occ-client {
        display: none;
    }

    .calendar-occ-icon {
        font-size: 8px;
    }

    /* Hide details row on mobile - tooltip provides full info */
    .calendar-occ-details {
        display: none;
    }
}

/* Extra small screens */
@media (max-width: 480px) {

    .calendar-view-nav .btn {
        font-size: 11px;
        padding: 6px 2px;
    }
    .calendar-view-nav .btn .fa {
        font-size: 14px;
    }

    .calendar-nav-group .btn {
        min-width: 40px;
        height: 40px;
        padding: 6px 8px;
        font-size: 14px;
    }

    .calendar-header-label {
        font-size: 13px;
        line-height: 40px;
    }

    .calendar-add-btn {
        height: 40px;
        font-size: 14px;
    }

    .calendar-view-toggle .btn {
        height: 40px;
        font-size: 14px;
        padding: 6px 8px;
    }

    .calendar-filter-select {
        height: 40px;
        font-size: 13px;
    }

    .calendar-nav-right .btn-group.calendar-filter-select > .dropdown-toggle {
        height: 40px;
        font-size: 13px;
    }

    .calendar-time-label {
        width: 38px;
        min-width: 38px;
        max-width: 38px;
        font-size: 10px;
    }

    .calendar-day-header {
        font-size: 11px;
        padding: 4px 1px;
    }

    .calendar-day-name {
        font-size: 10px;
    }

    .calendar-day-date {
        font-size: 9px;
    }

    .calendar-slot {
        min-height: 44px;
    }

    .calendar-occurrence {
        padding: 2px 3px;
        font-size: 10px;
    }

    .calendar-occ-main {
        font-size: 10px;
    }

    .calendar-occ-time {
        font-size: 10px;
    }

    .calendar-occ-name {
        font-size: 10px;
    }
}

/* Mobile week view: simplified solid-color cells */
.calendar-mobile-count {
    display: none;
}

.calendar-mobile-week .calendar-slot-has-one,
.calendar-mobile-week .calendar-slot-has-many {
    background-color: #337ab7;
    position: relative;
}

.calendar-mobile-week .calendar-slot-has-one:hover {
    background-color: #286090;
}

.calendar-mobile-week .calendar-slot-has-many {
    cursor: default;
}

.calendar-mobile-week .calendar-slot-has-many:hover {
    background-color: #337ab7;
}

.calendar-mobile-week .calendar-occ-container {
    display: none;
}

.calendar-mobile-week .calendar-mobile-count {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    font-size: 13px;
}

/* Pasek „Bez godziny" — zadania z datą, ale bez godziny (pola „Godzina od/do" są opcjonalne,
   a formularz hodowcy ich nie ma). Siedzi między nagłówkiem dni a siatką godzin: nie należy
   do żadnego slotu, więc nie może udawać konkretnej godziny, ale musi być widoczne. */
.calendar-allday-row > td {
    border-bottom: 2px solid #d0d0d0;
    background-color: #fbfbfb;
}

.calendar-allday-label {
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
    color: #888;
}

.calendar-allday-cell {
    cursor: default;
    min-height: 24px;
}

.calendar-allday-cell:hover {
    background-color: transparent;
}
