/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Tajawal', sans-serif;

}

body {
  font-family: 'Tajawal', sans-serif;
  line-height: 1.6;
  background-color: #f0f5f0;
  color: #2c3e50;
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: '🌿';
  position: fixed;
  font-size: 15rem;
  opacity: 0.1;
  z-index: -1;
}

body::before {
  top: 10%;
  left: -5%;
  transform: rotate(-45deg);
}

body::after {
  bottom: 10%;
  right: -5%;
  transform: rotate(45deg);
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  background: linear-gradient(45deg, rgba(112, 214, 65, 0.9), rgba(240, 245, 240, 0.9));
  box-shadow: 0 4px 20px rgba(84, 185, 72, 0.15);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 0 0 20px 20px;
}

.logo {
  width: 80px;
  z-index: 1001;
}

.logo-img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #54b948;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #54b948;
}

.nav-links a:hover:after {
  width: 100%;
}

.cart-icon {
  font-size: 1.8rem;
  color: #54b948;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 1001;
}

.cart-icon:hover {
  transform: scale(1.1);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #54b948;
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 768px) {
  header {
    padding: 10px 4%;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 80px 0;
    justify-content: center;
    gap: 40px;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.4rem;
  }

  .cart-icon {
    display: none;
  }

  .nav-links li:last-child {
    margin-bottom: 20px;
  }

  .nav-links li:last-child:after {
    content: '🛒';
    display: block;
    font-size: 2rem;
    color: #54b948;
    margin-top: 30px;
  }
}

/* Main Section */
main {
  padding: 120px 7% 60px;
  display: flex;
  flex-direction: row;
  align-items: center;

  justify-content: center;
  min-height: 90vh;
  background: linear-gradient(135deg, #f0f5f0 0%, #e8f5e9 100%);
}

@media (max-width: 768px) {
  main {
    flex-direction: column-reverse;
    text-align: center;
    padding: 100px 4% 40px;
    gap: 40px;
  }

  .content {
    max-width: 100% !important;
    margin-bottom: 20px;
  }

  .content .main-title {
    font-size: 2.8rem !important;
  }

  .content p {
    font-size: 1.1rem !important;
    padding: 0 15px;
  }

  .image {
    max-width: 85% !important;
  }

  .check-menu-btn {
    padding: 15px 35px !important;
    font-size: 1.1rem !important;
  }
}

.content {
  max-width: 50%;
  text-align: right;
}

.content .main-title {
  font-size: 4.5rem;
  color: #2c3e50;
  margin-bottom: 30px;
  line-height: 1.2;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #546e7a;
  line-height: 1.8;
}

.check-menu-btn {
  padding: 18px 40px;
  background: linear-gradient(45deg, #54b948, #7ac943);
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(84, 185, 72, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.check-menu-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(84, 185, 72, 0.4);
}

.image {
  width: 45%;
  height: auto;
  background-color: transparent;
}

.image img {
  width: 100%;
  border-radius: 30px;
  transition: transform 0.5s ease;
}

.image img:hover {
  transform: rotate(5deg);
}

/* Dishes Section */
.dishes {
  text-align: center;
  margin-top: 60px;
  padding: 60px 7%;
  background: #ffffff;
  border-radius: 40px 40px 0 0;
}

.dishes h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #2c3e50;
  position: relative;
  display: inline-block;
}

.dishes h2:after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background: #54b948;
  bottom: -10px;
  left: 20%;
}

.dish-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px 10px;
}

