/* Wrapper */
.calendar-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

/* Calendar container */
#schoolCalendar {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
}

/* Header buttons */
.fc-button {
    background: #007acc !important;
    border: none !important;
    color: #fff !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    margin: 30px;
}

.fc-button:hover {
    opacity: 0.85;
}

.fc-today-button {
    background: #1db4ff !important;
}

/* Month title */
.fc-toolbar-title {
    font-size: 24px;
    font-weight: bold;
}

/* Event style */
.fc-event {
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Grid border */
.fc-theme-standard td,
.fc-theme-standard th {
    border: 1px solid #e0e0e0;
}

/* =======================
   EVENT MODAL STYLES
======================= */
.event-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.event-modal-box {
    background: #fff;
    width: 340px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    animation: popIn 0.25s ease;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.event-modal-box h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #007acc;
}

/* Buttons */
.event-btn {
    width: 100%;
    padding: 10px 0;
    margin: 8px 0;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
}

.event-btn.edit {
    background: #1e90ff;
    color: #fff;
}

.event-btn.delete {
    background: #ff4d4d;
    color: #fff;
}

.event-btn.cancel {
    background: #e6e6e6;
    color: #333;
}

.event-btn:hover {
    opacity: 0.85;
}
