
#wrap {
    font-family: Arial, sans-serif;
    margin: 20px auto;
}

#calendar {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.fc-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fc-header-title {
    font-size: 20px;
    font-weight: bold;
}

.fc-header-right button, .fc-header-left button {
    background: white;
    border: 1px solid #ddd;
    padding: 5px 10px;
    margin: 0 2px;
    border-radius: 4px;
    cursor: pointer;
}

.fc-header-right button:hover, .fc-header-left button:hover {
    background: #f5f5f5;
}

.fc-view {
    border-top: 1px solid #ddd;
}

.fc-view tr{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.fc-view table {
    width: 100%;
    border-collapse: collapse;
}

.fc-view th {
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #ddd;

    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    max-width: 200px;
    overflow: hidden;
}

.fc-view td {
    border: 1px solid #ddd;
    vertical-align: top;
    padding: 5px;
    
    min-width: 50px;
    max-width: 200px;
}

.fc-day-number {
    margin: 5px;
    font-weight: bold;
}

.fc-event {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ddd;
    width: 35px;
    margin: auto;
    height: 35px;
    border-radius: 100%;
    font-size: 12px;
    font-weight: bold;
    background-color: #009f1b;
}

.fc-other-month {
    background: #f8f9fa;
}

.fc-today {
    background: #fcf8e3;
}

.external-event {
    padding: 5px 10px;
    margin: 5px 0;
    background: #3788d8;
    color: white;
    border-radius: 3px;
    cursor: move;
}
.fc-action {
    cursor: pointer;
    width: 15px;
}

.fc-perodua-event{
    background-color: #edd0ff !important;
}
.fc-public-holiday{
    background-color: #e9ff7b !important;
}

.fc-event-invalid{
    color: #6a6a6a !important;
}   

.fc-event.fc-event-invalid{
    border: 1px solid #6a6a6a !important;
    background-color: #ffffff !important;
}

.fc-day-invalid{
    color: #505050 !important;
}

.calander_day_month_clone, .calander_day_month_clone, .day_month, .footer_subtotal_row, .footer_dif_row , .footer_total_moc_row {
    width: 50px;
}

.day_month_edit{
    background-color: #e2c59a !important;
}