body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #e0f7fa;
  }

  body {
    background-image: url('background.jpeg'); 
    background-size: cover;    
    background-position: center;
    background-repeat: no-repeat;
    color: white;
  }

  header {
    background-color: #009688;
    padding: 20px 0;
    text-align: center;
  }
  
  .shop-name {
    color: white;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px; 
    transition: 0.3s;
  }
  
  nav ul li a:hover {
    color: #c8ffec;
    text-decoration: underline;
  }
  
  .nav-icon {
    width: 20px;
    height: 20px;
  }

  .hero {
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(0,0,0,0.4);
  }
  
  .hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .hero-text p {
    font-size: 24px;
  }
  

  .auth-section {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
  }
  
  .auth-container {
    background-color: rgba(0,0,0,0.6);
    padding: 30px;
    border-radius: 10px;
    width: 320px;
    text-align: center;
  }
  

  .tabs {
    display: flex;
    flex-direction: column;
  }
  
  .tabs input[type="radio"] {
    display: none;
  }
  
  .tabs label {
    display: inline-block;
    padding: 10px 30px;
    cursor: pointer;
    border: 2px solid white;
    border-radius: 5px;
    margin: 0 5px;
    font-weight: bold;
    transition: 0.3s;
    color: white;
  }
  
  .tabs input#login-tab:checked + label[for="login-tab"],
  .tabs input#signup-tab:checked + label[for="signup-tab"] {
    background-color: white;
    color: #009688;
  }
  
  .tab-content {
    display: none;
    margin-top: 20px;
  }
  
  #login-tab:checked ~ .login,
  #signup-tab:checked ~ .signup {
    display: block;
  }
  
  .tab-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .tab-content input {
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
  }
  
  .tab-content button {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #00bfa5;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .tab-content button:hover {
    background-color: #008e76;
  }

  .medicines-section {
    padding: 50px 20px;
    text-align: center;
    color: #333;
    background-color: #f8f9fa;
  }
  
  .medicines-section h1 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #009688;
  }
  
  .medicines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    justify-items: center;
  }
  
  .medicine-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 15px;
    transition: transform 0.3s;
  }
  
  .medicine-card:hover {
    transform: scale(1.05);
  }
  
  .medicine-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .medicine-card h3 {
    margin: 10px 0 5px 0;
    color: #009688;
  }
  
  .medicine-card p {
    font-weight: bold;
  }
  
  .contact-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #f8f9fa;
    color: #333;
  }
  
  .contact-section h1 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #009688;
  }
  
  .contact-info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: auto;
  }
  
  .contact-info {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 250px;
    text-align: left;
  }
  
  .contact-info h3 {
    color: #009688;
    margin-bottom: 10px;
  }
  
  .contact-info p {
    line-height: 1.8;
    margin: 5px 0;
  }
  
  
  @media (max-width: 768px) {
    .contact-info-container {
      flex-direction: column;
      align-items: center;
    }
  }
  .about-section {
    padding: 50px 20px;
    background-color: #f8f9fa;
    color: #333;
  }
  
  .about-container {
    max-width: 900px;
    margin: auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  .about-container h1 {
    font-size: 36px;
    color: #009688;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .about-container h2 {
    font-size: 28px;
    color: #00796b;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  
  .about-container p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .about-container ul {
    font-size: 18px;
    line-height: 1.6;
    padding-left: 20px;
  }
  
  .about-container ul li {
    margin-bottom: 10px;
  }

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #e0f7fa;
  color: #333;
}


header {
  background-color: #009688;
  padding: 15px 0;
  color: white;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}

header nav ul li a:hover {
  color: #c8ffec;
  text-decoration: underline;
}


.cart-section {
  max-width: 900px;
  margin: 50px auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cart-section h1 {
  text-align: center;
  color: #009688;
  margin-bottom: 30px;
  font-size: 36px;
}


.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.cart-table th, .cart-table td {
  padding: 15px;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 16px;
}

.cart-table th {
  background-color: #f0f0f0;
  color: #009688;
}

.cart-table input[type="number"] {
  width: 60px;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  text-align: center;
}


.customer-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.customer-info input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}


.customer-info button {
  padding: 15px;
  background-color: #00bfa5;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.customer-info button:hover {
  background-color: #008e76;
}


.cart-section h2 {
  color: #00796b;
  margin-top: 25px;
  margin-bottom: 10px;
}


@media (max-width: 768px) {
  header nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .cart-section {
    margin: 20px;
    padding: 25px;
  }

  .cart-table th, .cart-table td {
    font-size: 14px;
    padding: 10px;
  }

  .customer-info button {
    font-size: 16px;
    padding: 12px;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #e0f7fa;
  margin: 0;
  padding: 0;
  color: #333;
}


.site-header {
  background-color: #009688;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid white;
}

.logo h2 {
  margin: 0;
  font-size: 1.5em;
}


h1 {
  text-align: center;
  margin-top: 30px;
  color: #00695c;
}

.cart-container {
  width: 80%;
  max-width: 900px;
  margin: 30px auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
}


.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding: 15px 10px;
}

.cart-item img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item .info {
  flex: 1;
  margin-left: 10px;
}

.cart-item h3 {
  margin: 0;
  color: #00796b;
}

.cart-item p {
  margin: 5px 0;
  color: #444;
}


.controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  background-color: #009688;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 1em;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: #00796b;
}

.cancel-btn {
  background-color: #e53935;
  border: none;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  color: white;
  transition: 0.3s;
}

.cancel-btn:hover {
  background-color: #c62828;
}


.total {
  text-align: right;
  font-size: 1.3em;
  font-weight: bold;
  color: #004d40;
  margin: 20px 50px 0 0;
}


#userEmail {
  display: block;
  width: 80%;
  max-width: 400px;
  margin: 20px auto;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #bbb;
  font-size: 1em;
  outline: none;
}

#userEmail:focus {
  border-color: #009688;
  box-shadow: 0 0 5px rgba(0, 150, 136, 0.4);
}

/
.checkout-btn {
  display: block;
  background-color: #009688;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 25px;
  font-size: 1em;
  cursor: pointer;
  margin: 15px auto 30px;
  transition: 0.3s;
}

.checkout-btn:hover {
  background-color: #00796b;
  transform: scale(1.05);
}


.empty-message {
  text-align: center;
  color: #666;
  font-size: 1.1em;
  margin: 20px 0;
}


@media (max-width: 600px) {
  .cart-item {
    flex-direction: column;
    text-align: center;
  }

  .controls {
    justify-content: center;
  }

  .cart-item img {
    margin-bottom: 10px;
  }

  .total {
    text-align: center;
    margin-right: 0;
  }
}
