/* Global Styles - v1.03 */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
  --black: #000000;
  --yellow: #20d9d2;
  --white: #ffffff;
  --dark-gray: #222;
  --darker-gray: #333;
  --dark: #121212;
  --gray: #333333;
  --light-gray: #f5f5f5;
  --main-font: "Poppins", sans-serif;

  /* Light theme colors */
  --background: #ffffff;
  --text: #333333;
  --card-bg: #f5f5f5;
  --card-darker: #e5e5e5;
  --border-color: #dddddd;
  --accent: #20d9d2;
  --accent-hover: #1ab5af;
  --header-bg: #ffffff;
  --footer-bg: #f0f0f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--main-font);
}

body {
  font-family: var(--main-font);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--main-font);
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 0;
  color: var(--text);
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--main-font);
}

a:hover {
  color: var(--accent);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.yellow {
  color: var(--accent);
}

.white {
  color: var(--background);
}

/* Notification Bar */
.notification-bar {
  background-color: var(--accent);
  color: var(--black);
  text-align: center;
  padding: 10px 0;
  font-weight: 600;
}

/* Header */
header {
  background-color: var(--header-bg);
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  flex: 1;
}

.logo-img {
  max-height: 60px;
  width: auto;
}

nav {
  flex: 2;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.cart {
  display: flex;
  align-items: center;
}

.cart i {
  font-size: 18px;
  margin-right: 8px;
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background);
}

.hero h2 {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text);
}

.hero .subtitle {
  font-size: 18px;
  margin-bottom: 50px;
  color: var(--text);
  opacity: 0.9;
}

.program-cards {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.program-card {
  flex: 1;
  position: relative;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 9/16;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-card:hover {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 15px 30px rgba(32, 217, 210, 0.3);
}

.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0)
  );
}

.program-card h3 {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text);
}

.program-card p {
  font-size: 14px;
  color: var(--text);
  opacity: 0.9;
}

/* Program Details */
.program-details {
  display: none;
  padding: 80px 0;
  background-color: var(--card-bg);
}

.details-wrapper {
  display: flex;
  gap: 40px;
}

.program-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-info {
  flex: 1;
}

.program-info h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--accent);
}

.program-info p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.8;
}

.features h3,
.pricing h3 {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 15px;
}

.features ul {
  margin-bottom: 30px;
}

.features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Pricing Options */
.pricing-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.pricing-option {
  flex: 1;
  min-width: 150px;
  background-color: var(--background);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 20px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-option.selected {
  border-color: var(--accent);
  background-color: rgba(32, 217, 210, 0.1);
  transform: scale(1.05);
  position: relative;
  z-index: 2;
}

.option-duration {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--accent);
}

.option-details {
  font-size: 14px;
  margin-bottom: 15px;
  color: var(--text);
  opacity: 0.9;
}

