/* Rebuilt styles.css - Cozy Midnight Plum & Rose Dream Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-dark-bg: #0c0714;
  --color-plum-mid: #160e24;
  --color-plum-deep: #08030c;
  --color-primary: #f43f5e; /* Rose-500 */
  --color-secondary: #c084fc; /* Purple-400 */
  --color-accent: #fef3c7; /* Gold/Cream */
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(135deg, var(--color-plum-mid) 0%, var(--color-dark-bg) 50%, var(--color-plum-deep) 100%);
  background-attachment: fixed;
  color: #f5f3f7;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(244, 63, 94, 0.05);
}
::-webkit-scrollbar-thumb {
  background: rgba(244, 63, 94, 0.35);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 63, 94, 0.55);
}

/* Ambient glow blobs - Cozy soft purple/rose night sky */
.bg-glow-rose {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.12) 0%, rgba(244, 63, 94, 0) 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  animation: float-slow 20s infinite alternate ease-in-out;
}

.bg-glow-lavender {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.12) 0%, rgba(192, 132, 252, 0) 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: float-slow-reverse 25s infinite alternate ease-in-out;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 30px) scale(1.06); }
}

@keyframes float-slow-reverse {
  0% { transform: translate(0, 0) scale(1.06); }
  100% { transform: translate(-50px, -30px) scale(0.94); }
}

/* Frosted Dark Glassmorphism Panels */
.glass-panel {
  background: rgba(26, 17, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(251, 113, 133, 0.16);
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(251, 113, 133, 0.03);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.glass-panel-hover:hover {
  border-color: rgba(251, 113, 133, 0.32);
  box-shadow: 0 14px 45px -8px rgba(251, 113, 133, 0.08);
}

/* Inputs styled for dark theme */
.glass-input {
  background: rgba(12, 6, 20, 0.6);
  border: 1.5px solid rgba(251, 113, 133, 0.2);
  color: #f5f3f7;
  transition: all 0.2s ease-in-out;
}

.glass-input:focus {
  outline: none;
  border-color: rgba(251, 113, 133, 0.6);
  background: rgba(12, 6, 20, 0.85);
  box-shadow: 0 0 12px rgba(251, 113, 133, 0.15);
}

/* Cycle Phase Highlights */
.phase-menstrual {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.5) !important;
}

.phase-follicular {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.5) !important;
}

.phase-ovulatory {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.2) 0%, rgba(244, 63, 94, 0.08) 100%);
  border: 2px solid rgba(251, 113, 133, 0.85) !important;
  box-shadow: 0 0 16px rgba(251, 113, 133, 0.3);
  animation: ovulate-pulse 2s infinite ease-in-out;
}

.phase-luteal {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.5) !important;
}

@keyframes ovulate-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(251, 113, 133, 0.2); }
  50% { box-shadow: 0 0 20px rgba(251, 113, 133, 0.45); }
}

.day-selected {
  position: relative;
}
.day-selected::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.day-today {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

/* Breathe Timer Guide Component */
.breathe-outer {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(251, 113, 133, 0.04);
  border: 1px solid rgba(251, 113, 133, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.breathe-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.35) 0%, rgba(244, 63, 94, 0.15) 100%);
  border: 1px solid rgba(244, 63, 94, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s ease-in-out, background 1s ease-in-out, border 1s ease-in-out;
  position: relative;
  z-index: 10;
}

/* Custom slider */
.timeline-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: 3.5px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  transition: transform 0.1s ease;
}
.timeline-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.timeline-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  transition: transform 0.1s ease;
}
.timeline-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

/* Name Explorer Favorites Grid Scroll */
.names-grid-height {
  max-height: 480px;
  overflow-y: auto;
}
