/* 🌟 Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');

@font-face {
  font-family: 'Modern King';
  src: url('../fonts/Modern King.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Root variables for dark theme */
:root {
  --primary: #4e9af1;
  --primary-hover: #3a77c9;
  --accent: #57c4c4;
  --card-bg: #fff;
  --input-bg: #f3f3f3;
  --text: #222;
  --bg: #f7f7f7;
  --nav-bg: #eaeaea;
  --footer-bg: #e0e0e0;
  --error: #cc4444;
  --error-light: #ff6666;
  --font-body: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Modern King', serif;
}

/* Dark theme overrides */
body.dark-mode {
  --primary: #4e9af1;
  --primary-hover: #3a77c9;
  --accent: #57c4c4;
  --card-bg: #222;
  --input-bg: #333;
  --text: #eee;
  --bg: #121212;
  --nav-bg: #1f1f1f;
  --footer-bg: #1a1a1a;
  --error: #cc4444;
  --error-light: #ff6666;
  --font-body: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Modern King', serif;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.3rem;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  /* 🔥 Background Image */
  background: url('../images/mentalwellness.png') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  z-index: 0;
}

/* 🔥 Overlay for tint */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.6); /* Light mode tint */
  z-index: -1; /* keeps it behind all content */
  transition: background-color 0.3s ease;
}

/* 🔥 Dark Mode Overlay */
body.dark-mode::before {
  background-color: rgba(0,0,0,0.6); /* Dark mode tint */
}

/* Header and Navigation */
header {
  background-color: var(--nav-bg);
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

nav h1 {
  font-size: 2rem;
  color: var(--primary);
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  gap: 1.5rem;
}

nav ul li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: var(--primary);
  color: #fff;
}

#theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  transition: color 0.3s ease;
}

#theme-toggle:hover {
  color: var(--accent);
}

/* Main content styling */
main {
  flex-grow: 1;
  max-width: 900px;
  width: 90%;
  margin: 2rem auto;
  padding: 0 1rem;
  animation: fadeInUp 0.6s ease-out;
}

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

/* Hero sections */
.hero, .about-hero, .booking-intro, .contact-intro {
  display:flex;
  gap: 2rem;
  align-items: center;
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.7);
  flex-wrap: wrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero:hover, .about-hero:hover, .booking-intro:hover, .contact-intro:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.8);
}

.hero img, .about-hero img, .booking-intro img, .contact-intro img {
  flex: 1; /* image gets equal space */
  max-width: 280px; /* slightly smaller */
  width: 300px;       /* sets a good default size */
  height: auto;       /* keeps the aspect ratio */
  object-fit: cover;  /* prevents distortion */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(78,154,241,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero img:hover, .about-hero img:hover, .booking-intro img:hover, .contact-intro img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(78,154,241,0.8);
}

@media (max-width: 768px) {
  .about-hero {
    flex-direction: column; /* stack image and text */
    text-align: center;
  }

  .about-hero img {
    width: 80%;  /* shrink slightly for small screens */
    max-width: 250px;
  }
}

/* 🎯 Founder Images – About Us Section */
@media (max-width: 600px) {
  .founders {
    flex-direction: column;
    align-items: center;
  }

  .founder-profile {
    max-width: 100%; /* take full width on small devices */
  }
}

.founders {
  display: flexbox;
  gap: 2rem;
  flex-direction: column;
  justify-content: right;
  flex-wrap: wrap; /* stack on smaller screens */
  margin: 2rem 0;
}

.founder-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
}

/* Founder images */
.founder-profile img {
  width: 100%;          /* fill the container width */
  max-width: 220px;     /* maximum width */
  height: auto;         /* keep aspect ratio */
  object-fit: cover;    /* crop nicely if needed */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
  display: block;
  margin:var(--accent);
  margin:var(--accent);   /* center image inside container */
}

/* Text section next to image */
.founder-text {
  flex: 1;
}

/* 🔹 Responsive Fix for Small Screens */
@media (max-width: 768px) {
  .founder-profile {
    flex-direction: column; /* stack image on top of text */
    text-align: center;
  }

  .founder-profile img {
    width: 140px;
    height: 140px;
  }

  .founder-text h4 {
    font-size: 1.5rem;
  }

  .founder-text p {
    font-size: 1.3rem;
    line-height: 1.4;
    padding: 0 1rem; /* add spacing so text doesn't touch edges */
  }
}

.founder-text h4 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--primary);
}

.founder-text p {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.5;
}

.hero > div, .about-hero > div, .booking-intro > div, .contact-intro > div {
  flex: 2; /* text takes more space */
}

h2, h3, h4 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

/* 🎨 Custom Heading Sizes */
h1 {
  font-size: 3rem;   /* biggest title */
  line-height: 1.2;
}

h2 {
  font-size: 2.4rem; /* section headers */
  line-height: 1.3;
}

h3 {
  font-size: 1.9rem; /* subheaders */
  line-height: 1.4;
}

h4, h5, h6 {
  font-size: 1.5rem;
  line-height: 1.5;
}