.option-price {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.best-value {
  position: relative;
  border-color: var(--accent);
}

.best-value-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.cta-button {
  background-color: var(--accent);
  color: var(--black);
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(32, 217, 210, 0.4);
}

/* About Section */
.about {
  padding: 40px 0;
  background-color: var(--card-bg);
}

.about h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

.about-content {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Testimonials and Team */
.testimonials,
.team,
.google-reviews,
.expert-trainer {
  margin-top: 60px;
}

.testimonials h3,
.team h3,
.google-reviews h3,
.expert-trainer h3 {
  font-size: 28px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 30px;
}

.testimonial-grid,
.team-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial,
.team-member {
  flex: 1;
  min-width: 280px;
  background-color: var(--background);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--text);
}

.testimonial h4 {
  color: var(--accent);
  font-weight: 600;
  text-align: right;
}

/* Trainer Section */
.trainer-content {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

.trainer-info {
  flex: 1;
}

.trainer-info h4 {
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 6px;
  font-weight: 700;
}

.trainer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.trainer-info p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.trainer-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trainer-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  margin-bottom: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.trainer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trainer-video {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.trainer-video iframe {
  display: block;
  width: 100%;
}

.trainer-youtube {
  display: inline-flex;
  align-items: center;
  background-color: #ff0000;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  margin-top: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.trainer-youtube i {
  margin-right: 10px;
  font-size: 20px;
}

.trainer-youtube:hover {
  background-color: #cc0000;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
  transform: translateY(-2px);
  color: white;
}

@media (max-width: 992px) {
  .trainer-content {
    flex-direction: column;
  }

  .trainer-info {
    margin-bottom: 30px;
  }

  .trainer-image {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .trainer-image {
    height: 180px;
  }

  .trainer-video iframe {
    height: 200px;
  }
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.chat-widget.active {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-button i {
  font-size: 24px;
}

@media (max-width: 576px) {
  .whatsapp-button {
    padding: 12px 20px;
    font-size: 14px;
  }

  .whatsapp-button i {
    font-size: 20px;
  }
}

/* Expert Trainer Section */
.expert-trainer {
  margin-top: 60px;
}

.expert-trainer h3 {
  font-size: 28px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 30px;
}

.trainer-content {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

.trainer-info {
  flex: 1;
}

.trainer-info h4 {
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 6px;
  font-weight: 700;
}

.trainer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.trainer-info p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.trainer-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trainer-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  margin-bottom: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.trainer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trainer-video {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.trainer-video iframe {
  display: block;
  width: 100%;
}

.trainer-youtube {
  display: inline-flex;
  align-items: center;
  background-color: #ff0000;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  margin-top: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.trainer-youtube i {
  margin-right: 10px;
  font-size: 20px;
}

.trainer-youtube:hover {
  background-color: #cc0000;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
  transform: translateY(-2px);
  color: white;
}

@media (max-width: 992px) {
  .trainer-content {
    flex-direction: column;
  }

  .trainer-info {
    margin-bottom: 30px;
  }

  .trainer-image {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .trainer-image {
    height: 180px;
  }

  .trainer-video iframe {
    height: 200px;
  }
}

/* Payment Modal */
.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
}

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

.payment-content {
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  position: relative;
  z-index: 1001;
  border: 2px solid var(--accent);
  box-shadow: 0 5px 30px rgba(32, 217, 210, 0.3);
  overflow: hidden;
}

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

.close-payment {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

.close-payment:hover {
  color: var(--accent);
}

.payment-header {
  margin-bottom: 15px;
}

.payment-header h2 {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 24px;
}

.payment-header p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 5px;
}

.payment-header #payment-program-name,
.payment-header #payment-plan {
  color: var(--accent);
  font-weight: 600;
}

#payment-amount {
  font-size: 28px;
  color: var(--accent);
  margin: 15px 0;
  font-weight: 700;
}

.payment-qr {
  margin: 20px auto;
  width: 100%;
  max-width: 250px;
}

.payment-qr img {
  width: 100%;
  height: auto;
  border: 5px solid var(--border-color);
  border-radius: 8px;
}

.payment-instructions {
  margin: 20px 0;
}

.payment-instructions p {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
}

.qr-note {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  margin: 10px 0;
}

.payment-footer {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.payment-footer p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}

/* Footer */
footer {
  background-color: var(--black);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-section p,
.footer-section ul li a,
.footer-bottom {
  color: var(--white);
  opacity: 0.8;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  opacity: 0.8;
  transition: all 0.3s ease;
  color: var(--white);
}

.footer-section ul li a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--background);
  border-radius: 50%;
  color: var(--accent);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.social-icons a:hover {
  background-color: var(--accent);
  color: var(--black);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.7;
  color: var(--white);
  width: 100%;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .program-cards {
    flex-direction: column;
    align-items: center;
  }

  .program-card {
    width: 100%;
    max-width: 400px;
  }

  .details-wrapper {
    flex-direction: column;
  }

  .about-content {
    flex-direction: column;
  }

  .pricing-options {
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto 30px;
  }

  .pricing-option {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  .logo-img {
    max-height: 50px;
  }

  nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h2 {
    font-size: 36px;
  }

  .testimonial-grid,
  .team-grid {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 25px;
    padding: 0 15px;
    width: 100%;
  }

  .footer-section h3 {
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
    margin: 10px auto;
  }

  .footer-section ul {
    padding-left: 0;
    list-style-type: none;
  }

  .footer-section ul li {
    text-align: center;
    display: inline-block;
    margin: 5px 10px;
  }

  /* Contact section icons alignment fix */
  .footer-section i.fas {
    width: 20px;
    text-align: center;
    margin-right: 8px;
  }

  .footer-section p {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* About Us section text alignment */
  .footer-section:first-child p {
    display: block;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .logo-img {
    max-height: 40px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .program-info h2 {
    font-size: 28px;
  }

  .pricing table {
    font-size: 14px;
  }

  .social-icons {
    justify-content: center;
  }

  .payment-content {
    padding: 20px 15px;
    max-width: 320px;
  }

  .payment-header h2 {
    font-size: 20px;
  }

  .payment-qr {
    max-width: 200px;
    margin: 15px auto;
  }

  #payment-amount {
    font-size: 24px;
    margin: 10px 0;
  }

  .payment-instructions p,
  .qr-note {
    font-size: 14px;
  }

  .payment-footer p {
    font-size: 13px;
  }
}

/* Google Reviews Section */
.google-reviews-container {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 20px;
}

.google-reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.google-review-item {
  background-color: var(--background);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.google-review-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.reviewer-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 15px;
}

.reviewer-profile h4 {
  color: var(--text);
  font-size: 16px;
  margin: 0;
  font-weight: 600;
}

.reviewer-image {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 12px;
  line-height: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reviewer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-stars {
  color: #ffd700;
  margin-bottom: 5px;
  font-size: 14px;
}

.review-date {
  font-size: 12px;
  color: var(--text);
  opacity: 0.7;
}

.review-text {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  flex-grow: 1;
  font-style: normal;
}

.google-reviews-footer {
  text-align: center;
  margin-top: 20px;
}

.review-link {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent);
  color: var(--black);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.review-link:hover {
  background-color: var(--accent-hover);
  color: white;
  box-shadow: 0 5px 15px rgba(32, 217, 210, 0.3);
}

.review-link i {
  margin-right: 10px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .google-reviews-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .reviewer-image {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .google-reviews-list {
    grid-template-columns: 1fr;
  }

  .reviewer-image {
    height: 200px;
  }
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background-color: var(--background);
}

.map-section h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--accent);
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--accent);
  margin-bottom: 30px;
  line-height: 0;
}

.map-container iframe {
  display: block;
  width: 100%;
}

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

.address h3 {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 15px;
}

.address p {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.address i {
  color: var(--accent);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.map-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent);
  color: var(--black);
  padding: 15px 25px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
}

.map-button:hover {
  background-color: var(--accent-hover);
  color: var(--black);
  box-shadow: 0 5px 15px rgba(32, 217, 210, 0.3);
}

.map-button i {
  margin-right: 10px;
  font-size: 18px;
}

/* Recipe Guide Page Styles */
.recipe-hero {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background);
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("assets/Meal.jpeg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #f0f0f0;
}

.recipe-hero h2 {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: white;
}

.recipe-hero .subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  color: white;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.recipe-planner {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.planner-wrapper {
  display: flex;
  gap: 40px;
}

.planner-sidebar {
  flex: 1;
  background-color: var(--background);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: fit-content;
  border: 1px solid #f0f0f0;
}

.planner-sidebar h3 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.form-container {
  max-width: 100%;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 8px;
  background-color: var(--background);
  color: var(--text);
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(32, 217, 210, 0.2);
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.generate-button {
  width: 100%;
  padding: 14px 20px;
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.generate-button:hover {
  background-color: var(--accent);
  color: var(--black);
  box-shadow: 0 4px 8px rgba(32, 217, 210, 0.2);
}

.generate-button i {
  font-size: 18px;
}

.planner-content {
  flex: 2;
  background-color: var(--background);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  min-height: 600px;
  border: 1px solid #f0f0f0;
}

.welcome-message {
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
}

.welcome-message h3 {
  font-size: 28px;
  color: var(--text);
  margin-bottom: 25px;
  font-weight: 700;
}

.welcome-message p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.welcome-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 15px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(32, 217, 210, 0.15);
}

.feature i {
  color: var(--accent);
  font-size: 20px;
}

.feature span {
  font-size: 15px;
  color: var(--text);
}

/* Progress Bar and Loading Info Styles */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 2px solid #eee;
}

.progress-bar {
  height: 12px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, #7cfff8 100%);
  border-radius: 8px;
  transition: width 0.3s ease;
  box-shadow: 0 1px 5px rgba(32, 217, 210, 0.4);
}

.loading-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.loading-container::before {
  display: none;
}

.loading-container h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--text);
  text-shadow: none;
}

.progress-container {
  margin: 20px 0;
  width: 100%;
}

.progress-status {
  margin-top: 10px;
  color: var(--text);
  font-size: 0.94rem;
  font-style: italic;
  text-align: center;
  transition: all 0.3s ease;
}

.loading-info-container {
  display: flex;
  margin: 40px auto 0;
  gap: 25px;
  align-items: flex-start;
  max-width: 90%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.loading-info {
  flex: 1;
  position: relative;
  padding-left: 10px;
}

.loading-info::before {
  display: none;
}

.loading-info h4 {
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
  position: relative;
  display: block;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  text-align: left;
}

.loading-info h4.animate {
  transform: translateY(0);
  opacity: 1;
}

.loading-info p {
  line-height: 1.6;
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  transform: translateY(15px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: 0.1s;
  text-align: left;
}

.loading-info p.animate {
  transform: translateY(0);
  opacity: 1;
}

/* Improved macros styling */
.macros-breakdown {
  background-color: transparent;
  padding: 12px 0;
  margin: 12px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-family: var(--main-font);
  border-top: 1px solid rgba(32, 217, 210, 0.2);
  border-bottom: 1px solid rgba(32, 217, 210, 0.2);
  position: relative;
}

#meal-plan-results .macros-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  background-color: transparent;
  padding: 12px 0;
  margin: 12px 0;
  font-family: var(--main-font);
  border-top: 1px solid rgba(32, 217, 210, 0.2);
  border-bottom: 1px solid rgba(32, 217, 210, 0.2);
  line-height: 1.6;
}

#meal-plan-results .macros-breakdown span {
  display: inline-block;
  color: var(--text);
  font-size: 0.9rem;
  margin-right: 20px;
  white-space: nowrap;
}

#meal-plan-results .macros-breakdown span strong {
  color: var(--accent);
  margin-right: 3px;
}

/* Results Header and Content Styles */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  animation: fadeIn 0.5s ease;
}

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

.results-header h3 {
  font-size: 24px;
  color: var(--text);
  font-weight: 700;
  margin: 0;
}

.action-button {
  padding: 10px 18px;
  background-color: transparent;
  color: var(--text);
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-button:hover {
  background-color: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(32, 217, 210, 0.2);
}

.action-button i {
  font-size: 16px;
}

.action-button.danger {
  border-color: #e74c3c;
  color: #e74c3c;
}

.action-button.danger:hover {
  background-color: #e74c3c;
  color: white;
  box-shadow: 0 4px 8px rgba(231, 76, 60, 0.2);
}

#meal-plan-results {
  color: var(--text);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease;
}

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

#meal-plan-results h4 {
  color: var(--text);
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
}

#meal-plan-results h5 {
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

#meal-plan-results ul,
#meal-plan-results ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

#meal-plan-results li {
  margin-bottom: 8px;
  color: var(--text);
}

#meal-plan-results .meal-day {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 30px;
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(-20px);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#meal-plan-results .meal {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

#meal-plan-results .meal:hover {
  border-color: var(--accent);
  background-color: rgba(0, 0, 0, 0.03);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

#meal-plan-results .meal-title {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 5px;
}

/* Making macronutrient breakdown match the outlined style */
#meal-plan-results .macros-breakdown {
  background-color: transparent;
  padding: 10px 15px;
  margin: 15px 0;
  font-size: 14px;
  border-radius: 8px;
}

/* Remove spinner styles that are no longer needed */
.spinner {
  display: none;
}

/* Updating dinner heading style to match brand colors */
#meal-plan-results h2,
#meal-plan-results h3,
#meal-plan-results h4,
#meal-plan-results h5 {
  color: var(--accent);
  font-family: var(--main-font);
}

