/*
 * AstroBioRhythm - Enhanced Astronomical Theme CSS
 * 
 * DEPLOYMENT REQUIREMENTS:
 * - Upload this file to css/ folder on web server
 * - Ensure proper MIME type for CSS files (text/css)
 * - Enable gzip compression for better performance
 * 
 * WEB SERVER CONFIGURATION:
 * - See web-server-config.js for Apache/Nginx settings
 * - HTTPS recommended for secure operation
 * - Client-side processing, no server-side dependencies
 */

/* Enhanced Astronomical Theme with Visual Effects */
:root {
  --primary-color: #1a0b3d;
  --secondary-color: #2d1b69;
  --accent-color: #4c3baf;
  --gold-accent: #ffd700;
  --silver-accent: #c0c0c0;
  --cosmic-purple: #6a0dad;
  --nebula-blue: #4169e1;
  --star-white: #ffffff;
  --dark-space: #0a0a0a;
  --gradient-cosmic: linear-gradient(135deg, #1a0b3d 0%, #2d1b69 50%, #4c3baf 100%);
  --gradient-nebula: linear-gradient(45deg, #6a0dad 0%, #4169e1 50%, #9370db 100%);
  --gradient-aurora: linear-gradient(90deg, #00ff87 0%, #60efff 50%, #ff6ec7 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Screen reader only content for SEO */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--dark-space);
  color: var(--star-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated Cosmic Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(106, 13, 173, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(65, 105, 225, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(147, 112, 219, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, #1a0b3d 0%, #2d1b69 50%, #4c3baf 100%);
  z-index: -2;
  animation: cosmicShift 20s ease-in-out infinite;
}

/* Floating Stars Animation */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.stars::before,
.stars::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--star-white);
  border-radius: 50%;
  box-shadow: 
    25px 5px #fff, 45px 15px #fff, 75px 25px #fff,
    105px 35px #fff, 135px 45px #fff, 165px 55px #fff,
    195px 65px #fff, 225px 75px #fff, 255px 85px #fff,
    285px 95px #fff, 315px 105px #fff, 345px 115px #fff,
    375px 125px #fff, 405px 135px #fff, 435px 145px #fff,
    465px 155px #fff, 495px 165px #fff, 525px 175px #fff,
    555px 185px #fff, 585px 195px #fff, 615px 205px #fff,
    645px 215px #fff, 675px 225px #fff, 705px 235px #fff,
    735px 245px #fff, 765px 255px #fff, 795px 265px #fff,
    825px 275px #fff, 855px 285px #fff, 885px 295px #fff;
  animation: starsTwinkle 3s linear infinite;
}

.stars::after {
  width: 1px;
  height: 1px;
  animation-delay: 2s;
  box-shadow: 
    30px 10px #fff, 60px 30px #fff, 90px 50px #fff,
    120px 70px #fff, 150px 90px #fff, 180px 110px #fff,
    210px 130px #fff, 240px 150px #fff, 270px 170px #fff,
    300px 190px #fff, 330px 210px #fff, 360px 230px #fff,
    390px 250px #fff, 420px 270px #fff, 450px 290px #fff,
    480px 310px #fff, 510px 330px #fff, 540px 350px #fff,
    570px 370px #fff, 600px 390px #fff, 630px 410px #fff,
    660px 430px #fff, 690px 450px #fff, 720px 470px #fff,
    750px 490px #fff, 780px 510px #fff, 810px 530px #fff,
    840px 550px #fff, 870px 570px #fff, 900px 590px #fff;
}

@keyframes cosmicShift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  33% { transform: scale(1.1) rotate(5deg); }
  66% { transform: scale(0.9) rotate(-3deg); }
}

@keyframes starsTwinkle {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Constellation Patterns */
.constellation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.star-point {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-accent);
  animation: constellationTwinkle 4s ease-in-out infinite;
}

.star-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
  opacity: 0.4;
  animation: constellationPulse 6s ease-in-out infinite;
}

.constellation-1 .star-point:nth-child(1) { animation-delay: 0s; }
.constellation-1 .star-point:nth-child(2) { animation-delay: 1s; }
.constellation-1 .star-point:nth-child(3) { animation-delay: 2s; }

.constellation-2 .star-point:nth-child(1) { animation-delay: 1.5s; }
.constellation-2 .star-point:nth-child(2) { animation-delay: 2.5s; }
.constellation-2 .star-point:nth-child(3) { animation-delay: 3.5s; }

@keyframes constellationTwinkle {
  0%, 100% { 
    opacity: 0.6; 
    transform: scale(1);
    box-shadow: 0 0 10px var(--gold-accent);
  }
  50% { 
    opacity: 1; 
    transform: scale(1.5);
    box-shadow: 0 0 20px var(--gold-accent);
  }
}

@keyframes constellationPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* Enhanced Header with Cosmic Effects and Mystical Aura */
header {
  text-align: center;
  padding: 3rem 0;
  background: var(--gradient-cosmic);
  border-radius: 20px;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  animation: rotateHalo 10s linear infinite;
  z-index: 0;
}

header::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: mysticalPulse 4s ease-in-out infinite;
  z-index: 0;
  border-radius: 50%;
}

@keyframes mysticalPulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.3;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.6;
  }
}

