/* ═══════════════════════════════════════════════════════════════════════════
   SWIFTWING FAMILIENKALENDER - APP STYLES
   Dark glassmorphism, mobile-first, unified layout dimensions
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg-dark: #0a0807;
  --bg-card: rgba(22, 18, 16, 0.65);
  --bg-card-hover: rgba(32, 26, 23, 0.75);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-active: rgba(56, 189, 248, 0.4);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --accent-cyan: #38bdf8;
  --accent-blue: #0ea5e9;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --accent-green: #10b981;
  --accent-pink: #ec4899;
  --birthday-color: #ec4899;
  --family-color: #f97316;

  --family-grad: linear-gradient(135deg, #ec4899, #8b5cf6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

body::before {
  content: '';
  position: fixed;
  top: -15%;
  left: -15%;
  width: 130%;
  height: 130%;
  background-image: url('common/swiftwing-header1.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(80px) opacity(0.12) brightness(0.65);
  z-index: -2;
  pointer-events: none;
}

/* ── APP CONTAINER & STANDARDS ── */
#app {
  max-width: 1000px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 0 12px 100px;
}

@media (min-width: 768px) {
  #app {
    padding: 0 24px 100px;
  }
}

/* ── TOPBAR (STANDARDIZED) ── */
#topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 14px;
}

@media (min-width: 768px) {
  #topbar {
    padding: 24px 16px 20px;
  }
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

#topbar-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
  flex-shrink: 0;
}

#topbar-title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon-nav {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-icon-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ── CALENDAR CONTROLS & NAV ── */
.cal-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 16px;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
}

.month-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav-arrow {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
}

.current-month-display {
  background: transparent;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  min-width: 140px;
  text-align: center;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  user-select: none;
  transition: all 0.2s;
}

.current-month-display:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #38bdf8;
}

.current-month-display:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.month-chevron {
  opacity: 0.6;
  transition: transform 0.2s, opacity 0.2s;
}

.current-month-display:hover .month-chevron {
  opacity: 1;
  transform: translateY(1px);
}

.view-and-today {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-today {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-today:hover {
  background: rgba(56, 189, 248, 0.2);
}

.view-tabs {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.view-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
}

.view-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ── QUICK MEMBER FILTER BAR ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  margin-bottom: 8px;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  user-select: none;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.filter-chip.active {
  color: #fff;
  background: var(--active-bg, rgba(56, 189, 248, 0.16));
  border-color: var(--active-border, rgba(56, 189, 248, 0.45));
  box-shadow: 0 2px 10px var(--active-glow, rgba(56, 189, 248, 0.2));
}

.filter-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ── SPLIT VIEW (MONTH ON TOP, DAY BELOW) ── */
.view-container {
  display: none;
}
.view-container.active {
  display: block;
}

.split-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── MINI MONTH WIDGET ── */
.mini-month-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 22px;
  padding: 16px;
}

.weekday-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 6px;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.day-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 6px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s;
  position: relative;
  user-select: none;
}

.day-cell:hover {
  background: rgba(255, 255, 255, 0.06);
}

.day-cell.other-month {
  opacity: 0.25;
}

.day-number {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 3px;
}

.day-cell.today .day-number {
  color: var(--accent-cyan);
  font-weight: 800;
}

.day-cell.selected {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.day-cell.selected .day-number {
  color: #fff;
  font-weight: 800;
}

.day-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5px;
  flex-wrap: wrap;
  max-width: 24px;
}

.event-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dot-color, var(--accent-cyan));
  box-shadow: 0 0 4px var(--dot-color, var(--accent-cyan));
}

.event-dot.holiday-dot {
  background: #f43f5e;
  box-shadow: 0 0 4px #f43f5e;
}

/* ── DAY AGENDA (BELOW MONTH) ── */
.agenda-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 22px;
  padding: 20px;
}

.agenda-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.agenda-date-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.agenda-events-count {
  font-size: 12px;
  color: var(--text-muted);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── EVENT ITEM CARD ── */
.event-item {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.event-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: var(--item-accent, var(--accent-cyan));
  border-radius: 16px 0 0 16px;
}

.event-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.event-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 8px;
}

