/* ==========================================================================
   KalenderKu - Modern Indonesian Calendar & Personal Notes
   Aesthetic Design System: Warm Minimalist (Inspired by Seruma.app)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Seruma Warm Terracotta Palette (Light Theme Default) */
  --bg-canvas: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F4EFEA;
  --bg-card-hover: #F8F5F0;
  --border-color: #E8E2D7;
  --border-focus: #D4CBBD;
  --border-light: rgba(232, 226, 215, 0.6);

  --text-primary: #211E1A;
  --text-secondary: #686156;
  --text-muted: #9E9689;

  /* Terracotta Brand Colors */
  --primary-accent: #D95D39;
  --primary-hover: #C24F2C;
  --primary-soft: #FDEEE9;
  --primary-glow: rgba(217, 93, 57, 0.25);

  /* Holiday & Weekend Indicators */
  --holiday-red: #DC2626;
  --holiday-soft: #FEE2E2;
  --cuti-amber: #D97706;
  --cuti-soft: #FEF3C7;
  --sunday-red: #DC2626;
  --friday-green: #059669;

  /* Categories Colors */
  --cat-personal: #D95D39;
  --cat-work: #2563EB;
  --cat-finance: #059669;
  --cat-family: #7C3AED;
  --cat-health: #0891B2;
  --cat-idea: #EA580C;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(45, 35, 25, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(45, 35, 25, 0.08), 0 2px 6px -1px rgba(45, 35, 25, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(45, 35, 25, 0.1), 0 4px 12px -2px rgba(45, 35, 25, 0.05);
  --shadow-modal: 0 24px 60px -12px rgba(35, 25, 18, 0.25);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

/* ==========================================================================
   Dark Theme (Obsidian & Warm Charcoal)
   ========================================================================== */
[data-theme="dark"] {
  --bg-canvas: #141312;
  --bg-card: #1D1C19;
  --bg-card-subtle: #272522;
  --bg-card-hover: #2E2B27;
  --border-color: #2F2C27;
  --border-focus: #47433B;
  --border-light: rgba(47, 44, 39, 0.7);

  --text-primary: #F4F1EB;
  --text-secondary: #ADA598;
  --text-muted: #736C61;

  --primary-accent: #E2714D;
  --primary-hover: #F0825F;
  --primary-soft: rgba(226, 113, 77, 0.16);
  --primary-glow: rgba(226, 113, 77, 0.3);

  --holiday-red: #F87171;
  --holiday-soft: rgba(248, 113, 113, 0.16);
  --cuti-amber: #FBBF24;
  --cuti-soft: rgba(251, 191, 36, 0.16);
  --sunday-red: #F87171;
  --friday-green: #34D399;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.6);
  --shadow-modal: 0 24px 60px -12px rgba(0, 0, 0, 0.85);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* ==========================================================================
   Layout Shell
   ========================================================================== */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Header Top Bar */
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--bg-canvas);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-accent), #B84725);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: transform 0.2s ease;
}

