/* ═══════════════════════════════════════════════════════════════════════════ */
/* NOTIFICATIONS PANEL                                                        */
/* ═══════════════════════════════════════════════════════════════════════════ */

.notif-panel {
  position: fixed; bottom: 80px; left: 96px;
  width: 340px; max-height: 400px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  z-index: 200; display: none; flex-direction: column; overflow: hidden;
}
.notif-panel.open { display: flex; animation: scaleIn 0.2s ease; }

.notif-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.notif-panel-header h3 { font-size: 0.9rem; font-weight: 600; color: var(--text); }

.btn-text {
  color: var(--primary); font-size: 0.75rem; font-weight: 500;
  transition: var(--transition); padding: 0;
}
.btn-text:hover { opacity: 0.7; }

.notif-panel-body { overflow-y: auto; max-height: 320px; padding: 8px; }

.notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px; border-radius: var(--radius);
  transition: var(--transition); cursor: pointer;
}
.notif-item:hover { background: rgba(255,255,255,0.03); }
.notif-item.unread { background: rgba(58, 125, 68, 0.05); }

.notif-item-icon {
  width: 32px; height: 32px; border-radius: var(--radius);
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; color: var(--primary);
}
.notif-item-icon svg { width: 16px; height: 16px; }

.notif-item-content { flex: 1; min-width: 0; }
.notif-item-content strong { font-size: 0.8rem; font-weight: 600; color: var(--text); display: block; }
.notif-item-content p { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }
.notif-item-time { font-size: 0.65rem; color: var(--text-dim); white-space: nowrap; }

.notif-empty { text-align: center; padding: 32px; color: var(--text-dim); font-size: 0.85rem; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* TOAST                                                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */

.toast-container {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 1000; display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.toast {
  background: var(--card-bg); color: var(--text);
  padding: 12px 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  font-size: 0.85rem; font-weight: 500;
  animation: toastIn 0.3s ease;
  display: flex; align-items: center; gap: 8px;
}
.toast.success { border-color: var(--primary); }
.toast.error { border-color: var(--destructive); }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
.toast.success svg { color: var(--primary); }
.toast.error svg { color: var(--destructive); }
.toast.leaving { animation: toastOut 0.3s ease forwards; }

@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(16px); } }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVO                                                                 */
/* ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 300;
    transform: translateX(-100%);
  }
  .sidebar.mobile-open { transform: translateX(0); }
  .meetings-grid { justify-content: center; }
  .meeting-card { width: 100%; max-width: 340px; }

  .modal-create { max-width: 95vw; max-height: 90vh; overflow-y: auto; }
  .selects-row-3 { grid-template-columns: 1fr; }
  .selects-row-2 { grid-template-columns: 1fr; }
  .date-duration-row { gap: 32px; }

  .notif-panel { left: 16px; bottom: 16px; width: calc(100vw - 32px); }
  .modal-recurrence { flex-wrap: wrap; gap: 6px; }

  .detail-columns { flex-direction: column; }
  .detail-col-right { width: 100%; border-top: 1px solid var(--border); }
  .detail-col-left { border-right: none; }

  .profile-panel { width: calc(100vw - 32px); left: 16px; bottom: 16px; }
  .profile-row-3 { flex-direction: column; }

  .filter-panel { width: 260px; }
}
