/* ============================================================
   KOMATH SRI GURU BADRAKALI TEMPLE — Main Stylesheet
   ============================================================ */

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.hidden { display: none !important; }

/* ===== Design Tokens ===== */
:root {
  --red:        #8B1A1A;
  --red-dark:   #6B1212;
  --red-light:  #B52020;
  --gold:       #B07D2A;
  --gold-light: #D4A843;
  --amber:      #E07A10;
  --bg:         #F7F4EF;
  --bg-alt:     #FFFFFF;
  --surface:    #FFFFFF;
  --border:     #E8E0D4;
  --border-mid: #D4C8B4;
  --text-1:     #1A1208;
  --text-2:     #5C4E38;
  --text-3:     #8C7D68;
  --white:      #FFFFFF;
  --green:      #1E7D4A;
  --green-bg:   #EAF7F0;
  --blue:       #1553A0;
  --blue-bg:    #EAF0FA;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --transition: 0.18s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== Header ===== */
header {
  background: var(--red);
  padding: 28px 20px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--gold-light), var(--amber), var(--gold-light), var(--red-dark));
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.diya-left, .diya-right {
  font-size: 1.6rem;
  opacity: 0.8;
}

.om-symbol {
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 6px;
  display: block;
}

header h1 {
  font-size: clamp(1.15rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  margin-top: 5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.header-border { display: none; }

/* ===== Site Nav ===== */
.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 200;
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav-link {
  padding: 14px 20px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.site-nav-link:hover { color: var(--red); }

.site-nav-link.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--red-dark) 0%, var(--red) 60%, #A02010 100%);
  padding: 52px 20px 64px;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 48px;
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-content {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.hero p {
  color: rgba(255,255,255,0.78);
  font-size: 0.97rem;
  line-height: 1.75;
}

/* ===== Container ===== */
.container {
  max-width: 640px;
  margin: 0 auto;
}

/* ===== Progress Strip ===== */
.progress-strip {
  padding: 28px 16px 0;
}

.progress-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.progress-month {
  display: block;
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 2px;
}

.progress-label {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-1);
}

.progress-counts {
  font-size: 0.78rem;
  color: var(--text-2);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.progress-amounts {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.raised-amount {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.5px;
}

.target-amount {
  font-size: 0.82rem;
  color: var(--text-3);
}

.progress-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.progress-bar-fill {
  height: 100%;
  border-radius: 20px;
  background: var(--red);
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.progress-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-2);
  min-width: 38px;
  text-align: right;
}

/* ===== Donation Section ===== */
.donation-section {
  padding: 32px 16px 64px;
}

.form-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.divider-ornament {
  text-align: center;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 10px;
  margin-bottom: 28px;
  opacity: 0.7;
}

/* Steps */
.step { margin-bottom: 4px; }

.step-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--amber);
  border-radius: 2px;
  flex-shrink: 0;
}

.step-hint {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 14px;
}

.step-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

/* ===== Amount Grid ===== */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.amount-btn {
  padding: 13px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--text-1);
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.amount-btn:hover {
  border-color: var(--red);
  background: var(--surface);
  color: var(--red);
}

.amount-btn.selected {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(139,26,26,0.25);
}

.custom-btn {
  font-size: 0.82rem;
  color: var(--text-3);
}

.custom-amount-wrap {
  display: none;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.custom-amount-wrap.visible { display: flex; }

.custom-amount-wrap label {
  font-size: 0.82rem;
  color: var(--text-3);
  font-weight: 600;
}

.custom-amount-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.custom-amount-row input {
  flex: 1;
}

.quick-add-btn {
  flex-shrink: 0;
  padding: 10px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.quick-add-btn:hover {
  background: #fdecea;
  border-color: var(--red);
}

.selected-amount-display {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--red);
  font-weight: 700;
  text-align: center;
  min-height: 22px;
}

/* ===== Day Grid ===== */
.day-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.day-btn {
  padding: 8px 2px 6px;
  border: 1.5px solid #a8dfc0;
  border-radius: var(--r-sm);
  background: #eaf7f0;
  color: var(--text-1);
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 46px;
}

.day-btn:hover {
  border-color: var(--red);
  background: var(--surface);
}

.day-btn:hover .day-num { color: var(--red); }

.day-btn.selected {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 2px 8px rgba(139,26,26,0.25);
}

.day-btn.selected .day-num { color: #fff; }

.day-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1;
}

/* Booked day */
.day-btn.booked {
  background: #fdecea;
  border-color: #f5a9a0;
  cursor: not-allowed;
  opacity: 1;
}

.day-btn.booked .day-num {
  color: #c0392b;
}

.day-booked-label {
  font-size: 0.55rem;
  font-weight: 700;
  color: #c0392b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1;
}

.day-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 8px;
  margin-bottom: 4px;
}

.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1.5px solid;
  vertical-align: middle;
  margin-right: 4px;
}