/* Removing blue color and ensuring all text follows brand colors */
#meal-plan-results a,
#meal-plan-results strong,
#meal-plan-results em,
#meal-plan-results b {
  color: var(--accent);
  text-decoration: none;
}

#meal-plan-results p {
  margin-bottom: 15px;
  color: var(--text);
}

/* Making macronutrient breakdown more visually appealing */
#meal-plan-results .macros-breakdown {
  background-color: rgba(32, 217, 210, 0.1);
  border-left: 3px solid var(--accent);
  padding: 10px 15px;
  margin: 15px 0;
  font-size: 14px;
  border-radius: 0 5px 5px 0;
}

/* Ingredients and instructions formatting */
#meal-plan-results ul {
  list-style-type: disc;
}

#meal-plan-results ol {
  list-style-type: decimal;
}

/* Active link in nav */
nav ul li a.active {
  color: var(--accent);
  position: relative;
}

nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

/* Cuisine specific styles */
.cuisine-specifics {
  background-color: rgba(32, 217, 210, 0.02);
  border: 2px solid var(--accent);
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}

.cuisine-specifics label {
  color: var(--text) !important;
  font-weight: 600;
}

/* Calorie input styles */
.calorie-input-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-calorie-container {
  display: flex;
  align-items: center;
  position: relative;
}

#custom-calories {
  width: 100%;
  padding-right: 80px;
  border: 2px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#custom-calories:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(32, 217, 210, 0.2);
}

.unit-label {
  position: absolute;
  right: 15px;
  color: var(--text);
  opacity: 0.7;
  font-size: 14px;
}

.calorie-note {
  font-size: 13px;
  color: var(--text);
  opacity: 0.7;
  margin-top: 8px;
  font-style: italic;
}

.calorie-note i {
  color: var(--accent);
  margin-right: 5px;
}

/* Override any blue text that might come from AI */
#meal-plan-results * {
  color: var(--text);
}

#meal-plan-results h2,
#meal-plan-results h3,
#meal-plan-results h4,
#meal-plan-results h5,
#meal-plan-results strong,
#meal-plan-results b,
#meal-plan-results em,
#meal-plan-results a,
#meal-plan-results .meal-title {
  color: var(--accent);
}

/* Print styles for meal plans */
@media print {
  body * {
    visibility: hidden;
  }

  #results-container,
  #results-container * {
    visibility: visible;
    color: black !important;
  }

  #results-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: white;
  }

  .results-header {
    display: none !important;
  }

  #meal-plan-results h2,
  #meal-plan-results h3,
  #meal-plan-results h4,
  #meal-plan-results h5,
  #meal-plan-results strong,
  #meal-plan-results b,
  #meal-plan-results em,
  #meal-plan-results a,
  #meal-plan-results .meal-title {
    color: #000 !important;
  }

  #meal-plan-results .macros-breakdown {
    border: 1px solid #ccc;
    background: #f9f9f9;
  }
}

/* Sequence the animation for meal days */
#meal-plan-results .meal-day:nth-child(1) {
  animation-delay: 0.1s;
}
#meal-plan-results .meal-day:nth-child(2) {
  animation-delay: 0.2s;
}
#meal-plan-results .meal-day:nth-child(3) {
  animation-delay: 0.3s;
}
#meal-plan-results .meal-day:nth-child(4) {
  animation-delay: 0.4s;
}
#meal-plan-results .meal-day:nth-child(5) {
  animation-delay: 0.5s;
}
#meal-plan-results .meal-day:nth-child(6) {
  animation-delay: 0.6s;
}
#meal-plan-results .meal-day:nth-child(7) {
  animation-delay: 0.7s;
}

/* Fix for Font Awesome icons */
.fas,
.fab,
.far,
.fa,
.fa-solid,
.fa-brands,
.fa-regular {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
}

/* Custom Dropdown Styles */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.custom-dropdown-selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background-color: white;
}