.event-time-badge {
  font-size: 12px;
  font-weight: 700;
  color: #7dd3fc;
  display: flex;
  align-items: center;
  gap: 5px;
}

.event-time-badge.all-day {
  color: #fde68a;
}

.event-category-chip {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  text-transform: capitalize;
}

.event-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.event-members-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.member-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--pill-bg, rgba(255, 255, 255, 0.08));
  color: var(--pill-color, #fff);
  border: 1px solid var(--pill-border, rgba(255, 255, 255, 0.15));
}

.member-pill.combination-pill {
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.event-desc-snippet {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Empty State */
.empty-agenda-state {
  text-align: center;
  padding: 36px 16px;
  color: var(--text-muted);
}

.empty-agenda-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--text-dim);
}

.empty-agenda-text {
  font-size: 14px;
  margin-bottom: 16px;
}

/* ── FULL MONTH GRID VIEW (FAMILYWALL STYLE WITH KW) ── */
.full-month-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 22px;
  padding: 10px 4px 14px 4px;
}

@media (min-width: 768px) {
  .full-month-card {
    padding: 18px 16px;
  }
}

.full-month-header {
  display: grid;
  grid-template-columns: 24px repeat(7, minmax(0, 1fr));
  gap: 3px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .full-month-header {
    grid-template-columns: 36px repeat(7, minmax(0, 1fr));
    gap: 6px;
    font-size: 12px;
  }
}

.kw-col-header {
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
  opacity: 0.65;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-month-grid {
  display: grid;
  grid-template-columns: 24px repeat(7, minmax(0, 1fr));
  gap: 3px;
}

@media (min-width: 768px) {
  .full-month-grid {
    grid-template-columns: 36px repeat(7, minmax(0, 1fr));
    gap: 6px;
  }
}

.kw-cell {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-dim, #71717a);
  opacity: 0.65;
  user-select: none;
}

@media (min-width: 768px) {
  .kw-cell {
    font-size: 12px;
    padding-top: 8px;
  }
}

.full-day-cell {
  min-height: 76px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 3px 2px;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
  .full-day-cell {
    min-height: 96px;
    border-radius: 12px;
    padding: 6px 4px;
  }
}

.full-day-cell:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.full-day-cell.other-month {
  opacity: 0.28;
}

/* Selected day in month view (blue border matching FamilyWall screenshot) */
.full-day-cell.is-selected-day {
  border: 2px solid #38bdf8 !important;
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
  z-index: 2;
}

/* Day header area inside cell */
.full-day-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 2px;
  min-height: 20px;
}

