:root {
  /* Gen Z Dreamy Midnight Aura Palette */
  --bg-base: #08060e;
  --bg-surface: rgba(18, 14, 28, 0.75);
  --bg-card: rgba(22, 18, 36, 0.85);
  --bg-card-hover: rgba(30, 24, 50, 0.95);
  --bg-input: rgba(14, 11, 22, 0.9);

  --border-glass: rgba(255, 255, 255, 0.09);
  --border-glass-hover: rgba(236, 72, 153, 0.4);
  --border-neon: rgba(168, 85, 247, 0.5);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Vibrant Gen Z Electric Gradients */
  --neon-pink: #ec4899;
  --neon-purple: #a855f7;
  --neon-rose: #f43f5e;
  --neon-cyan: #06b6d4;
  --neon-emerald: #10b981;
  --neon-amber: #f59e0b;

  --grad-primary: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #8b5cf6 100%);
  --grad-purple: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  --grad-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --grad-amber: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-script: 'Alex Brush', cursive;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  --shadow-neon: 0 10px 30px -5px rgba(236, 72, 153, 0.35);
  --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.06);
}

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

body {
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(at 15% 15%, rgba(236, 72, 153, 0.16) 0px, transparent 55%),
    radial-gradient(at 85% 20%, rgba(139, 92, 246, 0.18) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(6, 182, 212, 0.12) 0px, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Glass Header */
.app-header {
  background: rgba(10, 8, 18, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-heart {
  width: 46px;
  height: 46px;
  background: var(--grad-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.45);
  animation: pulseHeart 3s infinite ease-in-out;
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.couple-highlight {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.brand-text p {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Main Container */
.main-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px;
}

/* Gen Z Hero Banner (Aura Bento Card) */
.hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15), transparent 70%);
  pointer-events: none;
}

.badge-pill {
  background: rgba(236, 72, 153, 0.14);
  border: 1px solid rgba(236, 72, 153, 0.35);
  color: #f472b6;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-quote {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 580px;
}

/* Gen Z Glowing Countdown Grid */
.countdown-grid {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cd-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 82px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, border-color 0.2s;
}

.cd-box:hover {
  transform: translateY(-2px);
  border-color: var(--neon-pink);
}

.cd-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cd-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.cd-colon {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--neon-pink);
  margin-top: -12px;
}

/* Glowing Circular Progress Ring */
.progress-ring-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring {
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 16px rgba(236, 72, 153, 0.45));
}

.ring-bg {
  stroke: rgba(255, 255, 255, 0.07);
}

.ring-fill {
  stroke: url(#neonGradient);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-inner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ring-percent {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.ring-sub {
  font-size: 11.5px;
  font-weight: 800;
  color: #f472b6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.stats-summary-pills {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.stat-pill.completed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-pill.in-progress {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.stat-pill.pending {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Nav Tabs */
.nav-tabs-bar {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 28px;
  overflow-x: auto;
}

.nav-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  margin-bottom: -1px;
}

.nav-tab:hover {
  color: #ffffff;
}

.nav-tab.active {
  color: #f472b6;
  border-bottom-color: var(--neon-pink);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

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

/* Cards & Bento Grid */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}

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

.card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.card-header p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 4px;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .grid-2col {
    grid-template-columns: 1fr;
  }
}

/* Category Filter Pills */
.filter-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--neon-pink);
  color: #ffffff;
}

.filter-btn.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
}

/* Checklist Items */
.checklist-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.check-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s;
}

.check-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(236, 72, 153, 0.3);
  transform: translateY(-1px);
}

.check-item.completed {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.2);
  opacity: 0.75;
}

.check-item.completed .item-title {
  text-decoration: line-through;
  color: var(--text-dim);
}

.check-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}

.status-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  color: #ffffff;
  margin-top: 2px;
  transition: all 0.2s;
}

.check-item.completed .status-toggle-btn {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.check-item.in-progress .status-toggle-btn {
  background: rgba(168, 85, 247, 0.25);
  border-color: #a855f7;
  color: #c084fc;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.item-cat-badge {
  font-size: 11px;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.item-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.item-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.check-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.item-cost {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  color: #38bdf8;
}

.item-actions {
  display: flex;
  gap: 6px;
}

/* Category Progress Bars */
.category-bars-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.cat-bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.cat-bar-bg {
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  height: 12px;
  overflow: hidden;
}

.cat-bar-fill {
  background: var(--grad-primary);
  height: 100%;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Timeline Steps */
.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.t-step {
  display: flex;
  gap: 14px;
}

.t-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.4);
}

.t-content strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
}

.t-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Budget Cards */
.budget-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .budget-summary-grid {
    grid-template-columns: 1fr;
  }
}

.b-stat-card {
  text-align: center;
  padding: 26px 20px;
}

.b-stat-title {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.b-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  margin: 6px 0 4px;
}

.b-stat-value.gold {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.b-stat-value.green {
  color: #34d399;
}

.b-stat-sub {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-top: 16px;
}

.data-table th {
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
}

.data-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 14px;
  color: #ffffff;
}

