/* Collapsible meeting scheduler section */
.meeting-scheduler-section {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  position: relative;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Enhanced drop shadow */
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.meeting-scheduler-section h2 {
  color: #6495ED;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 0.45cm;
  font-weight: 600;
  font-family: 'Source Sans Pro', sans-serif;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.meeting-scheduler-section h2::after {
  content: "\f078";
  font-family: 'FontAwesome';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg) !important;
  transition: transform 0.3s ease;
}

.meeting-scheduler-section h2.expanded::after {
  transform: translateY(-50%) rotate(0) !important;
}

.meeting-scheduler-section.collapsed .meeting-scheduler-content {
  display: none;
}

.meeting-scheduler-section .collapsed-description {
  display: none;
  margin-bottom: 0;
  font-size: 0.35cm;
  line-height: 1.5;
  color: #333;
}

.meeting-scheduler-section.collapsed .collapsed-description {
  display: block;
}

/* Calendar container with paper-like appearance */
.calendar-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Enhanced drop shadow for paper-like appearance */
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

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

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
  flex: 1;
  min-height: 400px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle inner shadow for depth */
}

.calendar-day {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Drop shadow for paper-like appearance */
}

.calendar-day:hover:not(.disabled) {
  background-color: #f0f0f0;
}

.calendar-day.selected {
  background-color: #6495ED; /* Match the blue used for headings on the site */
  color: white;
}

.calendar-day.today {
  border-color: #6495ED; /* Match the blue used for headings on the site */
  font-weight: bold;
}

.calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.has-meeting {
  background-color: #e8f5e9;
  border-color: #4caf50;
}

.calendar-nav-btn {
  background: none;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
  padding: 5px 10px;
  color: #6495ED; /* Match the blue used for headings on the site */
}

.calendar-nav-btn:hover {
  color: #4A76D1; /* Slightly darker shade for hover state */
}

.scheduled-meetings {
  margin-top: 20px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.scheduled-meeting-item {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  background: #f8f9fa;
}

.meeting-date-time {
  font-weight: bold;
  color: #6495ED; /* Match the blue used for headings on the site */
}

.meeting-topic {
  margin: 5px 0;
  color: #333;
}

.meeting-requester {
  font-size: 0.9em;
  color: #666;
}

.no-meetings-message {
  text-align: center;
  color: #666;
  padding: 20px;
}

/* Make sure the calendar container is visible */
.meeting-scheduler-container {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  overflow: visible;
}