.full-day-num {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.full-day-num.today-pill {
  background: #3b82f6;
  color: #ffffff;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.full-day-holiday-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  font-size: 8.5px;
  line-height: 1;
}

/* Events container & pills in cell */
.full-day-events {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  flex: 1;
}

.grid-event-pill {
  font-size: 9.5px;
  font-weight: 600;
  padding: 1.5px 3px;
  border-radius: 3px;
  background: var(--pill-bg, #3b82f6);
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.01em;
  cursor: pointer;
}

@media (min-width: 768px) {
  .grid-event-pill {
    font-size: 10.5px;
    padding: 2px 5px;
    border-radius: 4px;
  }
}

.grid-event-pill.is-birthday {
  background: var(--birthday-color, #ec4899) !important;
}

.grid-event-more {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--text-dim, #94a3b8);
  text-align: center;
  padding: 1px 0;
  line-height: 1;
}

/* ── DAY DETAIL BOTTOM SHEET (FAMILYWALL STYLE) ── */
.day-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.day-sheet-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.day-bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(105%);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: #13151f;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -14px 45px rgba(0, 0, 0, 0.7);
  z-index: 1001;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.day-bottom-sheet.active {
  transform: translateX(-50%) translateY(0);
}

/* Hide FAB button when day bottom sheet is active */
body:has(.day-bottom-sheet.active) #btn-add-event,
.day-bottom-sheet.active ~ #btn-add-event {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.sheet-drag-handle {
  padding: 10px 0 6px;
  display: flex;
  justify-content: center;
  cursor: pointer;
  touch-action: none;
}

.handle-bar {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.2s;
}

.sheet-drag-handle:hover .handle-bar {
  background: rgba(255, 255, 255, 0.45);
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sheet-header-left {
  display: flex;
  flex-direction: column;
}

.sheet-date-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .sheet-date-title {
    font-size: 19px;
  }
}

.sheet-events-count {
  font-size: 12px;
  color: var(--text-dim, #94a3b8);
  margin-top: 2px;
  font-weight: 500;
}

.sheet-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-sheet-add {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-sheet-add:hover {
  background: #0ea5e9;
  color: #ffffff;
  transform: scale(1.05);
}

.btn-sheet-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-sheet-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.sheet-events-list {
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(80vh - 100px);
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .sheet-events-list {
    padding: 16px 20px;
  }
}

.sheet-event-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.12s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.sheet-event-row:active {
  transform: scale(0.985);
}

.sheet-event-time-col {
  width: 54px;
  min-width: 54px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 10px;
}

.sheet-time-start {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.sheet-time-end {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-dim, #94a3b8);
  margin-top: 2px;
}

.sheet-time-allday {
  font-size: 11.5px;
  font-weight: 700;
  color: #38bdf8;
  line-height: 1.3;
}

.sheet-event-card {
  flex: 1;
  border-radius: 14px;
  padding: 12px 14px;
  color: #ffffff;
  background: var(--card-color, #4f46e5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: filter 0.15s ease;
  overflow: hidden;
}

.sheet-event-row:hover .sheet-event-card {
  filter: brightness(1.08);
}

.sheet-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 5px;
}

.sheet-card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.sheet-card-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.sheet-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 16px;
  text-align: center;
  color: var(--text-muted);
  gap: 10px;
}

/* ── AGENDA LIST VIEW ── */
.agenda-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.agenda-date-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agenda-sticky-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-left: 4px;
}

/* ── FLOATING ACTION BUTTON (FAB) ── */
.btn-fab {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.45);
  border: none;
  cursor: pointer;
  z-index: 100;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.6);
}

.btn-fab:active {
  transform: scale(0.96);
}

/* ── DIALOGS / MODALS ── */
dialog.glass-dialog {
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 13, 12, 0.94);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 26px;
  color: var(--text-main);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  max-width: 500px;
  width: 92vw;
  padding: 0;
  overflow: hidden;
}

dialog.wide-dialog {
  max-width: 680px;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-body {
  padding: 22px 24px;
  max-height: 75vh;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

/* Form inputs */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 70px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Switch */
.switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 0;
}

.switch-input {
  appearance: none;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}

.switch-input::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.2s;
}

.switch-input:checked {
  background: var(--accent-blue);
}

.switch-input:checked::before {
  transform: translateX(20px);
}

/* Member picker in modal */
.member-picker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.member-check-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.member-check-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.member-check-btn.selected {
  background: var(--sel-bg, rgba(56, 189, 248, 0.2));
  border-color: var(--sel-border, rgba(56, 189, 248, 0.6));
  color: #fff;
  box-shadow: 0 0 14px var(--sel-glow, rgba(56, 189, 248, 0.25));
}

.member-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-size: 11px;
  line-height: 1;
  color: transparent;
  transition: all 0.15s;
}

.member-check-btn.selected .member-check-icon {
  background: #fff;
  border-color: #fff;
  color: #0f172a;
  font-weight: 800;
}

.form-error-banner {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: #fca5a5;
  line-height: 1.4;
  animation: fadeIn 0.2s ease-out;
}

.combination-detected-banner {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: #c7d2fe;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

/* Buttons */
.btn-primary {
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-danger {
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
}

/* ── SETTINGS TABS & iCAL FEED CARDS ── */
.settings-nav {
  display: flex;
  gap: 8px;
  padding: 0 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.settings-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.settings-tab.active {
  color: #fff;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.feed-group-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-group-header {
  margin-bottom: 4px;
}

.feed-group-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-group-desc {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 3px;
  line-height: 1.45;
}

.feed-subgroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px;
}

.feed-subgroup-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.feed-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.15s ease;
}

.feed-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

.feed-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  flex: 1;
}

.feed-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.feed-color-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot-color, #38bdf8);
  box-shadow: 0 0 6px var(--dot-color, #38bdf8);
  flex-shrink: 0;
}