/* Buttons */
.btn {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-gold {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: var(--shadow-neon);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(236, 72, 153, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-outline:hover {
  border-color: var(--neon-pink);
  background: rgba(236, 72, 153, 0.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
}

/* Forms & Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

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

label {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
}

input[type="text"],
input[type="number"],
select,
textarea {
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--neon-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.25);
}

/* Modals */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 2, 8, 0.78);
  backdrop-filter: blur(12px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-card {
  background: #130f21;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  max-width: 540px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #94a3b8;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

/* Invite Generator Box */
.invite-result-box {
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 20px;
}

.link-copy-row {
  display: flex;
  gap: 8px;
}

.btn-group-wa {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Wishes List */
.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  margin-top: 18px;
}

.wish-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.wish-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wish-name {
  font-weight: 800;
  color: #ffffff;
  font-size: 14px;
}

.wish-attendance {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

.wish-attendance.attending {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.wish-attendance.declined {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.wish-message {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #181429;
  border: 1px solid var(--neon-pink);
  color: #ffffff;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.25s ease-out;
}


/* Mahar Milestone Banner & Progress */
.mahar-milestone-banner {
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.mahar-milestone-banner.locked {
  background: rgba(244, 63, 94, 0.08);
  border: 1.5px solid rgba(244, 63, 94, 0.3);
}

.mahar-milestone-banner.unlocked {
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
}

.m-banner-icon {
  font-size: 38px;
  line-height: 1;
}

.m-banner-text {
  flex: 1;
  min-width: 260px;
}

.m-banner-text h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.m-banner-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.mahar-progress-wrap {
  margin: 28px 0 16px;
  position: relative;
}

.mahar-bar-bg {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  height: 18px;
  overflow: hidden;
  position: relative;
}

.mahar-bar-fill {
  background: var(--grad-primary);
  height: 100%;
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.6);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mahar-milestone-points {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.m-point {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

/* ==================================================== */
/* MAHAR CHECKLIST INTEGRATION & QUICK CHIPS STYLES      */
/* ==================================================== */

.mahar-checklist-alert {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  animation: fadeIn 0.4s ease;
}

.mahar-checklist-alert.locked {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
}

.mahar-checklist-alert.unlocked {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 25px rgba(16, 185, 129, 0.18);
}

.mca-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.mca-icon {
  font-size: 28px;
  line-height: 1;
}

.mca-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.mca-text p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.4;
}

/* Mahar checklist item highlight */
.check-item.mahar-item {
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(236, 72, 153, 0.04));
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12);
}

.mahar-mini-progress-box {
  margin-top: 8px;
  width: 100%;
  max-width: 380px;
}

.mahar-mini-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 5px;
}

.mahar-mini-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #ec4899, #8b5cf6);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.mahar-mini-info {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: #fbbf24;
}

/* Locked items by Mahar requirement */
.check-item.locked-by-mahar {
  opacity: 0.78;
  border: 1px dashed rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.02);
}

.check-item.locked-by-mahar:hover {
  opacity: 0.95;
  border-color: rgba(244, 63, 94, 0.6);
}

.status-toggle-btn.btn-locked {
  background: rgba(244, 63, 94, 0.15) !important;
  color: #f43f5e !important;
  border-color: rgba(244, 63, 94, 0.5) !important;
  cursor: not-allowed;
}

.lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(244, 63, 94, 0.18);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.4);
  margin-left: 6px;
}

.unlock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
  margin-left: 6px;
}

/* Quick deposit chips inside modal */
.quick-deposit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn:hover {
  background: rgba(236, 72, 153, 0.2);
  border-color: rgba(236, 72, 153, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.chip-btn.chip-highlight {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.chip-btn.chip-highlight:hover {
  background: rgba(245, 158, 11, 0.3);
  border-color: #fbbf24;
  color: #fff;
}

/* ==================================================== */
/* JOINT SAVINGS & INCOME TRACKER STYLES                */
/* ==================================================== */

.contrib-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contrib-badge.groom {
  background: rgba(139, 92, 246, 0.18);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.45);
}

.contrib-badge.bride {
  background: rgba(236, 72, 153, 0.18);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.45);
}

.contrib-badge.gift {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.45);
}

/* Multi-Segment Stacked Progress Bar */
.savings-split-wrap {
  margin: 22px 0 16px;
}

.savings-split-bar {
  display: flex;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.bar-segment {
  height: 100%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.bar-segment.groom {
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

.bar-segment.bride {
  background: linear-gradient(90deg, #ec4899, #f43f5e);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.5);
}

.bar-segment.gift {
  background: linear-gradient(90deg, #f59e0b, #eab308);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.savings-legends {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  font-size: 12.5px;
}

.s-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-main);
}

.s-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.s-dot.groom { background: #8b5cf6; }
.s-dot.bride { background: #ec4899; }
.s-dot.gift { background: #f59e0b; }
.s-dot.remaining { background: rgba(255, 255, 255, 0.2); }

/* Contributor radio selection in modal */
.contrib-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.contrib-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.contrib-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.contrib-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.contrib-option.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: #a855f7;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.contrib-option.active.opt-bride {
  background: rgba(236, 72, 153, 0.15);
  border-color: #ec4899;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.3);
}

.contrib-option.active.opt-gift {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.opt-avatar {
  font-size: 22px;
  margin-bottom: 4px;
}

.opt-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.opt-role {
  font-size: 11px;
  color: var(--text-muted);
}