.custom-dropdown-selected span {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.custom-dropdown-selected i {
  color: var(--accent);
  transition: transform 0.3s ease;
}

.custom-dropdown-selected.active i {
  transform: rotate(180deg);
}

.custom-dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--background);
  border: 1px solid var(--accent);
  border-radius: 5px;
  margin-top: 5px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.custom-dropdown-options.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-dropdown-option {
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text);
  font-size: 15px;
  border-bottom: 1px solid var(--border-color);
}

.custom-dropdown-option:last-child {
  border-bottom: none;
}

.custom-dropdown-option:hover {
  background-color: rgba(32, 217, 210, 0.1);
  color: var(--accent);
}

.custom-dropdown-option.selected {
  background-color: rgba(32, 217, 210, 0.1);
  color: var(--accent);
  font-weight: 600;
}

/* Scrollbar styling for dropdown options */
.custom-dropdown-options::-webkit-scrollbar {
  width: 8px;
}

.custom-dropdown-options::-webkit-scrollbar-track {
  background: var(--background);
  border-radius: 4px;
}

.custom-dropdown-options::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.custom-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

/* Add smooth scrollbar styling for the sidebar */
.planner-sidebar::-webkit-scrollbar {
  width: 8px;
}

.planner-sidebar::-webkit-scrollbar-track {
  background: var(--background);
  border-radius: 4px;
}

.planner-sidebar::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.planner-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

/* Add this new style to handle height when results are shown */
#results-container:not([style*="display: none"]) ~ .planner-sidebar {
  align-self: flex-start;
}

/* Add this new style to handle height when results are shown */
#results-container:not([style*="display: none"]) ~ .welcome-message,
#results-container:not([style*="display: none"]) ~ .loading-container {
  display: none;
}

/* Authentication Styles */
.auth-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  min-height: 70vh;
}

.auth-container {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.auth-tabs {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #777;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 14px;
}

.auth-tab:hover {
  color: var(--accent);
  background-color: rgba(32, 217, 210, 0.05);
}

.auth-tab.active {
  color: var(--accent);
}

.auth-tab.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent);
}

.auth-form {
  display: none;
  min-height: 380px;
  position: relative;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.auth-form h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.auth-form input:focus {
  border-color: var(--accent);
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(32, 217, 210, 0.1);
}

.auth-form .input-error {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.auth-form .btn-primary {
  width: 100%;
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(32, 217, 210, 0.3);
}

.auth-form .btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 217, 210, 0.4);
}

.auth-form .btn-primary:after {
  display: none;
}

.auth-form .btn-secondary {
  width: 100%;
  background-color: #eee;
  color: #555;
  border: none;
  padding: 14px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.auth-form .btn-secondary:hover {
  background-color: #ddd;
}

.auth-error {
  color: #e74c3c;
  background-color: #fde8e7;
  padding: 10px;
  border-radius: 5px;
  margin-top: 15px;
  font-size: 14px;
  display: none;
}

.auth-message {
  padding: 10px;
  border-radius: 5px;
  margin-top: 15px;
  font-size: 14px;
  display: none;
}

.auth-message.success {
  color: #27ae60;
  background-color: #e7f9ed;
}

.auth-message.error {
  color: #e74c3c;
  background-color: #fde8e7;
}

.social-login {
  margin-top: 25px;
  text-align: center;
  position: relative;
}

.social-login p {
  display: inline-block;
  padding: 0 15px;
  background: white;
  position: relative;
  z-index: 1;
  color: #777;
  font-size: 14px;
}

.social-login:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #eee;
  z-index: 0;
}

.social-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  width: 100%;
  border: 1px solid #eee;
  border-radius: 8px;
  background: white;
  color: #555;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.social-btn:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-btn:after {
  display: none;
}

.social-btn i {
  margin-right: 10px;
  font-size: 18px;
}

.google-login {
  color: #444;
  border-color: #ddd;
}

.google-login i {
  color: #db4437;
}

.form-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #777;
}

.form-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.form-footer a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

#forgot-password-form p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .login-popup-content {
    width: 90%;
    max-width: 400px;
  }

  .login-forms {
    padding: 20px;
  }

  .form-input input,
  .social-login-button,
  .form-submit {
    padding: 14px;
  }

  .login-popup-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

.login-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 26px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.login-popup-close:hover {
  color: var(--accent);
  background: rgba(0, 0, 0, 0.7);
  transform: rotate(90deg);
}

/* For users who are already logged in */
.logged-in .login-btn {
  display: none;
}

/* My Account Dropdown Styles */
.account-dropdown {
  position: relative;
  display: inline-block;
}

.account-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-radius: 8px;
  background-color: #20d9d2;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(32, 217, 210, 0.3);
  font-weight: 600;
  font-size: 14px;
  width: 100%;
  max-width: 200px;
}

.account-btn i {
  margin-right: 8px;
  font-size: 16px;
}

.account-btn .fa-chevron-down {
  margin-left: 8px;
  margin-right: 0;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.account-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 217, 210, 0.4);
}

.account-dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--background);
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.account-dropdown-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

.account-dropdown-item:last-child {
  border-bottom: none;
}

.account-dropdown-item i {
  margin-right: 10px;
  font-size: 16px;
  color: var(--accent);
}

.account-dropdown-item:hover {
  background-color: rgba(32, 217, 210, 0.1);
}

.account-dropdown-item.logout {
  color: #e74c3c;
}

.account-dropdown-item.logout i {
  color: #e74c3c;
}

.account-dropdown-item.logout:hover {
  background-color: rgba(231, 76, 60, 0.1);
}

/* Login Button */
.login-button-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  margin-right: 20px;
}

.login-btn {
  background-color: var(--accent);
  color: var(--black);
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(32, 217, 210, 0.3);
}

.login-btn i {
  margin-right: 8px;
  font-size: 16px;
}

.login-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 217, 210, 0.4);
}

/* Logout Button */
.logout-btn {
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.logout-btn i {
  margin-right: 8px;
  font-size: 16px;
}

.logout-btn:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

/* Login Popup */
.login-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.login-popup.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.login-popup-content {
  background-color: #fff;
  border-radius: 15px;
  width: 100%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: popupSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.login-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 26px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.login-popup-close:hover {
  color: var(--accent);
  background: rgba(0, 0, 0, 0.7);
  transform: rotate(90deg);
}

.login-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
}

.login-tab {
  flex: 1;
  padding: 18px 15px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: #555;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 14px;
}

.login-tab:hover {
  color: var(--accent);
  background-color: rgba(32, 217, 210, 0.05);
}

.login-tab.active {
  color: var(--accent);
}

.login-tab.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent);
}

.login-forms {
  padding: 30px;
}

.login-form {
  display: none;
  min-height: 380px;
  position: relative;
}

.login-form.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.login-form h3 {
  margin-top: 0;
  margin-bottom: 25px;
  text-align: center;
  color: #333;
  font-size: 22px;
}

.form-input {
  margin-bottom: 20px;
}

