.event {
    padding: 4px;
    margin-bottom: 4px;
    cursor: pointer;
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
}

:root {
    --fc-page-bg-color: #f4f6f9;
    --fc-border-color: #e3e6ea;

    --fc-button-bg-color: #2c3e50;
    --fc-button-border-color: #2c3e50;
    --fc-button-hover-bg-color: #1e2b37;
    --fc-button-active-bg-color: #1a252f;

    --fc-today-bg-color: rgba(13, 110, 253, 0.08);

    --fc-neutral-bg-color: rgba(0,0,0,0.02);
}

.legend-pill {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #fff;
    font-weight: 500;
}
.fc .fc-button {
    margin-right: 8px;
}
/* Nadpis */
h1 {
    font-weight: 600;
}

/* Kalendář box */
#calendar {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* Toolbar */
.fc .fc-toolbar-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.fc .fc-button {
    border-radius: 8px !important;
    padding: 6px 12px !important;
}

/* Dny */
.fc-daygrid-day {
    transition: background 0.2s;
}

.fc-daygrid-day:hover {
    background: #f8f9fa;
}

/* Event */
.fc-event {
    border: none !important;
    border-radius: 8px !important;
    padding: 2px 6px !important;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Dnešní den */
.fc-day-today {
    background: rgba(13,110,253,0.08) !important;
}


/* Zrušení vzhledu odkazů u dnů */
.fc a {
    text-decoration: none !important;
    color: inherit !important;
}

/* Čísla dnů */
.fc-daygrid-day-number {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 4px;
}

/* Hlavička dnů (po, út…) */
.fc-col-header-cell-cushion {
    text-decoration: none !important;
    font-weight: 600;
    color: #495057 !important;
}

/* Obal kalendáře */
#calendar {
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Toolbar */
.fc-toolbar-title {
    font-size: 1.6rem !important;
    font-weight: 600;
}

.fc-button {
    border-radius: 10px !important;
    border: none !important;
    background: #2c3e50 !important;
}

.fc-button:hover {
    background: #1f2d3a !important;
}

/* Buňky kalendáře */
.fc-daygrid-day {
    transition: all 0.2s ease;
}

.fc-daygrid-day:hover {
    background: #f8f9fa;
}

/* Dnešní den */
.fc-day-today {
    background: rgba(13,110,253,0.1) !important;
    border-radius: 12px;
}

/* Eventy */
.fc-event {
    border-radius: 10px !important;
    border: none !important;
    font-size: 0.85rem;
    padding: 3px 6px !important;
    font-weight: 500;
}

/* Lepší spacing */
.fc-daygrid-day-frame {
    padding: 6px;
}


table {
    border-collapse: collapse;
    font-size: 12px;
}

td, th {
    width: 100px;
    height: 60px;
    vertical-align: top;
}

.event:hover {
    opacity: 0.85;
}