.brand-logo-icon:hover {
  transform: scale(1.05) rotate(-3deg);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  background-color: var(--primary-soft);
  color: var(--primary-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Header Center Navigation */
.header-view-switch {
  display: flex;
  align-items: center;
  background-color: var(--bg-card-subtle);
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

.view-switch-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease-smooth);
}

.view-switch-btn:hover {
  color: var(--text-primary);
}

.view-switch-btn.active {
  background-color: var(--bg-card);
  color: var(--primary-accent);
  box-shadow: var(--shadow-sm);
}

/* Header Actions Right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.header-action-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.header-action-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-card-hover);
  border-color: var(--border-focus);
}

.btn-primary-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-accent), var(--primary-hover));
  color: #FFFFFF;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: all 0.2s var(--ease-smooth);
}

.btn-primary-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--primary-glow);
}

/* ==========================================================================
   Google Sign-In & Google Drive Sync Widget (Seruma Style)
   ========================================================================== */
.btn-google-login {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.8125rem;
  transition: all 0.2s var(--ease-smooth);
  box-shadow: var(--shadow-sm);
}

.btn-google-login:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.google-user-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.75rem 0.3rem 0.4rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.google-user-profile:hover {
  border-color: var(--border-focus);
  background-color: var(--bg-card-hover);
}

.user-avatar-badge {
  position: relative;
  width: 32px;
  height: 32px;
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.sync-dot-status {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
}

.sync-dot-status.synced {
  background-color: #10B981; /* Hijau */
}

.sync-dot-status.spinning {
  background-color: var(--primary-accent);
  animation: pulseSync 1s infinite alternate;
}

.sync-dot-status.error {
  background-color: var(--holiday-red);
}

@keyframes pulseSync {
  from { opacity: 0.4; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1.15); }
}

.user-info-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-name-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-sync-hint {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Dropdown Menu Akun Google */
.user-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  z-index: 950;
  animation: dropdownFadeIn 0.2s ease;
}

.user-dropdown-panel.show {
  display: block;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-user-header {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.dropdown-email {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-all;
}

.dropdown-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #10B981;
  background-color: rgba(16, 185, 129, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.dropdown-btn-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: left;
  transition: all 0.15s ease;
}

.dropdown-btn-item:hover {
  background-color: var(--bg-card-subtle);
  color: var(--text-primary);
}

.dropdown-btn-item.text-danger:hover {
  background-color: var(--holiday-soft);
  color: var(--holiday-red);
}

.dropdown-hr {
  height: 1px;
  background-color: var(--border-color);
  margin: 0.35rem 0;
}

/* Modal Google Drive Info Cards */
.gdrive-guide-card {
  padding: 1rem;
  background-color: var(--primary-soft);
  border: 1px solid rgba(217, 93, 57, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gdrive-guide-card h4 {
  font-size: 0.875rem;
  color: var(--primary-accent);
}

.gdrive-guide-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.gdrive-steps-box {
  padding: 1rem;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Main App Content & Layout Grid
   ========================================================================== */
.main-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.5rem;
  width: 100%;
  flex: 1;
}

/* Top Toolbar: Search & Category Chips */
.top-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-input-box {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 440px;
}

.search-input-box svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-field {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.search-field:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.category-chips-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-chips-list::-webkit-scrollbar {
  display: none;
}

.category-filter-chip {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.category-filter-chip:hover {
  border-color: var(--border-focus);
  color: var(--text-primary);
}

.category-filter-chip.active {
  background-color: var(--text-primary);
  color: var(--bg-canvas);
  border-color: var(--text-primary);
}

/* Calendar Workspace (Split Layout) */
.calendar-workspace-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.75rem;
  align-items: start;
}

/* ==========================================================================
   Kalender Grid & Container
   ========================================================================== */
.calendar-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.month-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.month-year-title {
  font-size: 1.625rem;
  color: var(--text-primary);
}

.year-highlight {
  color: var(--primary-accent);
  font-weight: 800;
}

.holiday-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--holiday-red);
  background-color: var(--holiday-soft);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--holiday-red);
}

.calendar-nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--bg-card-subtle);
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

.nav-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background-color: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.today-shortcut-btn {
  width: auto;
  padding: 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-accent);
}

/* Weekday Headers */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.weekday-header {
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.weekday-header.sunday {
  color: var(--sunday-red);
}

.weekday-header.friday {
  color: var(--friday-green);
}

/* Calendar Days Grid */
/* Calendar Days Grid (Ukuran seragam & simetris sempurna) */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  grid-auto-rows: 72px; /* Kunci ukuran baris agar semua kotak sama persis */
}

.calendar-cell {
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  transition: all 0.2s var(--ease-smooth);
  overflow: hidden;
}

.calendar-cell:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.calendar-cell.outside-month {
  opacity: 0.3;
  background-color: transparent;
  border-style: dashed;
}

.calendar-cell.outside-month:hover {
  transform: none;
}

.calendar-cell.today {
  border: 2px solid var(--primary-accent);
  background-color: var(--primary-soft);
}

.calendar-cell.today .cell-num {
  font-weight: 800;
  color: var(--primary-accent);
}

.calendar-cell.selected {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background-color: var(--bg-card-hover);
}

.calendar-cell.sunday .cell-num {
  color: var(--sunday-red);
  font-weight: 700;
}

/* Hari Libur Nasional SKB 3 Menteri di Sel */
.calendar-cell.national-holiday {
  background-color: var(--holiday-soft);
  border-color: rgba(220, 38, 38, 0.35);
}

.calendar-cell.national-holiday .cell-num {
  color: var(--holiday-red);
  font-weight: 800;
}

/* Cuti Bersama SKB 3 Menteri di Sel */
.calendar-cell.joint-leave {
  background-color: var(--cuti-soft);
  border-color: rgba(217, 119, 6, 0.35);
}

.calendar-cell.joint-leave .cell-num {
  color: var(--cuti-amber);
  font-weight: 800;
}

.cell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.cell-num {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}

.today-dot-badge {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-accent);
}