.form-input label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
  font-size: 15px;
}

.form-input input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-input input:focus {
  border-color: var(--accent);
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(32, 217, 210, 0.1);
}

.form-input .input-error {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-submit {
  width: 100%;
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(32, 217, 210, 0.3);
}

.form-submit:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 217, 210, 0.4);
}

.form-submit:after {
  display: none;
}

.login-divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
}

.login-divider:before,
.login-divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #eee;
}

.login-divider-text {
  padding: 0 15px;
  color: #777;
  font-size: 14px;
}

.social-login-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #666;
}

.meal-nutrients span {
  display: flex;
  align-items: center;
}

.meal-nutrients i {
  margin-right: 5px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .meal-item {
    flex-direction: column;
  }

  .meal-title {
    flex: 0 0 auto;
    width: 100%;
  }

  .meal-nutrients {
    flex-direction: column;
    gap: 5px;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  .meal-plan-modal-content,
  .meal-plan-modal-content * {
    visibility: visible;
  }

  .meal-plan-modal-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
  }

  .meal-plan-modal-footer,
  .close-modal {
    display: none !important;
  }
}

/* Dashboard Styles */
.dashboard-hero {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background);
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("assets/Nutrition.jpeg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #f0f0f0;
}

.dashboard-hero h2 {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: white;
}

.dashboard-hero .subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  color: white;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-content {
  background-color: #f9f9f9;
  padding: 50px 0;
  min-height: 600px;
}

.dashboard-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.dashboard-sidebar {
  flex: 0 0 300px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-right: 30px;
  overflow-y: auto;
  max-height: 800px;
  height: auto;
  border: 1px solid #f0f0f0;
}

.user-profile {
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  background: white;
}

.user-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: white;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 36px;
  border: 2px solid var(--accent);
}

.user-profile h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.user-profile p {
  font-size: 14px;
  color: #777;
  margin-top: 0;
}

.dashboard-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-nav li {
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 18px 25px;
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #555;
  font-size: 16px;
  position: relative;
}

.dashboard-nav li:hover {
  background-color: rgba(32, 217, 210, 0.05);
  color: var(--accent);
}

.dashboard-nav li.active {
  background-color: transparent;
  color: var(--accent);
  font-weight: 600;
  border-left: 3px solid var(--accent);
}

.dashboard-nav li.active::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--accent);
}

.dashboard-nav li i {
  margin-right: 15px;
  color: #888;
  width: 20px;
  text-align: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.dashboard-nav li:hover i {
  color: var(--accent);
}

.dashboard-nav li.active i {
  color: var(--accent);
}

/* Style the content area to match recipe page */
.dashboard-main {
  flex: 1;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  border: 1px solid #f0f0f0;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.dashboard-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

/* Meal plan cards - match the recipe card styling */
.meal-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.meal-plan-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.meal-plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.meal-plan-card-header {
  background: transparent;
  padding: 20px 20px 10px 20px;
  color: var(--text);
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.meal-plan-card-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text);
}

.meal-plan-card-body {
  padding: 15px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.meal-plan-info {
  margin-top: 5px;
  flex-grow: 1;
}

.meal-plan-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: #555;
}

.meal-plan-info-item i {
  width: 20px;
  margin-right: 10px;
  color: var(--accent);
  font-size: 16px;
}

.meal-plan-card-footer {
  padding: 12px 20px;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  color: #888;
  background: #fcfcfc;
  display: flex;
  justify-content: space-between;
}

.favorite-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.favorite-button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.favorite-button.active {
  color: white;
  background-color: var(--accent);
}

.favorite-button i {
  font-size: 18px;
}

.meal-plan-card::after {
  content: "Click to View";
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: white;
  color: var(--accent);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 8px rgba(252, 204, 10, 0.2);
}

.meal-plan-card:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.meal-plan-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  overflow-y: auto;
  padding: 20px;
}

.meal-plan-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.meal-plan-modal-content {
  background-color: white;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 30px;
  margin: 20px auto;
}

.meal-plan-modal-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.meal-plan-modal-header h2 {
  margin: 0 0 15px 0;
  color: var(--black);
  font-size: 24px;
  font-weight: 700;
}

.modal-plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 5px;
}

.modal-plan-meta span {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #666;
  background: white;
  padding: 6px 12px;
  border-radius: 20px;
  border: 2px solid var(--accent);
}

.modal-plan-meta span i {
  margin-right: 6px;
  color: var(--accent);
  font-size: 14px;
}

.meal-plan-modal-body {
  padding: 15px 0;
  overflow-y: auto;
  max-height: 60vh;
}

.meal-plan-modal-footer {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-modal:hover {
  color: #000;
  transform: scale(1.1);
}

/* Make sure modal works on mobile devices */
@media (max-width: 768px) {
  .meal-plans-grid {
    grid-template-columns: 1fr;
  }

  .meal-plan-card-header h4 {
    font-size: 16px;
  }

  .meal-plan-modal-content {
    width: 95%;
    padding: 20px;
  }

  .meal-plan-modal-body {
    max-height: 50vh;
  }

  .meal-plan-modal-footer {
    flex-direction: column;
    gap: 10px;
  }

  .meal-plan-modal-footer button {
    width: 100%;
  }
}

.unit-toggle {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ddd;
  width: 100%;
  max-width: 300px;
  margin-top: 10px;
}

.unit-option {
  flex: 1;
  background: #f7f7f7;
  border: none;
  padding: 12px 15px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
  color: #555;
  font-weight: 500;
}

.unit-option:first-child {
  border-right: 1px solid #ddd;
}

.unit-option:hover {
  background-color: rgba(32, 217, 210, 0.1);
}

.unit-option.active {
  background-color: var(--accent);
  color: var(--black);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.social-login-button {
  width: 100%;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: white;
  color: #555;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.social-login-button:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-login-button i {
  margin-right: 10px;
  font-size: 18px;
}

.google-login {
  color: #444;
  border-color: #ddd;
}

.google-login i {
  color: #db4437;
}

/* Add new styles for Create New Plan button to ensure it stands out */
#create-plan-btn {
  background-color: white;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}

#create-plan-btn:hover {
  background-color: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(32, 217, 210, 0.2);
}

/* Non-intrusive save notification */
.save-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: white;
  color: #333;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  border-left: 4px solid var(--accent);
  max-width: 300px;
}

.save-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.save-notification.success {
  border-left-color: var(--accent);
}

.save-notification.error {
  border-left-color: #e74c3c;
}

/* Animation for notification */
@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

/* Add responsive styles for notification */
@media (max-width: 576px) {
  .save-notification {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
    text-align: center;
  }
}

/* Additional Responsive Styles for Recipe Guide and Dashboard */

