.fc-theme-standard .fc-list {
    border: none !important;
}

.fc-theme-standard .fc-scrollgrid {
    border: none !important;
}

.fc-theme-standard td, 
.fc-theme-standard th {
    border: none !important;
}

.fc-col-header-cell {
    background-color: #1d2035 !important;
    padding: 0 !important;
}

.fc-col-header-cell-cushion {
    display: block;
    padding: 10px 0 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 500;
}

.fc-daygrid-day-frame {
    background-color: #2b2d41;
    border: 1px solid #414042 !important; 
    border-radius: 12px;
    margin: 3px; 
    min-height: 100px;
}

.fc-list-day {
    display: none !important;
}

.fc-list-day-cushion,
.fc-list-event-graphic,
.fc-list-event-time {
    display: none !important;
}

.fc-list-event {
    background: transparent !important;
    cursor: default !important;
}

.fc-view-harness .fc-list table tbody tr.fc-list-event {
    background: transparent !important;
}

.fc-list-event:hover td {
    background: transparent !important;
}

.fc-theme-standard .fc-list-event td {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.fc-list-empty {
    background-color: transparent !important;
    color: #fff;
    text-align: center;
    padding: 40px;
    border: none !important;
}

.fc-day-other .fc-daygrid-day-frame {
    background: transparent !important;
    border: none !important;
    opacity: 0.3;
}

.fc-daygrid-day-number {
    color: #ff4a57 !important;
    padding: 8px !important;
    text-decoration: none !important;
}

.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-frame {
    border: 2px solid #0dcaf0 !important;
}

.fc-daygrid-event {
    border-radius: 4px;
    padding: 3px 6px !important;
    margin-top: 2px !important;
    font-size: 0.8rem !important;
    cursor: pointer;
    color: #fff !important; 
    
    border: 1px solid #1d2035 !important;
    
    display: flex !important;
    flex-direction: row !important; 
    flex-wrap: wrap !important;
    align-items: baseline !important;
    
    height: auto !important;
    min-height: auto !important;
    
    overflow: visible !important;
    white-space: normal !important;

    transition: transform 0.1s;
}

.fc-daygrid-event:hover {
    transform: scale(1.02);
    z-index: 5;
    filter: brightness(1.1);
}

.fc-daygrid-event-dot { display: none !important; }

.fc-event-time { 
    width: auto !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    
    font-size: 0.85em; 
    font-weight: bold;
    opacity: 1; 
    margin-right: 6px !important;
}

.fc-event-title { 
    font-weight: 500;
    line-height: 1.2;
    white-space: normal !important;
    word-break: break-word;
    flex-grow: 1;
}

.fc-listMonth-view .fc-list-day-cushion,
.fc-listMonth-view .fc-list-event-graphic,
.fc-listMonth-view .fc-list-event-time {
    display: none !important;
}

.fc-listMonth-view .fc-list-event {
    background: transparent !important;
    cursor: default !important;
}

.fc-listMonth-view .fc-list-event:hover td {
    background: transparent !important;
}

.fc-theme-standard .fc-list-event td {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.fc-list-empty {
    background-color: transparent !important;
    color: #fff;
    text-align: center;
    padding: 40px;
    border: none !important;
}

.modal-content {
    background-color: #23263a;
    color: #e0e0e0 !important;
    border: 1px solid #414042;
    font-size: smaller;
}
.modal-header {
    background-color: #1d2035; 
    color: white;
    border-bottom: 1px solid #414042;
}
.modal-footer {
    border-top: 1px solid #414042;
}
.btn-close {
    filter: invert(1);
}