@keyframes rotateHalo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

header h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-aurora);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5)); }
  50% { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8)); }
}

header p {
  font-size: 1.3rem;
  color: var(--silver-accent);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

/* Enhanced Language Selector */
.language-selector {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.language-selector select {
  background: rgba(26, 11, 61, 0.9);
  color: var(--star-white);
  border: 2px solid var(--gold-accent);
  border-radius: 25px;
  padding: 8px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-width: 120px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.language-selector select:hover {
  background: rgba(106, 13, 173, 0.9);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  transform: scale(1.05);
}

.language-selector select:focus {
  outline: none;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* Enhanced Form Section */
.form-section {
  background: rgba(26, 11, 61, 0.8);
  padding: 2.5rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--gradient-aurora);
  animation: scanLine 3s ease-in-out infinite;
}

@keyframes scanLine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.form-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.form-description {
  text-align: center;
  color: var(--silver-accent);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--silver-accent);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  background: rgba(45, 27, 105, 0.6);
  border: 2px solid transparent;
  border-radius: 10px;
  color: var(--star-white);
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold-accent);
  background: rgba(45, 27, 105, 0.8);
  box-shadow: 
    0 0 20px rgba(255, 215, 0, 0.3),
    inset 0 1px 3px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.form-group input::placeholder {
  color: rgba(192, 192, 192, 0.6);
}

/* Autocomplete Suggestions Dropdown */
.input-container {
  position: relative;
}

.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(26, 11, 61, 0.95);
  border: 2px solid var(--accent-color);
  border-radius: 0 0 10px 10px;
  border-top: none;
  backdrop-filter: blur(15px);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 
    0 5px 25px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(76, 59, 175, 0.3);
  display: none;
}

.suggestion-item {
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(76, 59, 175, 0.2);
  color: var(--star-white);
  font-size: 0.95rem;
}

.suggestion-item:hover,
.suggestion-item.highlighted {
  background: rgba(76, 59, 175, 0.6);
  color: var(--gold-accent);
  transform: translateX(5px);
  border-left: 3px solid var(--gold-accent);
}

.suggestion-item:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

/* Custom scrollbar for suggestions */
.suggestions-dropdown::-webkit-scrollbar {
  width: 6px;
}

.suggestions-dropdown::-webkit-scrollbar-track {
  background: rgba(26, 11, 61, 0.3);
  border-radius: 3px;
}

.suggestions-dropdown::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

.suggestions-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--gold-accent);
}

/* Enhanced Submit Button with Cosmic Spinner */
.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--gradient-cosmic);
  color: var(--star-white);
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 215, 0, 0.3);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:active {
  transform: translateY(-1px);
}

.cosmic-spinner {
  position: relative;
  width: 30px;
  height: 30px;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-top: 2px solid var(--gold-accent);
  border-radius: 50%;
  animation: cosmicSpin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: var(--silver-accent);
  animation-delay: -0.3s;
  animation-duration: 1.5s;
}