/* General responsive styles for both pages */
@media (max-width: 1024px) {
  .planner-wrapper {
    flex-direction: column;
  }

  .planner-sidebar,
  .planner-content {
    width: 100%;
    max-width: 100%;
  }

  .planner-sidebar {
    margin-bottom: 30px;
    margin-right: 0;
    max-height: 600px;
    overflow-y: auto;
  }

  .dashboard-sidebar {
    margin-right: 0;
    margin-bottom: 30px;
    max-height: 600px;
  }

  .meal-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .recipe-hero h2 {
    font-size: 32px;
    color: white;
  }

  .recipe-hero .subtitle {
    font-size: 16px;
    color: white;
  }

  .dashboard-hero h2 {
    font-size: 32px;
    color: white;
  }

  .dashboard-hero .subtitle {
    font-size: 16px;
    color: white;
  }

  .planner-sidebar h3 {
    font-size: 22px;
  }

  .form-group label {
    font-size: 14px;
  }

  .progress-bar {
    width: 100%;
  }

  .loading-info-container {
    width: 100%;
  }

  .loading-image {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  #meal-plan-results h2,
  #meal-plan-results h3 {
    font-size: 22px;
  }

  #meal-plan-results h4 {
    font-size: 18px;
  }

  .macros-breakdown {
    flex-direction: column;
    align-items: flex-start;
  }

  .macros-breakdown span {
    margin-bottom: 5px;
  }

  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .results-header .action-button {
    width: 100%;
  }

  .cuisine-specifics {
    width: 100%;
  }

  .calorie-input-container {
    flex-direction: column;
  }

  #custom-calories {
    width: 100%;
    margin-top: 10px;
  }

  .meal-plan-modal-content {
    width: 95%;
    padding: 15px;
  }

  .meal-plan-modal-header h2 {
    font-size: 20px;
  }

  .meal-plan-modal-footer {
    flex-direction: column;
    gap: 10px;
  }

  .meal-plan-modal-footer button {
    width: 100%;
  }

  /* Dashboard specific responsive styles */
  .dashboard-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .dashboard-nav li {
    margin: 5px;
    padding: 8px 15px;
  }

  .meal-plan-card {
    width: 100%;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .dashboard-header .action-button {
    width: 100%;
  }

  .meal-plans-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .recipe-hero h2 {
    font-size: 28px;
    color: white;
  }

  .recipe-hero .subtitle {
    font-size: 14px;
    margin-bottom: 15px;
    color: white;
  }

  .dashboard-hero h2 {
    font-size: 28px;
    color: white;
  }

  .dashboard-hero .subtitle {
    font-size: 14px;
    margin-bottom: 15px;
    color: white;
  }

  .planner-sidebar h3 {
    font-size: 20px;
  }

  .planner-content {
    padding: 15px;
  }

  .welcome-message h3 {
    font-size: 18px;
  }

  .welcome-message p {
    font-size: 14px;
  }

  .feature {
    padding: 10px;
  }

  .feature i {
    font-size: 24px;
  }

  .feature span {
    font-size: 14px;
  }

  .loading-container h3 {
    font-size: 18px;
  }

  .progress-status {
    font-size: 14px;
  }

  .loading-info h4 {
    font-size: 16px;
  }

  .loading-info p {
    font-size: 13px;
  }

  #meal-plan-results h2,
  #meal-plan-results h3 {
    font-size: 20px;
  }

  #meal-plan-results h4 {
    font-size: 16px;
  }

  #meal-plan-results p,
  #meal-plan-results li {
    font-size: 14px;
  }

  .meal-day {
    margin-bottom: 20px;
    padding: 15px;
  }

  .meal {
    padding: 12px;
  }

  /* Dashboard specific responsive styles */
  .user-profile h3 {
    font-size: 18px;
  }

  .user-profile p {
    font-size: 14px;
  }

  .meal-plan-card-header h4 {
    font-size: 16px;
  }

  .meal-plan-info-item {
    font-size: 13px;
  }

  .meal-plan-card {
    padding: 12px;
  }

  .dashboard-main {
    padding: 15px;
  }
}

/* Specific fixes for mobile navigation */
@media (max-width: 768px) {
  header .container {
    padding: 10px;
  }

  nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--header-bg);
    z-index: 1000;
    padding-top: 70px;
    overflow-y: auto;
  }

  nav.active {
    display: block;
    animation: fadeInNav 0.3s ease;
  }

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

  nav ul {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }

  nav ul li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }

  nav ul li a {
    display: block;
    padding: 18px;
    font-size: 18px;
    font-weight: 500;
  }

  .mobile-menu-btn {
    display: block;
    margin-left: auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .mobile-menu-btn i {
    font-size: 24px;
    transition: all 0.3s ease;
  }

  .mobile-menu-btn .fa-times {
    color: var(--accent);
  }

  /* Clone login button to mobile menu */
  nav.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 15px 0;
  }

  /* Mobile login button styling */
  nav.active .mobile-login-button {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 20px 0;
    animation: fadeInButton 0.5s ease 0.1s forwards;
  }

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

  nav.active .mobile-login-button .login-btn,
  nav.active .mobile-login-button .account-dropdown {
    width: 80%;
    max-width: 300px;
    margin: 10px auto;
  }
}

/* Responsive table styles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}

.table-responsive th,
.table-responsive td {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
}

.table-responsive th {
  background-color: var(--accent);
  color: var(--black);
  font-weight: 600;
}

/* Responsive list styles */
.ingredients-list {
  padding-left: 20px;
  margin-bottom: 15px;
  list-style-type: disc;
}

.instructions-list {
  padding-left: 20px;
  margin-bottom: 15px;
  counter-reset: item;
}

.instructions-list li {
  margin-bottom: 10px;
}

