/* Overlay « Calendrier équipe » — calqué sur conversations.css */

.team-calendar-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--color-bg, #f5f6f8);
  display: flex;
  flex-direction: column;
  animation: teamCalFadeIn .25s ease;
}
@keyframes teamCalFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.team-calendar-overlay.closing { animation: teamCalFadeOut .25s ease forwards; }
@keyframes teamCalFadeOut {
  to { opacity: 0; transform: translateY(8px); }
}

.team-calendar-overlay iframe {
  width: 100%;
  height: 100%;
  flex: 1;
  border: 0;
  display: block;
}

@media (prefers-color-scheme: dark) {
  .team-calendar-overlay { background: #0b0d12; }
}

/* Header icon — même gabarit que Conversations / Buanderie / Tâches */
.btn-tasks.btn-team-calendar-header {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #1f2937;
}
.btn-tasks.btn-team-calendar-header:hover {
  background: rgba(31, 41, 55, .08);
  color: #0b1220;
}
.btn-tasks.btn-team-calendar-header svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