/* Indikator Titik di Dalam Kotak (Tidak merubah tinggi kotak) */
.cell-indicators {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 14px;
  margin-top: auto;
}

.holiday-dot-marker {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.holiday-dot-marker.national {
  background-color: var(--holiday-red);
  box-shadow: 0 0 5px rgba(220, 38, 38, 0.5);
}

.holiday-dot-marker.cuti {
  background-color: var(--cuti-amber);
  box-shadow: 0 0 5px rgba(217, 119, 6, 0.5);
}

.notes-dots-row {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.note-color-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.note-more-plus {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  line-height: 1;
}

/* ==========================================================================
   Daftar Keterangan Hari Libur & Cuti Bersama di Bawah Kalender
   ========================================================================== */
.calendar-holidays-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.holidays-footer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-title-icon {
  font-size: 1.1rem;
}

.holidays-footer-title h4 {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 700;
}

.holidays-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

.holiday-footer-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
}

.holiday-footer-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-focus);
  background-color: var(--bg-card-hover);
}

.holiday-footer-item.national {
  border-left: 4px solid var(--holiday-red);
}

.holiday-footer-item.cuti {
  border-left: 4px solid var(--cuti-amber);
}

.holiday-footer-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.badge-dot.red {
  background-color: var(--holiday-red);
}

.badge-dot.amber {
  background-color: var(--cuti-amber);
}

.holiday-footer-item.national .holiday-footer-badge {
  color: var(--holiday-red);
}

.holiday-footer-item.cuti .holiday-footer-badge {
  color: var(--cuti-amber);
}

.holiday-footer-desc {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  overflow: hidden;
}

.holiday-footer-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.holiday-footer-type {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.holidays-footer-empty {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  font-style: italic;
}

/* ==========================================================================
   Date Detail Inspector Panel (Desktop Right Side / Mobile Bottom)
   ========================================================================== */
.inspector-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.date-panel-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.date-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.date-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.day-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.panel-date-title {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.add-note-date-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--primary-soft);
  color: var(--primary-accent);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.8125rem;
  transition: all 0.2s ease;
}

.add-note-date-btn:hover {
  background-color: var(--primary-accent);
  color: #FFFFFF;
}

/* Holiday Banner in Inspector Panel */
.panel-holiday-alert {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  border-left: 4px solid;
}

.panel-holiday-alert.national {
  background-color: var(--holiday-soft);
  border-color: var(--holiday-red);
}

.panel-holiday-alert.cuti {
  background-color: var(--cuti-soft);
  border-color: var(--cuti-amber);
}

.alert-icon {
  font-size: 1.5rem;
}