.legend-available { background: #eaf7f0; border-color: #a8dfc0; }
.legend-booked    { background: #fdecea; border-color: #f5a9a0; }

.selected-day-display {
  font-size: 0.85rem;
  color: var(--text-2);
  text-align: center;
  min-height: 20px;
  margin-top: 10px;
  line-height: 1.6;
}

.day-also-donated {
  font-size: 0.78rem;
  color: var(--gold);
  font-style: italic;
}

.day-donations-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  text-align: left;
}

.day-donations-title {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-bottom: 6px;
}

.day-donation-entry {
  font-size: 0.82rem;
  color: var(--text-2);
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

.day-donation-entry:last-child { border-bottom: none; }

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
  letter-spacing: 0.1px;
}

.required { color: var(--amber); }

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="date"],
select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-1);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus {
  border-color: var(--red);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.08);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235C4E38'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 36px;
  cursor: pointer;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.phone-input-wrap:focus-within {
  border-color: var(--red);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.08);
}

.phone-prefix {
  padding: 11px 12px;
  background: var(--border);
  color: var(--text-2);
  font-weight: 700;
  font-size: 0.9rem;
  border-right: 1px solid var(--border-mid);
  white-space: nowrap;
}

.phone-input-wrap input {
  border: none;
  background: transparent;
  flex: 1;
  box-shadow: none;
  border-radius: 0;
}

.phone-input-wrap input:focus { border: none; box-shadow: none; }

/* ===== Summary Box ===== */
.summary-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.summary-box h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  text-align: center;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.summary-row:last-child { border-bottom: none; }
.summary-row span:first-child { color: var(--text-3); }

.summary-row span:last-child {
  color: var(--text-1);
  font-weight: 600;
  text-align: right;
  max-width: 62%;
}

.summary-row.highlight span:last-child {
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 700;
}

/* ===== Error ===== */
.error-msg {
  color: #C0392B;
  font-size: 0.83rem;
  text-align: center;
  margin-bottom: 12px;
  min-height: 18px;
}

/* ===== Buttons ===== */
.pay-btn {
  width: 100%;
  padding: 15px;
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(139,26,26,0.3);
}

.pay-btn:hover {
  background: var(--red-light);
  box-shadow: 0 4px 16px rgba(139,26,26,0.4);
  transform: translateY(-1px);
}

.pay-btn:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(139,26,26,0.3); }

.secure-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 12px;
}

/* ===== Frequency Toggle ===== */
.freq-toggle {
  display: flex;
  background: var(--bg);
  border: 1.5px solid var(--border-mid);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
  margin: 0 auto 20px;
  width: fit-content;
}

.freq-btn {
  padding: 8px 22px;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.freq-btn.active {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(139,26,26,0.25);
}

/* ===== Project Banner ===== */
.project-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FEF8F0;
  border: 1.5px solid var(--amber);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  margin-bottom: 22px;
}

.project-banner.hidden { display: none; }

.project-banner-label {
  font-size: 0.78rem;
  color: var(--text-3);
  white-space: nowrap;
}

.project-banner-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  flex: 1;
}

.project-banner-clear {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-3);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color var(--transition);
}

.project-banner-clear:hover { color: var(--red); }

/* ===== Project Donation Modal ===== */
.proj-modal {
  max-width: 520px !important;
  padding: 0 !important;
  text-align: left !important;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.proj-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.15);
  border: none;
  font-size: 1.3rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  z-index: 10;
}

.proj-modal-close:hover { background: rgba(255,255,255,0.25); }

.proj-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px 20px;
  background: var(--red);
}

.proj-modal-icon { font-size: 1.8rem; flex-shrink: 0; }

.proj-modal-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 3px;
}

.proj-modal-name {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
  margin: 0;
}

.proj-modal-body {
  padding: 22px 24px 28px;
  text-align: left;
}

.proj-modal-body input,
.proj-modal-body select,
.proj-modal-body textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-1);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s;
}

.proj-modal-body input:focus,
.proj-modal-body select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.1);
}

.proj-modal-body .pay-btn { width: 100%; margin-top: 4px; }