@media (max-width: 576px) {
  .ingredients-list,
  .instructions-list {
    padding-left: 15px;
  }

  .ingredients-list li,
  .instructions-list li {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .table-responsive {
    font-size: 14px;
  }
}

/* Improved footer responsiveness */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 25px;
    padding: 0 15px;
    width: 100%;
  }

  .footer-section h3::after {
    margin: 10px auto;
  }

  .footer-section ul {
    padding-left: 0;
    list-style-type: none;
  }

  .footer-section ul li {
    text-align: center;
    display: inline-block;
    margin: 5px 10px;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  footer {
    padding: 30px 0 20px;
  }

  .footer-section h3 {
    font-size: 18px;
  }

  .footer-section p,
  .footer-section ul li a {
    font-size: 14px;
  }

  .social-icons a {
    width: 32px;
    height: 32px;
    margin: 0 5px;
  }

  .social-icons a i {
    font-size: 16px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

/* Improved meal plan modal responsiveness */
.meal-plan-modal-content {
  max-height: 85vh;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .meal-plan-modal-content {
    width: 95%;
    max-width: 95%;
    margin: 20px auto;
    padding: 15px;
  }

  .meal-plan-modal-header {
    padding-bottom: 10px;
  }

  .meal-plan-modal-body {
    padding: 10px 5px;
    max-height: 60vh;
  }

  .close-modal {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .meal-plan-modal-content {
    padding: 10px;
    margin: 10px auto;
  }

  .meal-plan-modal-header h2 {
    font-size: 18px;
    padding-right: 30px;
  }

  .meal-plan-modal-body {
    padding: 5px 2px;
  }

  #modal-plan-date {
    font-size: 12px;
  }
}

/* Account Settings Styles */
.settings-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.settings-form {
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.settings-form .form-group {
  margin-bottom: 20px;
}

.settings-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--text);
}

.settings-form input[type="text"],
.settings-form input[type="email"],
.settings-form input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.settings-form input:focus {
  border-color: var(--accent);
  outline: none;
}

.settings-form input:disabled {
  background-color: var(--card-darker);
  cursor: not-allowed;
}

.settings-actions {
  margin-top: 25px;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.checkbox-group label {
  margin-bottom: 0;
  cursor: pointer;
}

.settings-section {
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.settings-section h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text);
}

.danger-zone {
  border: 1px solid #ff6b6b;
  background-color: rgba(255, 107, 107, 0.05);
}

.danger-zone h4 {
  color: #ff6b6b;
}

.danger-zone p {
  margin-bottom: 15px;
  color: var(--text);
  opacity: 0.8;
}

#password-error {
  color: #ff6b6b;
  margin-top: 5px;
  font-size: 14px;
}

/* Responsive styles for settings tab */
@media (max-width: 768px) {
  .settings-form,
  .settings-section {
    padding: 15px;
  }

  .settings-form .form-group {
    margin-bottom: 15px;
  }

  .settings-form input[type="text"],
  .settings-form input[type="email"],
  .settings-form input[type="password"] {
    padding: 10px;
    font-size: 14px;
  }

  .settings-section h4 {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .settings-form,
  .settings-section {
    padding: 12px;
  }

  .settings-actions button {
    width: 100%;
  }

  .checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .checkbox-group label {
    font-size: 14px;
  }

  .danger-zone p {
    font-size: 14px;
  }
}

/* Fix for dashboard settings tab */
.dashboard-tab {
  display: none;
}

.dashboard-tab.active {
  display: block;
}

.settings-form-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Additional responsive fixes for dashboard */
@media (max-width: 768px) {
  .dashboard-sidebar .dashboard-nav {
    display: block;
    width: 100%;
  }

  .dashboard-sidebar .dashboard-nav li {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 15px;
    margin: 0 0 10px 0;
    border-radius: 8px;
  }

  .settings-form-container {
    padding: 0 10px;
  }
}

@media (max-width: 576px) {
  .dashboard-sidebar .dashboard-nav li {
    min-width: initial;
    font-size: 14px;
    padding: 10px 15px;
    margin-bottom: 8px;
    width: 100%;
    text-align: left;
    display: block;
  }

  .settings-form input[type="text"],
  .settings-form input[type="email"],
  .settings-form input[type="password"] {
    font-size: 14px;
  }
}

/* Additional styles for account settings */
.settings-form {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 3px;
}

.checkbox-group label {
  line-height: 1.4;
}

.danger-zone {
  border-color: #ff6b6b;
  background-color: rgba(255, 107, 107, 0.05);
}

/* Fix for form display on mobile */
@media (max-width: 576px) {
  .settings-form {
    padding: 15px;
  }

  .settings-form .form-group {
    margin-bottom: 15px;
  }

  .settings-section h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .settings-actions {
    margin-top: 20px;
  }

  /* Adjust checkbox alignment on small screens */
  .checkbox-group {
    padding-left: 2px;
  }

  .checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }
}

/* Ensure tabs display correctly */
.dashboard-main {
  position: relative;
}

/* Add smooth transition effects to tabs */
.dashboard-tab {
  transition: opacity 0.3s ease;
}

.dashboard-tab.active {
  animation: fadeIn 0.3s ease;
}