@media (max-width: 768px) {
  .dishes {
    padding: 40px 4%;
    margin-top: 40px;
  }

  .dishes h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .dish-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .dish-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

.dish-item {
  background: #ffffff;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: right;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.dish-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dish-item img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

.dish-item:hover img {
  transform: scale(1.05);
}

.dish-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c3e50;
}

.dish-price {
  font-size: 1.2rem;
  color: #54b948;
  margin-bottom: 20px;
  font-weight: 600;
}

.add-btn {
  padding: 8px 20px;
  background: linear-gradient(45deg, #54b948, #7ac943);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.9rem;
}

.add-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(84, 185, 72, 0.3);
}

@media (max-width: 480px) {
  .content h1 {
    font-size: 2.5rem !important;
  }

  .content p {
    font-size: 1rem !important;
  }

  .image {
    max-width: 90% !important;
  }

  .dish-item {
    padding: 15px;
  }

  .dish-title {
    font-size: 1.2rem;
  }

  .dish-price {
    font-size: 1.1rem;
  }

  .add-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

footer {
  background: #2c3e50;
  color: #fff;
  padding: 60px 7% 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: #54b948;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.footer-section p {
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #54b948;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #54b948;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  footer {
    padding: 40px 4% 20px;
  }

  .footer-content {
    gap: 30px;
  }

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

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

.about {
  padding: 80px 7%;
  background-color: #f8f9fa;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.about h2:after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background: linear-gradient(45deg, #54b948, #7ac943);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.about p {
  font-size: 1.2rem;
  color: #546e7a;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
}

.feature i {
  font-size: 2.5rem;
  color: #54b948;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.feature p {
  font-size: 1rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about {
    padding: 60px 4%;
  }

  .features {
    gap: 20px;
  }

  .feature {
    min-width: 100%;
  }
}

.contact {
  padding: 80px 7%;
  background-color: #f8f9fa;
}

.contact-content {
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.contact h2:after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background: linear-gradient(45deg, #54b948, #7ac943);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.contact p {
  color: #666;
  margin-bottom: 50px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.info-item {
  margin-bottom: 30px;
  text-align: right;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  font-size: 2rem;
  color: #54b948;
  margin-bottom: 15px;
}

.info-item h3 {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #54b948;
}

.submit-btn {
  background: linear-gradient(45deg, #54b948, #7ac943);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 4%;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
  }
}

.login-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-container {
  background: white;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
}

.login-container h2 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

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

.login-form .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 500;
}

.login-form .form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.login-form .form-group input:focus {
  border-color: #54b948;
  outline: none;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(45deg, #54b948, #7ac943);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(84, 185, 72, 0.3);
}

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

.forgot-password {
  color: #54b948;
  text-decoration: none;
  font-size: 0.9rem;
}

.register-link {
  margin-top: 15px;
  color: #666;
  font-size: 0.9rem;
}

.register-link a {
  color: #54b948;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 480px) {
  .login-container {
    padding: 30px 20px;
  }

  .login-container h2 {
    font-size: 1.8rem;
  }
}

.forgot-password-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.forgot-password-container {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.forgot-password h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
}

.forgot-password-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.email-group {
  display: flex;
  gap: 10px;
}

.email-group input {
  flex: 1;
}

.forgot-password-form .form-group input {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.forgot-password-form .form-group input:focus {
  outline: none;
  border-color: #54b948;
}

.send-code-btn,
.confirm-btn {
  background: linear-gradient(45deg, #54b948, #7ac943);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.send-code-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

.confirm-btn {
  width: 100%;
}

.send-code-btn:hover:not(:disabled),
.confirm-btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .email-group {
    flex-direction: column;
  }

  .forgot-password-container {
    padding: 20px;
  }
}


.signup-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    margin-top: 40px;
  }

  .signup-container {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
  }

  .signup-container h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
  }

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

  .form-group label {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.1rem;
  }

  .form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
  }

  .form-group input:focus {
    border-color: #54b948;
    outline: none;
    box-shadow: 0 0 0 3px rgba(84, 185, 72, 0.1);
  }

  .signup-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, #54b948, #7ac943);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 185, 72, 0.3);
  }

  .form-footer {
    margin-top: 25px;
    text-align: center;
  }

  .login-link {
    color: #666;
    font-size: 1rem;
  }

  .login-link a {
    color: #54b948;
    text-decoration: none;
    font-weight: 600;
  }

  @media (max-width: 576px) {
    .signup-section {
      padding: 60px 15px;
    }

    .signup-container {
      padding: 30px 20px;
    }

    .signup-container h2 {
      font-size: 1.8rem;
      margin-bottom: 30px;
    }

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

    .form-group label {
      font-size: 1rem;
    }

    .signup-btn {
      padding: 14px;
      font-size: 1.1rem;
    }
  }

    /* Main Section */
    .sub-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 120px 20px 60px;
      }

      .sub-container {
        background: white;
        padding: 50px;
        border-radius: 25px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        width: 100%;
        max-width: 600px;
      }

      .sub-container h2 {
        color: #2c3e50;
        text-align: center;
        margin-bottom: 40px;
        font-size: 2.2rem;
        font-weight: 700;
      }

      .sub-form-group {
        margin-bottom: 25px;
      }

      .sub-form-group label {
        display: block;
        margin-bottom: 10px;
        color: #2c3e50;
        font-weight: 500;
        font-size: 1.1rem;
      }

      .sub-form-group select,
      .sub-form-group input {
        width: 100%;
        padding: 15px;
        border: 2px solid #eee;
        border-radius: 15px;
        font-size: 1rem;
        transition: all 0.3s ease;
      }

      .sub-form-group select:focus,
      .sub-form-group input:focus {
        border-color: #54b948;
        outline: none;
        box-shadow: 0 0 0 3px rgba(84, 185, 72, 0.1);
      }

      .sub-checkbox-label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
      }

      .sub-form-notes {
        margin: 20px 0;
      }

      .sub-note {
        color: #dc3545;
        font-size: 0.9rem;
        margin: 5px 0;
      }

      .sub-price-summary {
        margin: 20px 0;
        padding: 20px;
        background: #f8f9fa;
        border-radius: 15px;
      }

      .sub-price-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        font-size: 1.1rem;
      }

      .sub-total {
        font-weight: 700;
        border-top: 1px solid #ddd;
        padding-top: 10px;
        margin-top: 10px;
      }

      .sub-btn {
        background: linear-gradient(45deg, #54b948, #7ac943);
        color: white;
        border: none;
        padding: 15px 40px;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        width: 100%;
        transition: all 0.3s ease;
      }

      .sub-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(84, 185, 72, 0.4);
      }

      @media (max-width: 768px) {
        .sub-container {
          padding: 30px 20px;
        }

        .sub-container h2 {
          font-size: 1.8rem;
        }

        .sub-form-group label {
          font-size: 1rem;
        }

        .sub-btn {
          font-size: 1rem;
          padding: 12px 30px;
        }
      }






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

    .profile-header {
        background: white;
        border-radius: 25px;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(84, 185, 72, 0.15);
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .profile-picture {
        position: relative;
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .profile-picture img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

    .edit-picture {
        position: absolute;
        bottom: 0;
        right: 0;
        background: #54b948;
        color: white;
        padding: 8px;
        border-radius: 50%;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .profile-info {
        flex: 1;
        min-width: 250px;
        text-align: center;
    }

    .profile-info h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 10px;
    }

    .profile-info p {
        color: #666;
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    .nav-tabs {
        display: flex;
        gap: 10px;
        margin-bottom: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-tab {
        padding: 12px 20px;
        background: white;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        font-size: clamp(0.8rem, 2vw, 1rem);
        flex: 1;
        min-width: 150px;
        text-align: center;
    }

    .nav-tab.active {
        background: #54b948;
        color: white;
    }

    .tab-content {
        display: none;
        background: white;
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(84, 185, 72, 0.15);
    }

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

    .subscription-card {
        background: linear-gradient(135deg, #54b948, #3d8a35);
        color: white;
        border-radius: 25px;
        padding: 20px;
        margin-bottom: 30px;
    }

    .subscription-card h3 {
        margin-bottom: 15px;
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    .meal-calendar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        margin-bottom: 30px;
    }

    .meal-day {
        background: #f8f9fa;
        border-radius: 15px;
        padding: 15px;
    }

    .meal-slot {
        background: white;
        border-radius: 25px;
        padding: 12px;
        margin-bottom: 8px;
        cursor: pointer;
        transition: all 0.3s;
    }

    .meal-slot:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .payment-history {
        width: 100%;
        border-collapse: collapse;
        overflow-x: auto;
        display: block;
    }

    .payment-history th,
    .payment-history td {
        padding: 12px;
        text-align: right;
        border-bottom: 1px solid #eee;
        font-size: clamp(0.8rem, 2vw, 1rem);
    }

    .edit-form {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

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

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 25px;
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    .save-btn {
        grid-column: 1 / -1;
        padding: 12px;
        background: #54b948;
        color: white;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        font-weight: 500;
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }

    .upgrade-btn,
    .choose-meals-btn {
        padding: 12px 25px;
        background: linear-gradient(135deg, #54b948, #3d8a35);
        color: white;
        border: none;
        border-radius: 25px;
        font-size: clamp(1rem, 2.5vw, 1.1rem);
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(84, 185, 72, 0.3);
        text-align: center;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .upgrade-btn:hover,
    .choose-meals-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(84, 185, 72, 0.4);
        background: linear-gradient(135deg, #3d8a35, #54b948);
    }

    .upgrade-btn:active,
    .choose-meals-btn:active {
        transform: translateY(1px);
        box-shadow: 0 2px 10px rgba(84, 185, 72, 0.3);
    }

    @media (max-width: 768px) {
        .profile-header {
            flex-direction: column;
            text-align: center;
        }

        .nav-tabs {
            flex-direction: column;
        }

        .nav-tab {
            width: 100%;
        }

        .payment-history th,
        .payment-history td {
            padding: 8px;
        }
    }

    @media (max-width: 480px) {
        .profile-container {
            padding: 0 10px;
        }

        .profile-picture {
            width: 100px;
            height: 100px;
        }

        .edit-form {
            grid-template-columns: 1fr;
        }
    }



    .meal-selection {
        max-width: 1200px;
        margin: 0 auto;
      }

      .meal-type-toggle {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        gap: 20px;
      }

      .toggle-btn {
        padding: 12px 24px;
        border: none;
        border-radius: 25px;
        background: #fff;
        color: #2c3e50;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      }

      .toggle-btn.active {
        background: #54b948;
        color: white;
      }

      .meals-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        padding: 20px;
      }

      .meal-card {
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
        animation: fadeIn 0.5s ease-out;
      }

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

      .meal-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
      }

      .meal-info {
        padding: 20px;
      }

      .meal-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: #2c3e50;
      }

      .meal-description {
        color: #666;
        margin-bottom: 15px;
        font-size: 0.9rem;
      }

      .add-btn {
        background: #54b948;
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .add-btn:hover {
        background: #478f3d;
      }

      .cart-badge {
        position: fixed;
        top: 20px;
        left: 20px;
        background: #54b948;
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        box-shadow: 0 2px 10px rgba(84,185,72,0.3);
        animation: bounce 0.5s ease;
      }

      /* New floating confirm button styles */
      .confirm-meals-btn {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(45deg, #54b948, #7ac943);
        color: white;
        padding: 15px 40px;
        border: none;
        border-radius: 30px;
        font-size: 1.2rem;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(84,185,72,0.4);
        transition: all 0.3s ease;
        animation: float 3s ease-in-out infinite;
        width: 300px;
      }

      .confirm-meals-btn:hover {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 6px 20px rgba(84,185,72,0.6);
      }

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

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

      @keyframes float {
        0%, 100% {
          transform: translateX(-50%) translateY(0);
        }
        50% {
          transform: translateX(-50%) translateY(-10px);
        }
      }


      .checkout-container {
        max-width: 600px;
        margin: 40px auto;
        background: white;
        padding: 30px;
        border-radius: 25px;
        box-shadow: 0 4px 20px rgba(84, 185, 72, 0.15);
      }

      h1 {
        text-align: center;
        color: #2c3e50;
        margin-bottom: 30px;
        font-size: 2rem;
      }

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

      .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
      }

      .form-group input,
      .form-group select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 25px;
        font-size: 1rem;
      }

      .coupon-input {
        display: flex;
        gap: 10px;
      }

      .coupon-input input {
        flex: 1;
      }

      .verify-btn {
        padding: 12px 24px;
        background: #54b948;
        color: white;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        font-weight: 500;
      }

      .price-summary {
        margin-top: 30px;
        border-top: 2px solid #eee;
        padding-top: 20px;
      }

      .price-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        font-size: 1.1rem;
      }

      .price-row.total {
        font-weight: bold;
        font-size: 1.2rem;
        margin-top: 15px;
        border-top: 1px solid #eee;
        padding-top: 15px;
      }
