/* ===== MODAL BASE ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background: var(--accent-blue);
  margin: 2% auto;
  width: 90%;
  max-width: 1200px;
  max-height: 95vh;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ===== MODAL HEADER ===== */
.modal-header {
  background: var(--secondary-dark);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--accent-blue);
}

.modal-header h3 {
  margin: 0;
  color: var(--highlight-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-modal {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.close-modal:hover {
  color: #ff6b6b;
}

/* ===== MODAL BODY ===== */
.modal-body {
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

/* ===== MODAL CONTROLS ===== */
.modal-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

/* ===== ZOOM CONTROLS ===== */
.zoom-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 15px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.zoom-button {
  background: rgba(79, 195, 247, 0.2);
  color: var(--text-light);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1rem;
}

.zoom-button:hover {
  background: rgba(79, 195, 247, 0.3);
  transform: scale(1.1);
}

.zoom-level {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  min-width: 50px;
  text-align: center;
}

/* ===== ACTION CONTROLS ===== */
.action-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== CALENDAR CONTAINER ===== */
.calendar-container {
  flex-grow: 1;
  overflow: hidden;
  background: var(--secondary-dark);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.calendar-wrapper {
  width: 100%;
  height: 100%;
  overflow: auto;
}

.calendar-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