/* Buttons */
.btn, button {
  background-color: var(--primary);
  border: none;
  padding: 0.7rem 1.4rem;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 1.1rem;
  user-select: none;
}

.btn:hover, button:hover {
  background-color: var(--primary-hover);
}

/* Sections */
section {
  margin-bottom: 2.5rem;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Testimonials */
.testimonials, .user-reviews {
  background-color: var(--card-bg);
  padding: 1.5rem 2rem;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials:hover, .user-reviews:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.7);
}

.testimonial, .review {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text);
  transition: transform 0.3s ease;
}

.testimonial:hover, .review:hover {
  transform: translateX(5px);
}

.testimonial img, .review img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 5px var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial img:hover, .review img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px var(--primary);
}

.testimonial blockquote, .review p {
  font-style: italic;
  font-weight: 500;
  margin: 0;
}

/* Forms */
form {
  background-color: var(--card-bg);
  padding: 1.5rem 2rem;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

form:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.8);
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background-color: var(--input-bg);
  color: var(--text);
  font-size: 1.2rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 6px var(--primary);
  transform: translateY(-1px);
}

/* Textarea */
textarea {
  resize: vertical;
  min-height: 100px;
}

/* Radio buttons and checkboxes */
input[type="radio"],
input[type="checkbox"] {
  margin-right: 0.5rem;
  cursor: pointer;
}

/* Self-Check Specific */
.self-check {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  color: var(--text);
  font-family: var(--font-body);
}

.self-check .question {
  margin-bottom: 1.5rem;
}

.self-check label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.self-check input[type="radio"] {
  margin-right: 0.5rem;
  cursor: pointer;
}

.self-check button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  font-size: 1.3rem;
  border: none;
  border-radius: 8px;
  background-color: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
  font-weight: 600;
}

.self-check button:hover {
  background-color: var(--primary-hover);
}

/* Result box */
.result-box {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  user-select: none;
  min-height: 50px;
  line-height: 1.4;
  display: block;
  animation: slideInUp 0.5s ease-out;
}

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

.hidden {
  display: none !important;
}

.result-box.insight {
  background-color: #28666e;
  color: #d4f1f4;
  border: 2px solid #57c4c4;
  display: block;
}

.result-box.warning {
  background-color: var(--error);
  color: white;
  border: 2px solid var(--error-light);
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  main, .self-check {
    width: 95%;
  }

  .hero, .about-hero, .booking-intro, .contact-intro {
    flex-direction: column;
  }

  .hero > div, .about-hero > div {
    flex: none;
    width: 100%;
  }
}

.quote-section {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem auto;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.quote-section blockquote {
  font-style: italic;
  font-size: 1.5rem;
  margin: 1rem 0;
  color: var(--text-color);
}

.quote-section cite {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  color: var(--primary);
}

#new-quote {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.3s ease;
}

#new-quote:hover {
  background-color: var(--accent);
}

/* ✅ Article grid and images */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin-bottom: 2em;
}

.article-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 1em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}



.article-card img {
  width: 100%;
  height: 180px;       /* ✅ Ensures consistent height */
  object-fit: cover;   /* ✅ Crops neatly instead of stretching */
  border-radius: 6px;
  margin-bottom: 0.5em;
  transition: transform 0.3s ease;
}

.article-card img:hover {
  transform: scale(1.05);
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.7em 1.5em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.motivational-quotes {
  background: #f0f8ff;
  border-radius: 8px;
  padding: 1em;
  margin: 2em 0;
  color: #222;
}

body.dark-mode .motivational-quotes {
  background: #222;
  color: #eee;
}

.motivational-quotes blockquote {
  font-style: italic;
  margin: 0.5em 0;
  padding-left: 1em;
  border-left: 3px solid var(--accent);
}

/* ✅ EMOTION CHECK IMAGE */
.emotion-check {
  text-align: left;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.emotion-check h3 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.emotion-check img.emotion-img {
  width: 280px;       /* ✅ good size for desktop */
  max-width: 100%;    /* ✅ prevents overflow */
  height: auto;       /* ✅ keeps proportions */
  object-fit: contain; /* ✅ prevents squeezing */
  margin: 1rem 0;
}

.emotion-check p {
  max-width: 500px;
  margin: 2rem 0;
  font-size: 1.5rem;
  text-align: left;
}

/* ✅ Responsive tweak for smaller screens */
@media (max-width: 768px) {
  .emotion-check img.emotion-img {
    width: 70%; /* shrink on mobile */
    max-width: 220px;
  }
}

/* ✅ Base nav styling adjustments */
#hamburger {
  display: none; /* hidden on desktop */
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary);
}

/* ✅ Mobile view */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
  }

  #hamburger {
    display: block; /* show hamburger on mobile */
  }

  nav ul {
    display: none; /* hide menu by default */
    flex-direction: column;
    width: 100%;
    background-color: var(--nav-bg);
    margin-top: 1rem;
    padding: 0.5rem 0;
    border-radius: 8px;
  }

  nav ul.show {
    display: flex; /* show when toggled */
  }

  nav ul li {
    text-align: center;
    padding: 0.5rem 0;
  }

  nav ul li a {
    display: block;
    padding: 0.5rem;
  }
}

