body {
  font-family: Arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 92vh;
  overflow: hidden;
  background-color: #e0e0e0; /* Light gray for background */
  color: #333; /* Dark text */
  
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #e0e0e0; /* Match body background */
  color: #333;
  flex-shrink: 0;
  box-shadow: inset 1px 1px 2px #bebebe, inset -1px -1px 2px #ffffff; /* Neumorphic shadow */
  border-radius: 10px; /* Rounded corners */
  height: 5rem;
}

.tabs button {
  flex: 1;
  padding: 1vw;
  margin: 0.2rem;
  cursor: pointer;
  background-color: #e0e0e0; /* Match body background */
  border: none; /* Remove border */
  border-radius: 10px;
  box-shadow: 3px 3px 6px #bebebe, -3px -3px 6px #ffffff; /* Neumorphic shadow */
  transition: background-color 0.3s ease;
}

.tabs button:hover {
  background-color: #d6d6d6; /* Slightly darker on hover */
}

/* Tab content */
.tab-content {
  box-shadow: inset 1px 1px 2px #bebebebb, inset -1px -1px 2px #ffffff; /* Neumorphic shadow */
          
}


/* Footer */
.footer {
  display: flex;
  justify-content: space-evenly;
  padding: 0.1vw;
  background-color: #e0e0e0; /* Match body background */
  color: #333;
  flex-shrink: 0;
  box-shadow: inset 1px 1px 2px #bebebe, inset -1px -1px 2px #ffffff; /* Neumorphic shadow */
  border-radius: 10px; /* Rounded corners */
  flex-wrap: wrap;
  bottom: 0;
}

.footer button {
  border-radius: 20px;
  flex: 1;
  margin: 0.1rem;
  padding: 0.1rem;
  background-color: #e0e0e0;
  color: navy;
  border: none; /* Remove border */
  cursor: pointer;
  box-shadow: 3px 3px 6px #bebebe, -3px -3px 6px #ffffff; /* Neumorphic shadow */
  transition: background-color 0.3s ease;
  min-width: 12vw; /* Ensures buttons have a minimum width */
}

.footer button:hover {
  background-color: #d6d6d6; /* Slightly darker on hover */
}

.footer div {
  cursor: pointer;
}

/* Product card */
.product-card {
  background-color: #e0e0e0;
  box-shadow: 3px 3px 6px #bebebe, -3px -3px 6px #ffffff; /* Neumorphic shadow */
  color: #333;
}

/* Dark theme styles */
body.dark-theme {
  background-color: #333;
  color: #e0e0e0;
}

body.dark-theme .product-card {
  box-shadow: 3px 3px 6px #1a1a1a, -3px -3px 6px #4d4d4d;
}

body.dark-theme .quantity-control button {
  box-shadow: 3px 3px 6px #1a1a1a, -3px -3px 6px #4d4d4d;
}

/* Theme switch styles */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2vw;
}

.theme-switch {
  position: relative;
  display: inline-block;
  width: 12vw;
  height: 6vw;
}

.theme-switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e0e0e0;
  transition: 0.1s;
  border-radius: 10px;
  box-shadow: inset 1px 1px 2px #bebebe, inset -1px -1px 2px #ffffff; /* Neumorphic shadow */
}

.slider:before {
  position: absolute;
  content: "Dark";
  height: 4vw;
  width: 4vw;
  left: 1vw;
  bottom: 1vw;
  background-color: #d6d6d6;
  transition: 0.1s;
  border-radius: 50%;
  box-shadow: 3px 3px 6px #bebebe, -3px -3px 6px #ffffff; /* Neumorphic shadow */
}

input:checked + .slider {
  background-color: #444;
}

input:checked + .slider:before {
  transform: translateX(5vw);
}

/* Round sliders */
.slider.round {
  border-radius: 50px;
}

.slider.round:before {
  border-radius: 50%;
}



.modal-item-image {
  width: 20rem;
  height: 20rem;
  display: block;
  margin: 0 auto;
}

