/* #table-daftar-periode_wrapper select#dt-length-0 {
    padding: 4px 1.5em !important;
}
 */

select.dt-input {
    padding: 4px 1.5em !important;
}

table.dataTable th {
    /* background-color: #55AD9B; */
    background-color: #007F73;
    color: white;
}

.fc-timegrid-col {
    min-width: 150px !important;
}

.fc-timegrid-slot {
    height: 50px !important;
}

.fc-event {
    padding: 5px !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.fc-event-time, .fc-event-title {
    display: block !important;
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
}

.fc-event-time {
    font-weight: bold !important;
    margin-bottom: 2px !important;
}

.fc-event-title {
    font-size: 0.9rem !important;
}

.fc-timegrid-event {
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fc-header-toolbar {
    margin-bottom: 1rem !important;
    font-size: 1.2rem !important;
    color: #1f2937 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
}

.fc-col-header-cell {
    background-color: #f3f4f6 !important;
    color: #1f2937 !important;
    font-weight: bold !important;
}

.fc-timegrid-slot-lane, .fc-timegrid-col {
    border-color: #e5e7eb !important;
}

.fc-event:hover {
    opacity: 0.9 !important;
    cursor: pointer !important;
}

@media (max-width: 640px) {
    .fc-timegrid-col {
        min-width: 0 !important;
        width: 100% !important;
    }

    .fc-timegrid-slot {
        height: 40px !important;
    }

    .fc-event {
        font-size: 12px !important;
        padding: 5px !important;
        min-height: 50px !important;
    }

    .fc-event-time, .fc-event-title {
        font-size: 0.75rem !important;
    }

    .fc-header-toolbar {
        font-size: 1rem !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .fc-col-header-cell {
        font-size: 0.9rem !important;
    }

    .fc-button {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.8rem !important;
    }
}