@media (max-width: 768px) {
  #nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--nav-bg);
    margin-top: 1rem;
    padding: 0.5rem 0;
    border-radius: 8px;
  }

  #nav-links.show {
    display: flex;
  }
}

/* Progress Bar Styling */
.analysis-result progress {
  width: 100%;
  height: 20px;
  border-radius: 10px;
  appearance: none;
  border: none;
  background-color: var(--input-bg);
  margin: 10px 0;
}

.analysis-result progress::-webkit-progress-bar {
  background-color: var(--input-bg);
  border-radius: 10px;
}

.analysis-result progress::-webkit-progress-value {
  background-color: var(--primary);
  border-radius: 10px;
  transition: width 0.5s ease;
}

/* Premium Paywall Styling */
.premium-lock {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    background-color: var(--nav-bg);
    text-align: center;
}
/* Mood History List */
hr {
  border: 0;
  border-top: 1px solid var(--accent);
  margin: 1rem 0;
  opacity: 0.3;
}

.history-item {
  font-size: 1.1rem;
  padding: 5px 0;
  display: block;
}

/* Ensure result text is readable in both modes */
.result-box.insight {
  background-color: var(--accent); /* Consistent with your brand */
  color: #fff;
  border: none;
}

/* Loading Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary); /* Uses your primary color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Login and Button Styling */
.login-container, .logout-container {
    text-align: center;
    margin: 20px 0;
}

.google-btn {
    padding: 10px 20px;
    cursor: pointer;
    background: white;
    color: #444;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.calendar-iframe {
    border: solid 1px #777;
    width: 100%;
    height: 600px;
}

#booking-message {
    margin-top: 1rem;
    font-weight: bold;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #777;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    color: var(--text);
}

.success-text { color: lightgreen; font-weight: bold; }

.therapist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.therapist-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.therapist-card:hover {
  transform: translateY(-5px);
}

.therapist-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}

.therapist-card h3 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.therapist-card .bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0;
}

.select-therapist-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.available-slots {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.date-group {
  margin-bottom: 1rem;
}

.date-group h5 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.time-slot {
  padding: 0.5rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.time-slot.booked-slot {
  opacity: 0.55;
  background: #f7f7f7;
  border-color: #ccc;
  cursor: not-allowed;
}

.time-slot.booked-slot:hover {
  background: #f7f7f7;
  color: #666;
}

.time-slot:hover {
  background: var(--primary);
  color: white;
}

.time-slot.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.rate-limit-prompt {
  text-align: center;
  padding: 1rem;
}

.premium-offer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
  color: white;
}

.premium-offer h3 {
  color: white;
  margin-bottom: 1rem;
}

.premium-offer ul {
  text-align: left;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.premium-offer li {
  margin: 0.5rem 0;
}

.booking-item {
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--text);
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.booking-item p {
  margin: 0.3rem 0;
}

.cancel-btn {
  background-color: var(--error);
  border: none;
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.cancel-btn:hover {
  background-color: #b33d3d;
}

body.dark-mode .cancel-btn {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}


.btn-premium {
  background: #ffd700;
  color: #333;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  margin-right: 1rem;
  transition: transform 0.2s;
}

.btn-premium:hover {
  transform: scale(1.05);
  background: #ffed4e;
}

.usage-info {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.warning {
  color: #ff9800;
  font-weight: bold;
  margin-top: 0.5rem;
}

/* Therapist Selection Styles */
.therapist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.therapist-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.therapist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.therapist-header {
  position: relative;
  margin-bottom: 1rem;
}

.therapist-header img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border: 3px solid var(--primary);
}

.therapist-badge {
  position: absolute;
  top: 0;
  right: 0;
}

.premium-badge {
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #333;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
}

.standard-badge {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
}

.therapist-card h3 {
  text-align: center;
  margin: 0.75rem 0 0.5rem;
  font-size: 1.2rem;
}

.specialization {
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.bio {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.therapist-details {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.select-therapist-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.select-therapist-btn:hover {
  background: var(--primary-hover);
}

/* Slots Styles */
.slots-container {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.slots-grid {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.date-group {
  margin-bottom: 1.5rem;
}

.date-group h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.time-slot {
  padding: 0.5rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.2s ease;
}

.time-slot:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.time-slot.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(78,154,241,0.3);
}

.no-slots {
  text-align: center;
  padding: 1rem;
  color: var(--text-muted);
}

.no-slots .note {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.loading-slots {
  text-align: center;
  padding: 1rem;
  color: var(--text-muted);
}

/* User Info Card */
.user-info-card {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logout-button {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.logout-button:hover {
  background: #c82333;
}

.google-login-container {
  text-align: center;
  margin: 2rem 0;
}

/* Booking Form */
.booking-form {
  margin-top: 2rem;
  transition: all 0.3s ease;
}

/* Error States */
.error {
  color: #dc3545;
  text-align: center;
  padding: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .therapist-grid {
    grid-template-columns: 1fr;
  }
  
  .time-slots {
    gap: 0.75rem;
  }
  
  .time-slot {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}