/* Layout Styling */
#personnel-calendar {
    max-width: 1100px;
    margin: 40px auto;
    font-family: Arial, Helvetica, sans-serif;
}

/* Modal Popup Styles */
.planner-modal {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.planner-modal-content {
    background-color: #fefefe;
    padding: 20px 30px 30px 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
}

.planner-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.planner-close:hover {
    color: black;
}

/* Form layout inside Modal */
#leave-request-form label, #work-shift-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-size: 14px;
}

#leave-request-form input, 
#leave-request-form select, 
#leave-request-form textarea,
#work-shift-form input,
#work-shift-form select,
#work-shift-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Buttons style */
.button-primary {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 16px;
}

.admin-buttons, .staff-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-action-approve { background-color: #28a745; color: white; border: none; padding: 8px 12px; cursor: pointer; border-radius: 4px; }
.btn-action-reject { background-color: #dc3545; color: white; border: none; padding: 8px 12px; cursor: pointer; border-radius: 4px; }
.btn-action-cancel { background-color: #6c757d; color: white; border: none; padding: 8px 12px; cursor: pointer; border-radius: 4px; }

/* Admin actions section */
#admin-actions-section p {
    margin: 5px 0;
}

/* Styling for FullCalendar Business Hours */
.fc .fc-non-business {
    background: rgba(215, 215, 215, 0.3);
}