.spinner-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-top-color: #ff6ec7;
  animation-delay: -0.6s;
  animation-duration: 2s;
}

@keyframes cosmicSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Send Report Button Styles */
.report-actions {
  margin-top: 25px;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.send-report-btn {
  padding: 12px 30px;
  background: linear-gradient(135deg, #4c3baf 0%, #6a0dad 50%, #4169e1 100%);
  color: var(--star-white);
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 8px 20px rgba(106, 13, 173, 0.4),
    0 0 15px rgba(106, 13, 173, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 45px;
  margin-bottom: 10px;
}

.send-report-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.send-report-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 30px rgba(106, 13, 173, 0.5),
    0 0 25px rgba(106, 13, 173, 0.3);
  background: linear-gradient(135deg, #5d4fc4 0%, #7b1fa2 50%, #5472d3 100%);
}

.send-report-btn:hover::before {
  left: 100%;
}

.send-report-btn:active {
  transform: translateY(-1px);
}

.send-report-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.email-spinner {
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: 10px;
}

.email-spinner .spinner-ring {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid var(--star-white);
  border-radius: 50%;
  animation: cosmicSpin 1s linear infinite;
}

.report-info {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
  font-style: italic;
}

/* Privacy Notice Styles */
.privacy-notice {
  background: linear-gradient(135deg, rgba(76, 59, 175, 0.1) 0%, rgba(45, 27, 105, 0.1) 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.privacy-notice:hover {
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.privacy-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 12px;
}

.privacy-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.privacy-header h4 {
  color: var(--gold-accent);
  margin: 0;
  font-size: 1.0rem;
  font-weight: 600;
}

.privacy-content {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.privacy-content p {
  margin-bottom: 15px;
  font-size: 0.85rem;
}

.privacy-points {
  display: grid;
  gap: 8px;
}

.privacy-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.privacy-bullet {
  color: var(--gold-accent);
  font-weight: bold;
  font-size: 1rem;
  min-width: 16px;
}

.privacy-point span:last-child {
  color: rgba(255, 255, 255, 0.85);
}

/* Mobile responsiveness for privacy notice */
@media (max-width: 768px) {
  .privacy-notice {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .privacy-header {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .privacy-points {
    gap: 10px;
  }
  
  .privacy-point {
    gap: 8px;
  }
}

/* Enhanced Results Section */
.results-section {
  background: rgba(26, 11, 61, 0.9);
  padding: 2.5rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--gold-accent);
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

/* Enhanced Profile Summary */
.profile-summary {
  margin-bottom: 2rem;
}

.profile-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gradient-nebula);
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.profile-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-aurora);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.profile-header h3 {
  font-size: 1.8rem;
  color: var(--star-white);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.profile-header p {
  color: var(--silver-accent);
  font-size: 1rem;
}

.zodiac-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gold-accent);
  box-shadow: 
    0 0 25px rgba(255, 215, 0, 0.5),
    inset 0 2px 5px rgba(0, 0, 0, 0.2);
  animation: zodiacGlow 3s ease-in-out infinite;
}

@keyframes zodiacGlow {
  0%, 100% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.8), inset 0 2px 5px rgba(0, 0, 0, 0.2); }
}

/* Enhanced Astro Grid with Constellation Effects */
.astro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.astro-card {
  background: rgba(45, 27, 105, 0.7);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.astro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-aurora);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.astro-card::after {
  content: "✨";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  opacity: 0;
  transform: rotate(0deg) scale(0);
  transition: all 0.3s ease;
}

.astro-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.3),
    0 0 25px rgba(255, 215, 0, 0.2);
  border-color: var(--gold-accent);
}

.astro-card:hover::before {
  transform: scaleX(1);
}

.astro-card:hover::after {
  opacity: 1;
  transform: rotate(360deg) scale(1);
}

/* Zodiac Sign Specific Colors */
.astro-card.sun-sign {
  border-left: 4px solid #ff6b35;
}

.astro-card.moon-sign {
  border-left: 4px solid #74b9ff;
}

.astro-card.rising-sign {
  border-left: 4px solid #a29bfe;
}

.astro-card h4 {
  font-size: 1.3rem;
  color: var(--gold-accent);
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.sign-info {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--star-white);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.zodiac-symbol {
  font-size: 2rem;
  color: var(--gold-accent);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  animation: symbolGlow 3s ease-in-out infinite;
}

@keyframes symbolGlow {
  0%, 100% { 
    transform: scale(1);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  }
  50% { 
    transform: scale(1.1);
    text-shadow: 0 0 25px rgba(255, 215, 0, 1);
  }
}

.zodiac-story {
  color: var(--silver-accent);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Enhanced Daily Horoscope */
.daily-horoscope {
  margin-bottom: 2rem;
}

.daily-horoscope h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--gold-accent);
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.horoscope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.horoscope-card {
  background: var(--gradient-nebula);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.horoscope-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.horoscope-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 215, 0, 0.3);
}

.horoscope-card:hover::after {
  width: 100%;
  height: 100%;
}

.horoscope-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--star-white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.horoscope-card p {
  color: var(--silver-accent);
  line-height: 1.5;
}

/* Enhanced Biorhythm Section */
.biorhythm-section {
  margin-bottom: 2rem;
}

.biorhythm-section h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--gold-accent);
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.bio-card {
  background: rgba(45, 27, 105, 0.7);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bio-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.05), transparent);
  animation: rotateGlow 8s linear infinite;
  z-index: 0;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.bio-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.3),
    0 0 25px rgba(255, 215, 0, 0.2);
  border-color: var(--gold-accent);
}

