/* ══════════════════════════════════════════════════════════════════════
   DROPDOWN "AGGIUNGI AL CALENDARIO"
   Usato nel modal dettaglio riunione
══════════════════════════════════════════════════════════════════════ */

.calendar-add-dropdown {
  position: relative;
  width: 100%;
}

.calendar-dropdown-menu {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1000;
  overflow: hidden;
}

.calendar-dropdown-menu.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.calendar-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border-light);
}

.calendar-dropdown-item:last-child {
  border-bottom: none;
}

.calendar-dropdown-item:hover {
  background: var(--bg-base);
}

.calendar-dropdown-item:active {
  background: var(--border-light);
}

.calendar-dropdown-item svg {
  flex-shrink: 0;
}

/* Click fuori chiude dropdown */
@media (max-width: 640px) {
  .calendar-dropdown-menu {
    bottom: auto;
    top: 100%;
    margin-top: 8px;
    margin-bottom: 0;
  }
}
