.fc-event {
    background-color: #52AE32;
    border: none;
    padding: 5px;
  }
  
  .fc-event-past {
    background-color: gray;
    border: none;
    padding: 5px;
    opacity: 50%;
  }
  
  .fc-event-long {
    background-color: #52AE32;
    border: none;
    padding: 5px;
  }

  .fc-event-ongoing {
    background-color: #f87c2c;
    border: none;
    padding: 5px;
  }
  
  .fc-event-primary {
    background-color: #52AE32;
    border: none;
    padding: 5px;
  }
  
  .fc-daygrid-day-number {
    color: #52AE32;
  }
  
  .fc-toolbar-title {
    color: #52AE32;
  }
  
  .fc-toolbar-chunk {
    display: flex;
      align-items: center;
      gap: 10px;
  }
  
  .event-tooltip {
    position: absolute;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1050;
    overflow: hidden; /* Prevent page scrolling */
}
  
  .overlay.overlay-open {
    opacity: 1;
    pointer-events: auto;
}
  
  .hidden {
    display: none;
  }

/* Modal Dialog */
.modal-dialog {
  background: #fff;
  border-radius: 8px;
  width: 90%; /* Default width */
  max-width: 600px; /* Maximum width */
  max-height: 80%; /* Ensure it fits smaller screens */
  overflow-y: auto; /* Enable scrolling inside the modal */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  z-index: 1060;
}

/* Prevent Page Scrolling */
body.modal-open {
  overflow: hidden; /* Prevent body scrolling when the modal is open */
}

/* Align Title to the Left */
#calendar-event-modal .modal-title {
  text-align: left; /* Align the title to the left */
  font-size: 1.5rem; /* Ensure readability */
  font-weight: bold; /* Highlight the title */
}

/* Style for Event Image */
#calendar-event-modal #event-image {
  margin: 15px auto; /* Center the image */
  border-radius: 8px; /* Rounded corners */
  object-fit: fill; /* Ensure the image looks good */
  height: 300px;
}

/* Disabled Input Styles */
#calendar-event-modal .input-event {
  background-color: none; /* Light gray background to show it's disabled */
  pointer-events: auto; /* Disable interactions */
  cursor: auto; /* Change cursor to indicate it's disabled */
  border: 1px solid #d1d5db8c; /* Subtle border to maintain input structure */
}

/* Prevent Textarea Resize */
#calendar-event-modal textarea.input-event {
  resize: none; /* Disable resizing of the textarea */
}

/* Form Label Styling */
.modal-body label.form-control {
  display: block; /* Labels take full width */
  margin-bottom: 0.5rem; /* Add spacing below labels */
  font-weight: 400; /* Slightly bolder font for labels */
}


/* Close Button */
.modal-footer button {
  background-color: #f97316; /* Orange button */
  color: white; /* White text for contrast */
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem; /* Adjust padding for a comfortable size */
  cursor: pointer;
  font-size: 1rem; /* Slightly larger font size */
  font-weight: 600;
}

.modal-footer button:hover {
  background-color: #ea580c; /* Slightly darker orange on hover */
}

.fc-button-group {
  gap:10px; 
}

body.modal-open {
  overflow: hidden; /* Prevent body scrolling when the modal is open */
}