.alert-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.alert-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Notes Cards in Panel */
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.section-title-row h4 {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.notes-list-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.note-card {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-left-width: 4px;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.note-card:hover {
  border-color: var(--border-focus);
  background-color: var(--bg-card-hover);
}

.note-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.note-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.category-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

.time-pill, .pin-pill {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.note-actions {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.note-action-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.note-action-btn:hover {
  background-color: var(--bg-card);
  color: var(--text-primary);
}

.btn-delete-note:hover {
  color: var(--holiday-red);
}

.note-title {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 700;
}

.note-body-preview {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: pre-line;
}

/* Checklist in Note Card */
.note-checklist-preview {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.checklist-progress-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.progress-track {
  flex: 1;
  height: 5px;
  border-radius: var(--radius-pill);
  background-color: var(--border-color);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary-accent);
  transition: width 0.3s ease;
}

.checklist-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.checklist-item-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.checklist-item-row.checked .item-text {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* Empty State */
.empty-notes-state {
  text-align: center;
  padding: 2rem 1rem;
  background-color: var(--bg-card-subtle);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}

.empty-illustration {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.empty-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.empty-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Agenda Timeline View
   ========================================================================== */
.agenda-view-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.agenda-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.agenda-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.holiday-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.upcoming-holiday-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  border-left: 4px solid;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.upcoming-holiday-card.national {
  background-color: var(--holiday-soft);
  border-color: var(--holiday-red);
}

.upcoming-holiday-card.cuti {
  background-color: var(--cuti-soft);
  border-color: var(--cuti-amber);
}

.holiday-card-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.holiday-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.holiday-card-type-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: auto;
}

.agenda-notes-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  padding-left: 1.5rem;
}

.agenda-notes-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--border-color);
}

.agenda-timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-date-marker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.marker-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 3px solid var(--primary-accent);
  position: absolute;
  left: -1.5rem;
  top: 0.2rem;
}

.marker-date {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-accent);
}

/* ==========================================================================
   Modals & Bottom Sheet (Mobile Responsive)
   ========================================================================== */
.seruma-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.seruma-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(20, 18, 16, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  width: 92%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s var(--ease-smooth);
}

.seruma-modal.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 1.125rem;
  color: var(--text-primary);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background-color: var(--bg-card-subtle);
  color: var(--text-primary);
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px var(--primary-soft);
  background-color: var(--bg-card);
}

.form-textarea {
  min-height: 90px;
  resize: vertical;
}

/* Checklist Builder in Modal */
.checklist-builder-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist-builder-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.builder-item-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
}

.btn-remove-chk-item {
  color: var(--text-muted);
  padding: 0.3rem;
  border-radius: var(--radius-sm);
}

.btn-remove-chk-item:hover {
  color: var(--holiday-red);
}