/* Fix mobile layout in dashboard */
@media (max-width: 768px) {
  .dashboard-sidebar {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .dashboard-header button.action-button {
    width: 100%;
  }

  /* Improve settings tab responsive layout */
  .settings-section {
    background-color: var(--card-bg);
  }

  /* Fix for settings action buttons */
  .settings-actions button {
    width: 100%;
    padding: 12px;
  }
}

/* Additional small screen fixes */
@media (max-width: 480px) {
  .user-profile {
    padding: 10px 0;
  }

  .user-avatar {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .user-profile h3 {
    font-size: 16px;
  }

  .user-profile p {
    font-size: 13px;
  }

  /* Make tab navigation more compact */
  .dashboard-nav li {
    padding: 6px 8px;
    min-width: 80px;
    font-size: 12px;
  }
}

/* Prevent text overflow in meal plan cards */
.meal-plan-card-header h4,
.meal-plan-info-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .dashboard-nav {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .dashboard-nav li {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 15px;
    margin: 0 0 10px 0;
    border-radius: 8px;
  }

  .dashboard-nav li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
  }
}

/* Vertical dashboard navigation for mobile */
@media (max-width: 768px) {
  .dashboard-nav {
    display: flex;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    overflow: visible !important;
    max-height: none !important;
  }

  .dashboard-nav li {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    text-align: left !important;
    padding: 12px 15px !important;
    border-radius: 0 !important;
    min-width: unset !important;
    flex-basis: unset !important;
    background-color: transparent !important;
  }
}

/* Dashboard Tab Navigation - Mobile version that matches desktop exactly */
@media (max-width: 768px) {
  .dashboard-nav {
    display: block;
    width: 100%;
    max-height: none;
    overflow-y: visible;
  }

  .dashboard-sidebar {
    max-height: none;
    overflow-y: visible;
  }

  .dashboard-nav li {
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #555;
    font-size: 16px;
    position: relative;
    width: 100%;
    margin: 0;
    text-align: left;
    border-radius: 0;
    background-color: transparent;
  }
}

/* Login Button Container - Desktop style */
header .container > .login-button-container {
  display: flex;
  justify-content: flex-end;
  margin-right: 20px;
}

/* Mobile Navigation styles that show login button properly */
@media (min-width: 769px) {
  /* Hide login button in navigation on desktop */
  nav .login-button-container {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Hide login button in navigation when not active */
  nav .login-button-container {
    display: none;
  }

  /* Show login button in navigation only when menu is active */
  nav.active .login-button-container {
    display: flex;
    width: 100%;
    margin: 15px 0;
    justify-content: center;
  }

  /* Style login button in mobile menu */
  nav .login-button-container .login-btn,
  nav .login-button-container .account-dropdown {
    width: 80%;
    margin: 10px auto;
  }

  nav .account-dropdown .account-btn {
    width: 100%;
  }

  /* Position account dropdown content correctly */
  nav .account-dropdown-content {
    position: relative;
    width: 100%;
    top: 5px;
    left: 0;
    box-shadow: none;
    border: 1px solid var(--border-color);
  }
}

/* Mobile account dropdown styling */
nav.active .mobile-login-button .account-dropdown {
  width: 80%;
  max-width: 300px;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav.active .mobile-login-button .account-btn {
  width: 100%;
  margin: 0;
  border-radius: 8px;
  background-color: var(--accent);
  color: var(--black);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(32, 217, 210, 0.3);
  height: auto;
  transition: all 0.3s ease;
}

nav.active .mobile-login-button .account-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 217, 210, 0.3);
  background-color: var(--accent-hover);
}

/* Make the user icon a little bigger and add some right margin */
nav.active .mobile-login-button .account-btn i.fa-user-circle {
  font-size: 22px;
  margin-right: 10px;
}

/* Position the dropdown chevron properly */
nav.active .mobile-login-button .account-btn i.fa-chevron-down {
  margin-left: 10px;
  font-size: 14px;
  transition: transform 0.3s ease;
}

nav.active .mobile-login-button .account-dropdown-content {
  position: relative;
  width: 100%;
  top: 8px;
  left: 0;
  margin: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background-color: var(--background);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* Style account dropdown items in mobile menu */
nav.active .mobile-login-button .account-dropdown-item {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

nav.active .mobile-login-button .account-dropdown-item:last-child {
  border-bottom: none;
}

nav.active .mobile-login-button .account-dropdown-item:hover {
  background-color: rgba(32, 217, 210, 0.1);
}

nav.active .mobile-login-button .account-dropdown-item i {
  font-size: 18px;
  width: 24px;
  margin-right: 12px;
  text-align: center;
  color: var(--accent);
}

nav.active .mobile-login-button .account-dropdown-item.logout i {
  color: #e74c3c;
}

@media (min-width: 769px) {
  /* On desktop, show header login button, hide mobile login button */
  header .container > .login-button-container {
    display: flex;
  }

  .mobile-login-button {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* On mobile, hide header login button unless menu is open */
  header .container > .login-button-container {
    display: none !important;
  }

  /* Mobile login button is handled by JS and only shows when menu is active */
}

/* Mobile menu fixes */
@media (max-width: 768px) {
  /* Force remove any underline in active mobile menu items - MOBILE ONLY */
  nav.active ul li a.active::after {
    display: none !important;
  }

  /* Chat widget position fix */
  .chat-widget {
    z-index: 98; /* Lower than the mobile menu but higher than regular content */
  }

  /* Ensure mobile menu is above everything */
  nav.active {
    z-index: 999;
  }
}

/* Ensure chat widget is properly displayed in all pages */
.chat-widget {
  opacity: 1 !important;
  transform: translateY(0) !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--accent);
}

/* Trainer Profile */
.trainer-profile {
  display: flex;
  gap: 40px;
  background-color: var(--background);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border: 1px solid var(--border-color);
}

.trainer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.trainer-info h4 {
  color: var(--accent);
  font-size: 28px;
  margin-bottom: 6px;
  font-weight: 700;
}

.trainer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.trainer-details p {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.trainer-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trainer-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  margin-bottom: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.trainer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trainer-video {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.trainer-video iframe {
  display: block;
  width: 100%;
}

.trainer-youtube {
  display: inline-flex;
  align-items: center;
  background-color: #ff0000;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  margin-top: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.trainer-youtube i {
  margin-right: 10px;
  font-size: 20px;
}

.trainer-youtube:hover {
  background-color: #cc0000;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
  transform: translateY(-2px);
  color: white;
}

@media (max-width: 992px) {
  .trainer-profile {
    flex-direction: column;
  }

  .trainer-info {
    margin-bottom: 30px;
  }

  .trainer-image {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .trainer-image {
    height: 180px;
  }

  .trainer-video iframe {
    height: 200px;
  }
}

/* Trainer Section */
.expert-trainer {
  margin-top: 60px;
}

.expert-trainer h3 {
  font-size: 28px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 30px;
}

.trainer-content {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

.trainer-info {
  flex: 1;
}

.trainer-info h4 {
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 6px;
  font-weight: 700;
}

.trainer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.trainer-info p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.trainer-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trainer-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  margin-bottom: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.trainer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trainer-video {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.trainer-video iframe {
  display: block;
  width: 100%;
}

.trainer-youtube {
  display: inline-flex;
  align-items: center;
  background-color: #ff0000;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  margin-top: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.trainer-youtube i {
  margin-right: 10px;
  font-size: 20px;
}

.trainer-youtube:hover {
  background-color: #cc0000;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
  transform: translateY(-2px);
  color: white;
}

@media (max-width: 992px) {
  .trainer-content {
    flex-direction: column;
  }

  .trainer-info {
    margin-bottom: 30px;
  }

  .trainer-image {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .trainer-image {
    height: 180px;
  }

  .trainer-video iframe {
    height: 200px;
  }
}

/* Add notification styles */
.save-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #4caf50;
  color: white;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  max-width: 350px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.save-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.save-notification.error {
  background-color: #f44336;
}

.save-notification.warning {
  background-color: #ff9800;
}

.save-notification.with-action {
  padding: 15px;
  width: 320px;
}

.notification-actions {
  display: flex;
  margin-top: 12px;
  gap: 10px;
}

.notification-btn {
  background-color: white;
  color: #4caf50;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  flex: 1;
  transition: background-color 0.2s;
}

.notification-btn:hover {
  background-color: #f8f8f8;
}

.notification-btn.secondary {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.notification-btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* For mobile devices */
@media (max-width: 768px) {
  .save-notification {
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: none;
    width: auto;
  }
}

/* Add a specific class for dashboard hero to use a different image */
.dashboard-hero {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background);
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("assets/Nutrition.jpeg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #f0f0f0;
}

.dashboard-hero h2 {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: white;
}

.dashboard-hero .subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  color: white;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .recipe-hero h2 {
    font-size: 32px;
    color: white;
  }

  .recipe-hero .subtitle {
    font-size: 16px;
    color: white;
  }

  .dashboard-hero h2 {
    font-size: 32px;
    color: white;
  }

  .dashboard-hero .subtitle {
    font-size: 16px;
    color: white;
  }

  .planner-sidebar h3 {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .recipe-hero h2 {
    font-size: 28px;
    color: white;
  }

  .recipe-hero .subtitle {
    font-size: 14px;
    margin-bottom: 15px;
    color: white;
  }

  .dashboard-hero h2 {
    font-size: 28px;
    color: white;
  }

  .dashboard-hero .subtitle {
    font-size: 14px;
    margin-bottom: 15px;
    color: white;
  }

  .planner-sidebar h3 {
    font-size: 20px;
  }
}