.bio-card h4 {
  font-size: 1.2rem;
  color: var(--gold-accent);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.bio-meter {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  height: 20px;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.bio-bar {
  height: 100%;
  border-radius: 20px;
  transition: all 0.8s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, 
    var(--cosmic-purple) 0%, 
    var(--nebula-blue) 50%, 
    var(--gold-accent) 100%);
}

.bio-card.physical .bio-bar {
  background: linear-gradient(90deg, 
    #ff4757 0%, 
    #ff6b6b 50%, 
    #ff9f43 100%);
}

.bio-card.emotional .bio-bar {
  background: linear-gradient(90deg, 
    #7bed9f 0%, 
    #70a1ff 50%, 
    #a4b0be 100%);
}

.bio-card.intellectual .bio-bar {
  background: linear-gradient(90deg, 
    #5f27cd 0%, 
    #00d2d3 50%, 
    #ff9ff3 100%);
}

.bio-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

/* Magical Particles Effect */
.bio-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.3) 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(106, 13, 173, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(65, 105, 225, 0.3) 1.5px, transparent 1.5px);
  background-size: 50px 50px, 30px 30px, 40px 40px;
  animation: particleFloat 15s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.bio-card:hover::after {
  opacity: 1;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(120deg); }
  66% { transform: translateY(5px) rotate(240deg); }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.bio-card p {
  color: var(--silver-accent);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* Enhanced Biorhythm Story */
.biorhythm-story {
  background: rgba(106, 13, 173, 0.2);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.biorhythm-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(106, 13, 173, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.biorhythm-story h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.story-content {
  position: relative;
  z-index: 1;
}

.story-content p {
  color: var(--silver-accent);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.story-content strong {
  color: var(--gold-accent);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Enhanced Chart Containers */
.chart-container {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.chart-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
  z-index: 0;
}

.chart-container canvas {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* Enhanced Natal Chart */
.natal-chart {
  margin-bottom: 2rem;
}

.natal-chart h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--gold-accent);
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.aspects-list {
  background: rgba(45, 27, 105, 0.4);
  padding: 1.5rem;
  border-radius: 15px;
  margin-top: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

/* Enhanced Footer */
footer {
  background: var(--gradient-cosmic);
  border-radius: 20px;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.3);
  padding: 2rem 0 1rem 0;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--gradient-aurora);
  animation: footerScan 4s ease-in-out infinite;
}

@keyframes footerScan {
  0%, 50% { left: -100%; }
  100% { left: 100%; }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-section h3 {
  color: var(--gold-accent);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.footer-section h4 {
  color: var(--silver-accent);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.footer-section p {
  color: var(--star-white);
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  color: var(--star-white);
  font-size: 0.85rem;
  padding: 0.3rem 0;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-section ul li:hover {
  opacity: 1;
  color: var(--gold-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(192, 192, 192, 0.2);
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  color: var(--silver-accent);
  font-size: 0.85rem;
  margin: 0.5rem 0;
}

.footer-disclaimer {
  font-size: 0.75rem !important;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
}

/* Enhanced Zodiac Characteristics */
.zodiac-characteristics h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--gold-accent);
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.characteristics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.characteristic-card {
  background: var(--gradient-nebula);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.characteristic-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-aurora);
  border-radius: 15px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.characteristic-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 215, 0, 0.3);
}

.characteristic-card:hover::before {
  opacity: 1;
}

.characteristic-card h4 {
  font-size: 1.3rem;
  color: var(--star-white);
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.characteristic-card p {
  color: var(--silver-accent);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }
  
  header h1 {
    font-size: 2.5rem;
  }
  
  .language-selector {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
  }
  
  .language-selector select {
    padding: 6px 12px;
    font-size: 0.85rem;
    min-width: 100px;
    border-radius: 20px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  .profile-title {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .astro-grid,
  .horoscope-grid,
  .bio-grid,
  .characteristics-grid {
    grid-template-columns: 1fr;
  }
  
  .form-section,
  .results-section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .language-selector {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
  }
  
  .language-selector select {
    padding: 5px 10px;
    font-size: 0.8rem;
    min-width: 90px;
    border-radius: 18px;
  }
}

/* Custom Date Picker Card */
.date-picker-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-date-picker {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  max-width: 90vw;
  background: rgba(26, 11, 61, 0.95);
  border: 2px solid var(--gold-accent);
  border-radius: 15px;
  backdrop-filter: blur(15px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 215, 0, 0.2);
  z-index: 1000;
  display: none;
  animation: datePickerSlideIn 0.3s ease-out;
}

.custom-date-picker.show {
  display: block;
}

/* Modal overlay */
.date-picker-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: none;
  animation: overlayFadeIn 0.3s ease-out;
}

.date-picker-overlay.show {
  display: block;
}

@keyframes datePickerSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.date-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  background: var(--gradient-cosmic);
  border-radius: 13px 13px 0 0;
}

.date-nav-btn {
  background: none;
  border: none;
  color: var(--star-white);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-nav-btn:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: scale(1.1);
}

.month-year-display {
  color: var(--gold-accent);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  min-width: 140px;
}

.year-slider-container {
  margin: 12px 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.year-slider-label {
  color: var(--silver-accent);
  font-size: 0.8rem;
  margin-bottom: 6px;
  text-align: center;
  display: block;
}

.year-slider {
  width: 100%;
  height: 6px;
  background: rgba(45, 27, 105, 0.6);
  border-radius: 3px;
  outline: none;
  appearance: none;
  position: relative;
  cursor: pointer;
}

.year-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--gradient-aurora);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
}

.year-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.year-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--gradient-aurora);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
}

.year-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.year-slider::-moz-range-track {
  width: 100%;
  height: 6px;
  background: rgba(45, 27, 105, 0.6);
  border-radius: 3px;
  border: none;
}

.year-range-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(192, 192, 192, 0.6);
  margin-top: 4px;
}

/* ===============================
   Custom Time Picker Styling
   =============================== */

.time-input-wrapper {
  position: relative;
}

.custom-time-picker {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 11, 61, 0.95);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(106, 13, 173, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  width: 280px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-time-picker.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.time-picker-header {
  padding: 12px 16px 6px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.time-picker-header h4 {
  color: var(--gold-accent);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.clock-container {
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clock-face {
  position: relative;
  width: 160px;
  height: 160px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  background: 
    radial-gradient(circle at center, rgba(106, 13, 173, 0.4) 0%, transparent 70%),
    conic-gradient(from 0deg, rgba(255, 215, 0, 0.1), rgba(65, 105, 225, 0.1), rgba(255, 215, 0, 0.1));
  box-shadow: 
    inset 0 0 15px rgba(106, 13, 173, 0.3),
    0 0 20px rgba(255, 215, 0, 0.2);
}

.clock-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
}

.clock-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.hour-hand {
  width: 3px;
  height: 45px;
  background: linear-gradient(to top, var(--gold-accent), rgba(255, 215, 0, 0.7));
  margin-left: -1.5px;
  margin-top: -45px;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
}

.minute-hand {
  width: 2px;
  height: 60px;
  background: linear-gradient(to top, var(--silver-accent), rgba(192, 192, 192, 0.7));
  margin-left: -1px;
  margin-top: -60px;
  box-shadow: 0 0 3px rgba(192, 192, 192, 0.5);
}

.hour-markers {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hour-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
  user-select: none;
}

.hour-marker:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: rotate(0deg) translateY(-70px) rotate(0deg) scale(1.1) !important;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

.time-display {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.time-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.time-input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.time-input-group label {
  color: var(--silver-accent);
  font-size: 0.75rem;
  font-weight: 500;
}

.time-number-input {
  width: 50px;
  padding: 6px 8px;
  background: rgba(45, 27, 105, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 6px;
  color: var(--star-white);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.time-number-input:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
  background: rgba(45, 27, 105, 0.8);
}

#ampmSelect {
  width: 60px;
  cursor: pointer;
}

.time-separator {
  color: var(--gold-accent);
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 2px;
}

.time-picker-footer {
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.time-picker-btn {
  padding: 6px 12px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  background: rgba(45, 27, 105, 0.6);
  color: var(--star-white);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  font-weight: 500;
}

.time-picker-btn:hover {
  border-color: var(--gold-accent);
  background: rgba(45, 27, 105, 0.8);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.time-picker-btn.primary {
  background: linear-gradient(135deg, var(--gold-accent), #e6c200);
  color: var(--primary-color);
  border-color: var(--gold-accent);
}

.time-picker-btn.primary:hover {
  background: linear-gradient(135deg, #e6c200, var(--gold-accent));
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.date-picker-calendar {
  padding: 16px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.weekday {
  text-align: center;
  font-size: 0.8rem;
  color: var(--silver-accent);
  font-weight: 600;
  padding: 6px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  background: none;
  border: 1px solid transparent;
  color: var(--star-white);
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  position: relative;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--gold-accent);
  transform: scale(1.05);
}

.calendar-day.other-month {
  color: rgba(192, 192, 192, 0.4);
  cursor: default;
}

.calendar-day.other-month:hover {
  background: none;
  border-color: transparent;
  transform: none;
}

.calendar-day.selected {
  background: var(--gradient-aurora);
  border-color: var(--gold-accent);
  color: var(--dark-space);
  font-weight: 600;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.calendar-day.today {
  border-color: var(--nebula-blue);
  background: rgba(65, 105, 225, 0.2);
}

.date-picker-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.date-picker-btn {
  padding: 6px 12px;
  border: 1px solid var(--gold-accent);
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold-accent);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  font-weight: 500;
  flex: 1;
}

.date-picker-btn:hover {
  background: var(--gold-accent);
  color: var(--dark-space);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.date-picker-btn.primary {
  background: var(--gradient-cosmic);
  border-color: var(--cosmic-purple);
  color: var(--star-white);
}

.date-picker-btn.primary:hover {
  background: var(--gradient-aurora);
  border-color: var(--gold-accent);
  color: var(--dark-space);
}

/* Hide default date input arrow on webkit browsers */
input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
  opacity: 0;
}

/* Add custom calendar icon */
.date-input-wrapper {
  position: relative;
}

.date-input-wrapper::after {
  content: "📅";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1.1rem;
  color: var(--gold-accent);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .custom-date-picker {
    width: 280px;
  }
  
  .date-picker-header {
    padding: 10px 12px;
  }
  
  .date-picker-calendar {
    padding: 12px;
  }
  
  .calendar-day {
    min-height: 28px;
    font-size: 0.8rem;
  }
}