.btn-add-chk-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-accent);
  padding: 0.35rem 0;
  width: fit-content;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.btn-secondary {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background-color: var(--bg-card-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  color: var(--text-primary);
}

.btn-primary-submit {
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary-accent), var(--primary-hover));
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Backup Modal Specifics */
.backup-card-action {
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-card-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.backup-info h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.backup-info p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.btn-export-style {
  background-color: var(--primary-accent);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.btn-excel-style {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #107C41, #0B5C30);
  color: #FFFFFF;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.8125rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(16, 124, 65, 0.25);
  transition: all 0.2s ease;
}

.btn-excel-style:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 124, 65, 0.35);
  background: linear-gradient(135deg, #158A4A, #107C41);
}

.btn-excel-small {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
}

.btn-danger-outline {
  color: var(--holiday-red);
  border: 1px solid var(--holiday-red);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
}

/* ==========================================================================
   Mobile Bottom Navigation Bar & FAB (Symmetrical 5-Item Dock)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 500;
  background-color: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.mobile-nav-items {
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto 1fr 1fr;
  align-items: center;
  justify-items: center;
}

.mobile-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.35rem 0.2rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  width: 100%;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-tab svg {
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.mobile-nav-tab:hover,
.mobile-nav-tab:active {
  color: var(--text-primary);
}

.mobile-nav-tab.active {
  color: var(--primary-accent);
  font-weight: 700;
}

.mobile-nav-tab.active svg {
  stroke: var(--primary-accent);
  transform: scale(1.08);
}

.mobile-fab-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-accent), var(--primary-hover));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--primary-glow);
  transform: translateY(-12px);
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  margin: 0 0.35rem;
}

.mobile-fab-btn:active {
  transform: translateY(-8px) scale(0.95);
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* ==========================================================================
   Toast Notification (Seruma-Style Popups)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.seruma-toast {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: all 0.25s var(--ease-smooth);
}

.seruma-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .calendar-workspace-grid {
    grid-template-columns: 1fr;
  }

  .header-view-switch {
    display: none; /* dialihkan ke mobile bottom bar */
  }

  /* Sembunyikan tombol header desktop yang sudah ada di mobile bottom bar */
  .desktop-only-action {
    display: none !important;
  }

  .mobile-bottom-nav {
    display: block;
  }

  .main-wrapper {
    padding-bottom: 6rem; /* ruang aman untuk bottom nav */
  }

  .toast-container {
    bottom: 5.5rem;
    right: 1rem;
    left: 1rem;
    align-items: center;
  }

  /* Bottom sheet style on mobile */
  .seruma-modal {
    align-items: flex-end;
  }

  .modal-dialog {
    width: 100%;
    max-width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    transform: translateY(100%);
    max-height: 85vh;
  }

  .seruma-modal.active .modal-dialog {
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .main-wrapper {
    padding: 0.85rem 0.65rem 6.5rem;
  }

  .calendar-panel {
    padding: 1rem 0.65rem;
  }

  .calendar-grid {
    grid-auto-rows: 52px;
    gap: 0.35rem;
  }

  .calendar-cell {
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    padding: 0.35rem;
  }

  .cell-num {
    font-size: 0.8125rem;
  }

  .holiday-dot-marker {
    width: 6px;
    height: 6px;
  }

  .holidays-footer-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* Header Presisi Mobile */
  .header-inner {
    padding: 0.65rem 0.85rem;
    gap: 0.5rem;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
  }

  .brand-section {
    gap: 0.5rem;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .brand-logo-icon svg {
    width: 19px;
    height: 19px;
  }

  .brand-title {
    font-size: 1.125rem;
    white-space: nowrap;
  }

  .brand-tagline {
    display: none; /* Sembunyikan tagline di HP agar hemat ruang */
  }

  .header-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  /* Google Sign-in button compact circle */
  .btn-google-login {
    padding: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .btn-google-login .google-btn-text,
  .btn-google-login span {
    display: none;
  }

  .google-user-profile {
    padding: 0.2rem;
    border-radius: 50%;
    gap: 0;
  }

  .user-info-text {
    display: none; /* Sembunyikan nama user, tampilkan avatar + sync dot saja */
  }

  .user-avatar-badge {
    width: 34px;
    height: 34px;
  }

  .header-action-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex-shrink: 0;
  }

  .top-toolbar {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .search-input-box {
    min-width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   Alarm & Audio Chime Reminder Styles
   ========================================================================== */
.btn-test-chime {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-accent);
  background-color: var(--primary-soft);
  border: 1px solid rgba(217, 93, 57, 0.2);
  transition: all 0.2s ease;
}

.btn-test-chime:hover {
  background-color: var(--primary-accent);
  color: #FFFFFF;
}

.alarm-ringing-modal {
  z-index: 1200;
}

.alarm-dialog-box {
  text-align: center;
  padding: 2.25rem 2rem;
  max-width: 440px;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary-accent);
  box-shadow: 0 20px 60px rgba(217, 93, 57, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.alarm-bell-animation {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  animation: bellPulse 1.2s infinite alternate;
}

.alarm-bell-icon {
  font-size: 2.5rem;
  display: inline-block;
  animation: bellShake 0.6s infinite ease-in-out;
}

@keyframes bellShake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(18deg); }
  75% { transform: rotate(-18deg); }
}

@keyframes bellPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 var(--primary-glow); }
  100% { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(217, 93, 57, 0); }
}

.alarm-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-accent);
}

.alarm-time-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.alarm-note-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.alarm-note-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-height: 100px;
  overflow-y: auto;
}

.btn-dismiss-alarm {
  padding: 0.75rem 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary-accent), var(--primary-hover));
  color: #FFFFFF;
  box-shadow: 0 6px 18px var(--primary-glow);
  cursor: pointer;
  margin-top: 0.5rem;
}

.btn-dismiss-alarm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