.proj-field-group { margin-bottom: 16px; }

.proj-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 7px;
}

.proj-amount-grid { margin-bottom: 0 !important; }

/* ===== Modal (Success) ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 36px 28px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.25s ease;
  border: 1px solid var(--border);
}

@keyframes slideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(30,125,74,0.3);
}

.modal h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
}

.modal p { color: var(--text-2); margin-bottom: 4px; font-size: 0.92rem; }

.modal-subtext {
  color: var(--gold) !important;
  font-style: italic;
  margin-bottom: 18px !important;
}

.modal-details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin: 16px 0;
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.9;
}

.modal-actions { display: flex; flex-direction: column; gap: 10px; }

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: #25D366;
  color: white;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 700;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.btn-whatsapp:hover { background: #1ebe5d; }

.btn-download {
  padding: 12px;
  background: var(--bg);
  color: var(--text-2);
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-download:hover { border-color: var(--border-mid); background: var(--surface); }

.btn-close {
  padding: 10px;
  background: transparent;
  color: var(--text-3);
  font-size: 0.85rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
}

/* ===== Gallery ===== */
.gallery-section { background: #111; }
.gallery-section .section-title  { color: var(--gold-light); }
.gallery-section .section-sub    { color: rgba(255,255,255,0.5); }
.gallery-section .divider-ornament { color: var(--gold); }

.gal-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.gal-filter {
  padding: 7px 20px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  background: transparent;
  color: rgba(255,255,255,0.55);
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.gal-filter:hover { border-color: var(--gold-light); color: var(--gold-light); }

.gal-filter.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

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

.gal-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gal-item:hover { transform: scale(1.03); box-shadow: 0 8px 30px rgba(0,0,0,0.5); z-index: 2; }

.gal-thumb {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gal-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-ph-icon { font-size: 2.2rem; opacity: 0.45; z-index: 1; }

.gal-archive-year {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
  margin-top: 4px;
  z-index: 1;
}

.gal-play-btn {
  position: absolute;
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background var(--transition);
  z-index: 2;
}

.gal-item:hover .gal-play-btn { background: var(--red); border-color: var(--red); }

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.22s ease;
  display: flex;
  align-items: flex-start;
  padding: 8px;
}

.gal-item:hover .gal-overlay { opacity: 1; }

.gal-type-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 20px;
}

.badge-photo   { background: rgba(176,60,0,0.85); color: #fff; }
.badge-video   { background: rgba(21,83,160,0.85); color: #fff; }
.badge-archive { background: rgba(70,90,100,0.85); color: #fff; }

.gal-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 18px 8px 8px;
  line-height: 1.3;
  transform: translateY(100%);
  transition: transform 0.22s ease;
}

.gal-item:hover .gal-caption { transform: translateY(0); }

/* ===== Lightbox ===== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.lightbox-overlay.active { display: flex; }

.lightbox-box {
  background: #161616;
  border-radius: var(--r-lg);
  max-width: 820px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  animation: slideUp 0.22s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.lightbox-close {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover { background: var(--red); }

.lightbox-media {
  width: 100%;
  aspect-ratio: 16/9;
  background: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-media img  { width: 100%; height: 100%; object-fit: contain; }
.lightbox-media iframe { width: 100%; height: 100%; border: none; }

.lightbox-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.2);
  font-size: 3rem;
}

.lightbox-placeholder span { font-size: 0.82rem; font-family: inherit; }

.lightbox-info { padding: 18px 22px 22px; border-top: 1px solid rgba(255,255,255,0.08); }
.lightbox-title { color: rgba(255,255,255,0.9); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.lightbox-desc  { color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.6; }

/* ===== Common Section Styles ===== */
.info-section { padding: 60px 16px; }
.info-section:nth-child(even) { background: var(--bg); }

.section-heading { text-align: center; margin-bottom: 40px; }

.section-title {
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--text-1);
  margin: 8px 0 10px;
  letter-spacing: -0.3px;
}

.section-sub {
  font-size: 0.92rem;
  color: var(--text-3);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Developments ===== */
.dev-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }

.dev-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 22px;
  display: flex;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.dev-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.dev-icon { font-size: 1.8rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }

.dev-body { flex: 1; min-width: 0; }

.dev-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.status-active   { background: #FFF0E0; color: #C05500; }
.status-planned  { background: var(--blue-bg);  color: var(--blue); }
.status-complete { background: var(--green-bg); color: var(--green); }

.dev-title { font-size: 0.97rem; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }

.dev-desc { font-size: 0.83rem; color: var(--text-3); line-height: 1.65; margin-bottom: 14px; }

.dev-fund-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 4px;
}

.dev-fund-pct { font-size: 0.75rem; color: var(--text-3); text-align: right; margin-top: 4px; }

.dev-donate-btn {
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  background: var(--red);
  color: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.dev-donate-btn:hover { background: var(--red-light); transform: translateY(-1px); box-shadow: 0 3px 10px rgba(139,26,26,0.25); }

.dev-donate-btn--complete { background: var(--bg); color: var(--text-3); border: 1.5px solid var(--border); cursor: not-allowed; }
.dev-donate-btn--complete:hover { background: var(--bg); transform: none; box-shadow: none; }

/* ===== Events ===== */
.events-section { background: var(--bg-alt); }

.events-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.event-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.event-date-box {
  flex-shrink: 0;
  width: 56px;
  background: var(--red);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  color: var(--white);
}

.event-day   { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-month { font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.8; margin-top: 2px; }

.event-body { flex: 1; min-width: 0; }

.event-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.tag-festival { background: #FFF0E0; color: #C05500; }
.tag-pooja    { background: #F5EAF8; color: #6B1B9A; }
.tag-ritual   { background: var(--green-bg); color: var(--green); }

.event-title { font-size: 0.97rem; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.event-desc  { font-size: 0.83rem; color: var(--text-3); line-height: 1.65; margin-bottom: 10px; }

.event-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 600;
  flex-wrap: wrap;
}

/* ===== Pooja Section ===== */
.pooja-section { background: var(--bg); }

.pooja-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.pooja-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  position: relative;
}

.pooja-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(139,26,26,0.12);
  transform: translateY(-2px);
}

.pooja-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.pooja-info {
  flex: 1;
  min-width: 0;
}

.pooja-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}

.pooja-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 10px;
}

.pooja-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pooja-duration {
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 600;
}

.pooja-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--red);
}