.feed-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.feed-url-snippet {
  font-size: 11px;
  color: var(--text-dim);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-copy:hover {
  background: #0ea5e9;
  color: #fff;
}

/* ── TOAST NOTIFICATION ── */
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(18, 14, 12, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 12px 24px;
  font-size: 13.5px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

#toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ── COLOR SWATCH PALETTE & SELECTOR ── */
.color-swatch-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

@media (max-width: 480px) {
  .color-swatch-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }
}

.color-swatch-btn {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  background: var(--swatch-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  position: relative;
  outline: none;
  min-height: 34px;
}

.color-swatch-btn:hover {
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.color-swatch-btn.selected {
  transform: scale(1.12);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px var(--swatch-color), 0 0 14px var(--swatch-color);
}

.color-swatch-btn svg {
  display: none;
  width: 14px;
  height: 14px;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

.color-swatch-btn.selected svg {
  display: block;
}

.custom-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.color-picker-native {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.custom-color-label {
  font-size: 12.5px;
  color: var(--text-muted);
}

.color-hex-badge {
  margin-left: auto;
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── EXTERNAL CALENDAR STYLING ── */
.feed-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #38bdf8;
  letter-spacing: 0.02em;
}

.ext-cal-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: 14px;
  transition: all 0.2s;
}

.ext-cal-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.ext-cal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ext-cal-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.ext-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ext-sync-badge.error {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.ext-sync-badge.ok {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.cal-event-chip.is-external {
  border-style: dashed;
}

/* ── MONTH & YEAR PICKER MODAL ── */
.month-picker-year-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 4px;
}

.picker-year-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.month-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.month-picker-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-main);
  padding: 12px 6px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.month-picker-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.month-picker-btn.active {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #07090e;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

.month-picker-btn.current-month {
  border-color: #38bdf8;
  color: #38bdf8;
}

/* ── AI MORNING BRIEFING CARD ── */
.ai-briefing-card {
  margin: 10px 14px 8px;
  background: linear-gradient(135deg, rgba(28, 22, 48, 0.72), rgba(15, 20, 35, 0.85));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.25s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.briefing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  user-select: none;
}

.briefing-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.briefing-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

.briefing-date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.briefing-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-briefing-action {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  border-radius: 9px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.18s ease;
}

.btn-briefing-action:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

.btn-briefing-action:active {
  transform: scale(0.92);
}

.btn-briefing-action.spinning svg {
  animation: spinBriefing 0.75s linear infinite;
}

@keyframes spinBriefing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.briefing-body {
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #f1f5f9;
}

.briefing-text p {
  margin: 0 0 6px;
}

.briefing-text p:last-child {
  margin-bottom: 0;
}

.briefing-body.collapsed {
  display: none;
}

/* ── MAGIC SCAN (AI IMPORTER) STYLES ── */
.drop-zone {
  border: 2px dashed rgba(129, 140, 248, 0.4);
  background: rgba(15, 23, 42, 0.4);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.drop-zone:hover, .drop-zone.dragover {
  border-color: #818cf8;
  background: rgba(99, 102, 241, 0.1);
}

.drop-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.ai-pulse-spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
  animation: pulseAi 1.5s infinite ease-in-out;
}

@keyframes pulseAi {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.8);
  }
  100% {
    transform: scale(0.85);
    opacity: 0.6;
  }
}

.scan-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 4px;
}

.scan-result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  transition: all 0.2s;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.scan-result-card.selected {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.06);
}

.scan-card-check {
  margin-top: 4px;
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: #6366f1;
}

.scan-card-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scan-field-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.scan-input-title {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 10px;
  width: 100%;
}

.scan-input-time {
  font-size: 12.5px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 5px 8px;
  color: var(--text-main);
}

/* ── RECURRENCE SCOPE MODAL ── */
.recurrence-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.recurrence-choice-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  width: 100%;
}

.recurrence-choice-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(14, 165, 233, 0.4);
  transform: translateY(-1px);
}

.recurrence-choice-btn.danger-action:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
}

.recurrence-choice-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.recurrence-choice-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recurrence-choice-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.recurrence-choice-desc {
  font-size: 11.5px;
  color: var(--text-muted);
}