.pooja-book-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  align-self: center;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.pooja-book-btn:hover { background: var(--red-dark); }

/* Pooja Modal specifics */
.pooja-modal-box {
  max-width: 480px !important;
  padding: 0 !important;
  overflow-y: auto;
  max-height: 92vh;
  text-align: left !important;
}

/* Header right padding so title never slides under the close button */
.pooja-modal-box .proj-modal-header {
  padding-right: 52px;
}

/* Force white text inside the red header — override .modal h3/.modal p */
.pooja-modal-box .proj-modal-header h3,
.pooja-modal-box .proj-modal-header .proj-modal-name {
  color: #fff !important;
}
.pooja-modal-box .proj-modal-header p,
.pooja-modal-box .proj-modal-header .pooja-modal-meta,
.pooja-modal-box .proj-modal-header .proj-modal-label {
  color: rgba(255,255,255,0.82) !important;
}

.pooja-modal-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.82);
  margin-top: 4px;
  font-weight: 500;
}

.pooja-date-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-1);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
}

.pooja-date-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(139,26,26,0.1); }

@media (max-width: 640px) {
  .pooja-grid { grid-template-columns: 1fr; }
  .pooja-card { flex-wrap: wrap; }
  .pooja-book-btn { width: 100%; text-align: center; margin-top: 8px; }
}

/* ===== About ===== */
.about-section { background: var(--surface); }

.about-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 28px 30px;
  margin-bottom: 20px;
}

.about-card-icon { font-size: 1.6rem; margin-bottom: 10px; display: block; }

.about-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.history-text p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 14px;
}

.history-text p:last-child { margin-bottom: 0; }
.history-text strong { color: var(--text-1); font-weight: 700; }

.committee-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }

.member-card {
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.member-card:hover { box-shadow: var(--shadow-md); }

.member-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.member-info { display: flex; flex-direction: column; gap: 2px; }

.member-name   { font-size: 0.85rem; font-weight: 700; color: var(--text-1); }
.member-role   { font-size: 0.75rem; font-weight: 700; color: var(--amber); }
.member-detail { font-size: 0.73rem; color: var(--text-3); line-height: 1.4; margin-top: 2px; }

.member-phone {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  margin-top: 5px;
  display: inline-block;
}

.member-phone:hover { text-decoration: underline; }

/* ===== Footer ===== */
footer {
  background: var(--red-dark);
  padding: 28px 20px;
  text-align: center;
}

.footer-ornament {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  letter-spacing: 8px;
  margin-bottom: 10px;
}

footer p { font-size: 0.9rem; color: rgba(255,255,255,0.85); }

.footer-sub {
  font-size: 0.77rem !important;
  color: rgba(255,255,255,0.45) !important;
  margin-top: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .dev-grid          { grid-template-columns: 1fr; }
  .committee-grid    { grid-template-columns: 1fr; }
  .gal-grid          { grid-template-columns: repeat(2,1fr); gap: 8px; }

  .event-card        { flex-direction: column; gap: 10px; }
  .event-date-box    { width: 100%; flex-direction: row; gap: 8px; padding: 8px 14px; justify-content: flex-start; }
  .event-day         { font-size: 1.1rem; }

  .gal-caption       { transform: translateY(0); font-size: 0.62rem; }
}

@media (max-width: 480px) {
  .form-card         { padding: 24px 16px; }
  .amount-grid       { grid-template-columns: repeat(2,1fr); }
  .day-grid          { grid-template-columns: repeat(5,1fr); }
  .diya-left, .diya-right { display: none; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .committee-grid { grid-template-columns: repeat(2,1fr); }
  .gal-grid       { grid-template-columns: repeat(3,1fr); }
}

/* ===== Admin Nav Button ===== */
.admin-nav-btn {
  padding: 7px 14px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.admin-nav-btn:hover { background: var(--red-dark); }
.admin-nav-btn.logged-in { background: #1E7D4A; }
.admin-nav-btn.logged-in:hover { background: #155c35; }

/* ===== Admin Panel ===== */
/* ===== Admin Panel ===== */
.admin-panel {
  background: #13100d;
  color: #e8e0d4;
  padding: 48px 0 72px;
  border-top: 3px solid var(--gold);
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid #2a2218;
}

.admin-panel-header h2 {
  font-size: 1.3rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-logout-btn {
  padding: 8px 20px;
  background: transparent;
  color: #e07070;
  border: 1px solid #6b2020;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.02em;
}
.admin-logout-btn:hover { background: #c0392b; color: #fff; border-color: #c0392b; }

/* Section sub-header */
.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 10px 16px;
  background: #1c1812;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}
.admin-section-head h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-add-btn {
  padding: 7px 16px;
  background: var(--gold);
  color: #1a0e00;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: 0.02em;
}
.admin-add-btn:hover { background: var(--gold-light); }

/* Add / Edit Form */
.admin-form {
  background: #1c1812;
  border: 1px solid #2e2518;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-form .proj-label {
  color: #a0907a;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-form input,
.admin-form select {
  background: #111009;
  border-color: #2e2518;
  color: #e8e0d4;
}
.admin-form input::placeholder { color: #555; }
.admin-form input:focus,
.admin-form select:focus { border-color: var(--gold); outline: none; }

.admin-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #2e2518;
}

.admin-save-btn {
  padding: 10px 28px;
  background: var(--gold);
  color: #1a0e00;
  border: none;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: 0.02em;
}
.admin-save-btn:hover { background: var(--gold-light); }

.admin-cancel-btn {
  padding: 10px 20px;
  background: transparent;
  color: #888;
  border: 1px solid #333;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.admin-cancel-btn:hover { color: #e8e0d4; border-color: #666; }

/* List rows — shared by all admin sections */
.admin-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

.admin-list-row,
.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1c1812;
  border: 1px solid #2a2018;
  border-radius: 8px;
  padding: 12px 16px;
  gap: 14px;
  transition: border-color 0.15s;
}
.admin-list-row:hover,
.admin-list-item:hover { border-color: #4a3820; }

.admin-list-info { flex: 1; min-width: 0; }
.admin-list-title,
.admin-list-info > strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8e0d4;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-list-meta,
.admin-list-info > .admin-list-meta {
  font-size: 0.75rem;
  color: #6a5e50;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-list-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-items: center;
}

.admin-edit-btn {
  padding: 5px 13px;
  background: transparent;
  color: #5b9bd5;
  border: 1px solid #2a4a70;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.admin-edit-btn:hover { background: #2255a0; color: #fff; border-color: #2255a0; }

.admin-del-btn,
.admin-delete-btn {
  padding: 5px 13px;
  background: transparent;
  color: #c0392b;
  border: 1px solid #5a1a14;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.admin-del-btn:hover,
.admin-delete-btn:hover { background: #a93226; color: #fff; border-color: #a93226; }

.admin-empty {
  color: #44382c;
  font-size: 0.85rem;
  text-align: center;
  padding: 32px 0;
  border: 1px dashed #2a2018;
  border-radius: 8px;
}

/* Bookings table inside dark panel */
.admin-panel .table-wrap { border-color: #2a2018; border-radius: 10px; overflow-x: auto; overflow-y: hidden; }
.admin-panel table { background: #1c1812; }
.admin-panel thead tr { background: linear-gradient(135deg,#2a1408,#3a2800); }
.admin-panel thead th { color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.05em; padding: 12px 14px; }
.admin-panel tbody tr { border-bottom-color: #231e14; }
.admin-panel tbody tr:hover { background: #221d12; }
.admin-panel tbody tr:nth-child(even) { background: #181410; }
.admin-panel tbody tr:nth-child(even):hover { background: #221d12; }
.admin-panel tbody td { color: #b8a888; font-size: 0.84rem; padding: 11px 14px; }

@media (max-width: 600px) {
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid [style*="grid-column"] { grid-column: 1 !important; }
  .admin-panel-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red-dark);
}

/* ===== Family Tree ===== */
.family-banner {
  background: linear-gradient(135deg, #8B1A1A 0%, #6B1212 40%, #3a0f00 100%);
  padding: 32px 20px;
}

.family-banner-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.family-crest {
  font-size: 3.2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.family-name {
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #f5d98a;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.family-subname {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.02em;
}

.family-section { background: #fffdf8; }

.family-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffbe8;
  border: 1px solid #e8d068;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.86rem;
  color: #6a5400;
  margin-bottom: 36px;
}

.family-note-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ── Family Tree ── */

.family-tree-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}

/* Each generation: collapsible <details> */
.tree-generation {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.tree-generation[open] {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Clickable generation header */
.tree-gen-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: rgba(139,26,26,0.03);
  border-bottom: 1.5px solid transparent;
  transition: background 0.15s;
}

.tree-generation[open] .tree-gen-header {
  border-bottom-color: var(--border);
  background: rgba(139,26,26,0.05);
}

.tree-gen-header:hover { background: rgba(139,26,26,0.07); }

/* Hide default <details> marker in all browsers */
.tree-gen-header::-webkit-details-marker { display: none; }
.tree-gen-header::marker { display: none; }

.tree-gen-num {
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.tree-gen-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-1);
  flex: 1;
}

.tree-gen-count {
  font-size: 0.75rem;
  color: var(--text-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 2px 10px;
  flex-shrink: 0;
}

.tree-gen-chevron {
  font-size: 0.7rem;
  color: var(--text-3);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.tree-generation[open] .tree-gen-chevron {
  transform: rotate(180deg);
}

/* Generation body */
.tree-gen-body {
  padding: 20px;
}

/* Members row */
.tree-gen-members {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

/* Individual member card — horizontal layout */
.tree-member {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 7px 14px 7px 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.15s, transform 0.12s, border-color 0.15s;
  text-align: left;
  min-width: 155px;
}

.tree-member:hover {
  border-color: var(--red);
  box-shadow: 0 3px 12px rgba(139,26,26,0.12);
  transform: translateY(-1px);
}

.tree-member-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  flex-shrink: 0;
}

.tree-member--female .tree-member-avatar { background: #b07d2a; }
.tree-member--placeholder .tree-member-avatar { background: #ccc; color: #888; }

.tree-member-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tree-member-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.tree-member--placeholder .tree-member-name { color: #aaa; font-style: italic; font-weight: 400; }

.tree-member-role {
  font-size: 0.68rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tree-member-dates {
  font-size: 0.68rem;
  color: var(--text-3);
}

/* Couple card — pair side by side */
.tree-couple {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.15s, border-color 0.15s;
  overflow: hidden;
}

.tree-couple:hover {
  border-color: var(--red);
  box-shadow: 0 3px 12px rgba(139,26,26,0.12);
}

.tree-couple .tree-member {
  border: none;
  box-shadow: none;
  border-radius: 0;
  min-width: 140px;
  padding: 7px 12px 7px 8px;
}

.tree-couple .tree-member:hover {
  border: none;
  box-shadow: none;
  transform: none;
}

.tree-couple-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--red);
  opacity: 0.7;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: rgba(139,26,26,0.03);
  min-height: 100%;
}

/* Branch groups */
.tree-branches {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.tree-branch {
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--surface);
  overflow: hidden;
}

.tree-branch-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(139,26,26,0.04);
  border-bottom: 1px solid var(--border);
}

.tree-branch-parents {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-1);
  flex: 1;
}

.tree-branch-count {
  font-size: 0.72rem;
  color: var(--text-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 1px 9px;
}

.tree-branch .tree-gen-members {
  padding: 12px 14px;
  gap: 7px;
}

/* Legend */
.family-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
  background: var(--cream, #FFF8EE);
  border: 1px solid var(--cream-dark, #e8d5b0);
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--text-mid, #8C7D68);
  margin-top: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Notable Members */
.notable-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.notable-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white, #fff);
  border: 1px solid var(--border, #E8E0D4);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.notable-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--red, #8B1A1A);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(139,26,26,0.3);
}

.notable-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark, #1A1208);
  margin-bottom: 3px;
}

.notable-role {
  font-size: 0.78rem;
  color: var(--gold, #B07D2A);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.notable-desc {
  font-size: 0.83rem;
  color: var(--text-mid, #8C7D68);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .family-banner-inner { flex-direction: column; text-align: center; gap: 12px; }
  .notable-grid { grid-template-columns: 1fr; }
  .tree-gen-header { padding: 12px 14px; gap: 8px; }
  .tree-gen-title { font-size: 0.85rem; }
  .tree-gen-body { padding: 14px 12px; }
  .tree-member { min-width: 130px; }
  .tree-member-name { max-width: 120px; }
  .tree-couple .tree-member { min-width: 120px; }
}

/* ===== Home Page Hero ===== */
.home-hero {
  position: relative;
  min-height: 100vh;
  background: url('hero-temple.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,5,5,0.55) 0%, rgba(20,5,5,0.75) 60%, rgba(20,5,5,0.9) 100%);
}

.home-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 780px;
  padding: 40px 24px;
}

.home-hero-om {
  font-size: 2.8rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

.home-hero-content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  color: #f5d98a;
  text-shadow: 1px 2px 12px rgba(0,0,0,0.7);
  margin-bottom: 18px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.home-hero-content p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta-primary {
  padding: 14px 36px;
  background: linear-gradient(135deg, #8B1A1A, #C8860A);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(139,26,26,0.5);
  letter-spacing: 0.02em;
}

.hero-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(139,26,26,0.6);
}

.hero-cta-secondary {
  padding: 14px 36px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.65);
  border-radius: 50px;
  font-family: Georgia, serif;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.hero-cta-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.home-hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===== Quick Stats Strip ===== */
.quick-stats {
  background: linear-gradient(135deg, #8B1A1A 0%, #6B1212 50%, #C8860A 100%);
  padding: 28px 16px;
}

.quick-stats-inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-item {
  color: #fff;
  padding: 8px 0;
}

.stat-value {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: bold;
  color: #f5d98a;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===== Home Navigation Cards ===== */
.home-cards-section {
  padding: 48px 0 40px;
  background: var(--bg);
}

.home-nav-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-nav-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text-1);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: block;
}

.home-nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(139,26,26,0.14);
  border-color: var(--gold);
}

.home-nav-card-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 14px;
}

.home-nav-card-title {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--red);
  margin-bottom: 8px;
}

.home-nav-card-desc {
  font-size: 0.83rem;
  color: var(--text-3);
  line-height: 1.55;
}

@media (max-width: 800px) {
  .home-nav-cards { grid-template-columns: repeat(2, 1fr); }
  .quick-stats-inner { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

@media (max-width: 500px) {
  .home-nav-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .home-nav-card  { padding: 20px 14px; }
  .quick-stats-inner { grid-template-columns: 1fr; gap: 12px; }
  .stat-value { font-size: 1.6rem; }
}

/* ===== Family Directory ===== */
.dir-search-wrap {
  margin-bottom: 24px;
}

.dir-search-input {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--text-1);
  outline: none;
  box-sizing: border-box;
}

.dir-search-input:focus { border-color: var(--red); }

.dir-gen-group {
  margin-bottom: 28px;
}

.dir-gen-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-1);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border);
}

.dir-gen-count {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 2px 9px;
}

.dir-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.dir-member-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
}

.dir-member-card.dir-spouse {
  border-style: dashed;
  opacity: 0.85;
}

.dir-member-info { flex: 1; min-width: 0; }

.dir-member-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dir-member-role {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 600;
}

.dir-member-branch {
  font-size: 0.73rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .dir-members { grid-template-columns: 1fr; }
}

/* ===== Public Bookings Section ===== */
.bookings-section { background: var(--bg); }

.bookings-wrap {
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}

.bookings-count {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 2px 10px;
}

/* Column layout — same grid for header and rows */
.bookings-table-head,
.booking-row {
  display: grid;
  grid-template-columns: 1.8fr 2fr 1.2fr 1.2fr;
  align-items: center;
  gap: 0;
}

/* 3-column layout for donations table */
#donations-wrap .bookings-table-head,
.donation-row {
  grid-template-columns: 2fr 1.4fr 1.4fr;
}

.bookings-table-head {
  background: linear-gradient(135deg, var(--red), #a02020);
  padding: 12px 20px;
}

.bookings-table-head .bt-col {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Data rows */
.booking-row {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.12s;
}

.booking-row:last-child { border-bottom: none; }
.booking-row:nth-child(even) { background: #fefcf8; }
.booking-row:hover { background: rgba(139,26,26,0.04); }

/* Column styles */
.bt-col {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
  min-width: 0;
  font-size: 0.875rem;
  color: var(--text-1);
}

.bt-name { font-weight: 600; }
.bt-pooja { color: var(--text-2); }
.bt-star  { color: var(--text-3); font-size: 0.82rem; }
.bt-date  { color: var(--text-3); font-size: 0.82rem; font-variant-numeric: tabular-nums; }

/* Avatar circle */
.booking-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #c0392b);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-name-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-pooja-badge {
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Empty / loading states */
.bookings-empty,
.bookings-loading {
  padding: 32px 20px;
  text-align: center;
  color: var(--text-3);
  font-size: 0.9rem;
  background: var(--surface);
}

/* Responsive: stack on small screens */
@media (max-width: 640px) {
  .bookings-table-head { display: none; }
  .booking-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 2px 10px;
    padding: 12px 16px;
  }
  .bt-name  { grid-column: 1 / 2; grid-row: 1; }
  .bt-pooja { grid-column: 2 / 3; grid-row: 1; font-weight: 600; color: var(--text-1); }
  .bt-star  { grid-column: 2 / 3; grid-row: 2; font-size: 0.78rem; }
  .bt-date  { display: none; }
}

/* ===== Name Autocomplete Suggest Dropdown ===== */
.name-suggest-wrap {
  position: relative;
}
.name-suggest-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--surface);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-sm);
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  max-height: 220px;
  overflow-y: auto;
  list-style: none;
  padding: 4px 0;
  margin: 0;
}
.name-suggest-list.active {
  display: block;
}
.name-suggest-item {
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.name-suggest-item:last-child { border-bottom: none; }
.name-suggest-item:hover,
.name-suggest-item:focus { background: #fdf3f0; }
.suggest-star {
  color: var(--text-3);
  font-size: 0.8rem;
}
.suggest-autofill-note {
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 3px;
  display: block;
}

/* ============================================================
   Daily Lamp Offering — Calendar Picker (light mode)
   ============================================================ */
.lamp-cal-group { margin-top: 2px; }
.lamp-calendar {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  user-select: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.lamp-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #8B1A1A;
}
.lamp-cal-nav-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 8px;
  border-radius: 4px;
  transition: background 0.15s;
}
.lamp-cal-nav-btn:hover:not(:disabled) { background: rgba(255,255,255,0.2); }
.lamp-cal-nav-btn:disabled { opacity: 0.35; cursor: default; }
.lamp-cal-month-label {
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.5px;
}
.lamp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  padding: 10px 10px 12px;
  background: #fff;
}
.lamp-cal-dow {
  text-align: center;
  font-size: 0.71rem;
  font-weight: 700;
  color: #8B1A1A;
  padding: 4px 0 8px;
  letter-spacing: 0.4px;
}
.lamp-cal-day {
  text-align: center;
  font-size: 0.88rem;
  padding: 8px 3px;
  border-radius: 7px;
  cursor: pointer;
  color: #1a1208;
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
  margin: 2px;
  line-height: 1.2;
}
.lamp-cal-day:hover:not(.booked):not(.past):not(.empty) {
  background: #fde8d0;
  color: #8B1A1A;
}
.lamp-cal-day.selected {
  background: #8B1A1A;
  color: #fff;
  font-weight: 700;
}
.lamp-cal-day.booked {
  background: #fdeaea;
  color: #c0524d;
  cursor: not-allowed;
  font-size: 0.72rem;
  line-height: 1.1;
  text-decoration: line-through;
}
.lamp-cal-day.past {
  color: #bbb;
  cursor: not-allowed;
}
.lamp-cal-day.empty { cursor: default; }
.lamp-cal-selected {
  font-size: 0.84rem;
  color: #8B1A1A;
  margin-top: 8px;
  min-height: 18px;
  font-weight: 600;
}
