* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100vh;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
 
/* Light Theme */
.sun-icon {
  background: linear-gradient(45deg, #ff6f00, #ff5722, #e64a19);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.theme-toggle {
  margin-top: 23px;
  font-size: 25px;
  text-align: right;
}

body.light-theme {
  background-color: #ffffff;
  color: #000000;
}

body.light-theme .header {
  background-color: #f0f0f0;
}

body.light-theme footer {
  background-color: #f0f0f0;
}

body.light-theme .content {
  background-color: #ffffff;
  color: #000000;
}

body.light-theme .product {
  background-color: #f9f9f9;
  color: #000000;
}

body.light-theme .product:hover {
  background-color: #e0e0e0;
}

/* Dark Theme */


body.dark-theme .header {
  background-color: #000;
}

body.dark-theme footer {
  background-color: #000;
}

body.dark-theme .content {
  background-color: #1e1e1e;
  color: #ffffff;
}

body.dark-theme .address {
  background-color: #000;
  color: #ffffff;
}

body.dark-theme .specific-modal{
  background-color: #000;
  color: #ffffff;
}

body.dark-theme .product {
  background-color: #2e2e2e;
  color: #ffffff;
}

body.dark-theme .product:hover {
  background-color: #3c3c3c;
}

body.light-theme .fa-sun {
  display: inline;
}

body.dark-theme .fa-moon {
  display: none;
}

body.dark-theme .fa-sun {
  display: inline;
}


/* side bar theme */

body.sidebar-open .sidebar {
  right: 0;
}

body.sidebar-open .sidebar-overlay {
  display: block;
}

body.light-theme .sidebar {
  background-color: #fff;
  color: #000;
}

body.dark-theme .sidebar {
  background-color: #333;
  color: #fff;
}

body.light-theme .category {
  background-color: #fff;
  color: #000;
}

body.dark-theme .category {
  background-color: #333;
  color: #fff;
}

/* General styles for dark and light themes */
body.light-theme {
  background-color: #f0f0f0;
  color: #000;
}

body.dark-theme {
  background-color: #121212;
  color: #fff;
}

body.light-theme .theme-toggle .fa-moon {
  display: inline;
}

body.light-theme .theme-toggle .fa-sun {
  display: none;
}

body.dark-theme .theme-toggle .fa-moon {
  display: none;
}

body.dark-theme .theme-toggle .fa-sun {
  display: inline;
}

body.dark-theme .header{
  box-shadow: 0 4px 6px #e0dddd90;
  padding: 10px 0;
}

body.light-theme .header{
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.overall {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header{
  flex-shrink: 0;
}


.header {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.header-logo {
  margin-top: 10px;
}

/* Basic styling for the cart icon and count */
.cart-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-top: 20px;
  font-size: 30px;
  background: linear-gradient(to right, rgb(2, 42, 136), rgb(125, 139, 188));
  -webkit-background-clip: text;

}

.cart-icon i {
  font-size: 24px;
  color:rgb(2, 77, 188);
}

.header input[type="text"] {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  color: #2e8ac7;
  animation: fadeIn 1s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.dark-theme .modal {
  background-color: #000;
  color: #fff;
}

.light-theme input[type="text"] {
  background-color: #fff;
  color: #2e8ac7;
  border: 1px solid #2e8ac7;
  border-radius: 10px;
}

.dark-theme input[type="text"] {
  background-color: #000000;
  color: #fff;
  border: 1px solid #2e8ac7;
  border-radius: 10px;
}

.dark-theme .modal-header {
  background-color: #000000;
  color: #fff;
}

.dark-theme .modal-product-name {
  background-color: #fff;
  color: #000000;
}

.input-field {
  margin-top: 10px;
}




footer {
  background-color: #f0f0f0;
  padding: 20px 0;
  text-align: center;
}

footer p i {
  margin-right: 5px;
  color: #2e8ac7;
}

footer .rights {
  text-align: left;
}

footer .footer-contact {
  display: flex;
  justify-content: space-around;
}

.content {
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  text-align: center;
  max-height: 80vh;
  overflow-y: auto;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.product {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.product img {
  width: 100px;
  height: 100px;
  margin-right: 20px;
  border-radius: 15px;
}

.details {
  flex: 1;
}

.details h2 {
  margin: 0;
  font-size: 1.5em;
}

.details p {
  margin: 5px 0 0;
}


/* Sidebar Styles */
/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  /* Initially hidden */
  width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
}

.sidebar h2 {
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
}

#cart-items {
  max-height: 60%;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.cart-item .details {
  flex: 1;
  margin-left: 10px;
}

.cart-item .details h3 {
  margin: 0;
  font-size: 16px;
}

.cart-item .details p {
  margin: 5px 0 0;
  font-size: 14px;
}

.cart-item .remove-item {
  cursor: pointer;
  color: red;
  font-size: 18px;
}

.cart-footer {
  padding: 20px 0;
  text-align: center;
}

.total-amount {
  font-size: 18px;
  margin-bottom: 20px;
}

.purchase-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.purchase-button:hover {
  background-color: #0056b3;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  /* Initially hidden */
  z-index: 999;
}

body.sidebar-open .sidebar {
  right: 0;
}

body.sidebar-open .sidebar-overlay {
  display: block;
}


.details {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.details .product-info {
  margin-bottom: 40px;
  /* Leave space for the buttons */
}

.details .button-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.details .add-to-cart,
.details .quantity-controls button {
  background-color: #2e8ac7;
  color: white;
  border: none;
  padding: 5px 10px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.details .add-to-cart:hover,
.details .quantity-controls button:hover {
  background-color: #2466a6;
}

.quantity-controls {
  display: none;
  align-items: center;
  gap: 10px;
}

.cart-page-button{
  width: 20px;
  height: 20px;
  margin: 5px;
  font-size: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border-color: #2466a6;
}

.last-flex{
  display: flex;
  justify-content: space-between;
}

.cart-page-align{
  display: flex;
  justify-content: flex-start;
}

.quantity-center{
  margin-top: 3px;
}

.top-quantity{
  margin-top: 3px;
}


/* Customer Details Section */
.customer-details {
  margin: 20px auto;
  width: 100%;
  padding-bottom: 5px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: var(--bg-color);
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
}

.customer-details h2 {
  margin-bottom: 20px;
  margin-top: 10px;
  text-align: center;
  font-weight: bold;
  background: linear-gradient(90deg, rgba(31, 95, 246, 1) 0%, rgba(118, 96, 176, 1) 35%, rgba(190, 82, 92, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.customer-details .form-group {
  margin-bottom: 15px;
}

.customer-details .form-group label {
  display: block;
  margin-bottom: 5px;
}

.customer-details .form-group input,
.customer-details .form-group textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

.customer-details .buy-now {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2e8ac7;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.flex-center {
  display: flex;
  justify-content: center;
}

.customer-details .buy-now:hover {
  background-color: #2466a6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Light Theme */
body.light-theme .customer-details {
  background-color: #f9f9f9;
  color: #000000;
}

body.light-theme .customer-details:hover {
  background-color: #e0e0e0;
}

/* Dark Theme */
body.dark-theme .customer-details {
  background-color: #000000a5;
  color: #ffffff;
}


.quantity-dropdown {
  display: inline-block;
  position: relative;
}

.quantity-dropdown select {
  /* appearance: none; */
  /* background-color: #f9f9f9; */
  background: none;
  border: none;
  margin-top: 5px;
  color: #000;
  padding: 5px;
  font-size: 1em;
  /* border: 2px solid #ccc; */
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}

.quantity-dropdown select:focus {
  border-color: #2e8ac7;
}

.quantity-dropdown select:hover {
  background-color: #e0e0e0;
}


/* Dark Theme */
body.dark-theme .quantity-dropdown select {
  /* background-color: #333; */
  color: #fff;
  border-color: #444;
}

body.dark-theme .quantity-dropdown select:hover {
  background-color: #444;
}

body.dark-theme .quantity-dropdown::after {
  color: #fff;
}


.fly-img {
  position: absolute;
  width: 50px;
  height: 50px;
  z-index: 1000;
  pointer-events: none;
  transition: transform 1s ease, opacity 1s ease;
  margin-left: 50px;
}

@keyframes fly-to-cart {
  0% {
    transform: scale(1) translateX(0);
    opacity: 1;
  }

  100% {
    transform: scale(1) translateX(100vw);
    opacity: 0;
    top: 3%;
  }
}

.fly-to-cart {
  animation: fly-to-cart 2.5s forwards;
}


/* ------------------------------ */

/* admin panel css starts here  */


/* -------------------------------- */

.admin-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.admin-title {
  font-size: 18px;
  margin: 10px 0 0;
  line-height: 1.1;
  color: #fff;
}

.admin-box {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(31, 95, 246, 1) 0%, rgba(118, 96, 176, 1) 35%, rgba(190, 82, 92, 1) 100%);
  color: #fff;
  font-size: 24px;
  text-align: center;
  transition: transform 0.3s;
}

.admin-box1 {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 136, 0, 1) 0%, rgba(255, 93, 32, 1) 50%, rgba(255, 51, 0, 1) 100%);
  color: #fff;
  font-size: 24px;
  text-align: center;
  transition: transform 0.3s;
}

.admin-box2 {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 0, 102, 1) 0%, rgba(255, 94, 0, 1) 50%, rgba(255, 153, 51, 1) 100%);
  color: #fff;
  font-size: 24px;
  text-align: center;
  transition: transform 0.3s;
}

.admin-box3 {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(136, 0, 255, 1) 0%, rgba(93, 32, 255, 1) 50%, rgba(51, 0, 255, 1) 100%);
  color: #fff;
  font-size: 24px;
  text-align: center;
  transition: transform 0.3s;
}

.admin-box4 {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(0, 191, 255, 1) 0%, rgba(0, 122, 255, 1) 50%, rgba(0, 63, 255, 1) 100%);
  color: #fff;
  font-size: 24px;
  text-align: center;
  transition: transform 0.3s;
}

.admin-box5 {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(0, 255, 85, 1) 0%, rgba(0, 204, 119, 1) 50%, rgba(0, 153, 77, 1) 100%);
  color: #fff;
  font-size: 24px;
  text-align: center;
  transition: transform 0.3s;
}


.admin-box:hover {
  transform: scale(1.05);
}

.gap {
  gap: 15px;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: move 5s linear infinite;
}

@keyframes move {
  from {
    transform: translateY(0) translateX(0);
  }

  to {
    transform: translateY(200px) translateX(200px);
  }
}

/* addCategories page starts here  */


.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #2e8ac7;
  border-radius: 5px;
}

.form-group button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #2e8ac7;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-group button:hover {
  background-color: #1e6a99;
}


/* addGeneral Product css starts here  */

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-group button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #2e8ac7;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-group button:hover {
  background-color: #1e6a99;
}


/* addSpecificProduct styles starts here  */


.add-product-button {
  padding: 10px 20px;
  background-color: #2e8ac7;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.add-product-button:hover {
  background-color: #1e6a99;
  transform: scale(1.05);
}

.products-list {
  overflow-y: auto;
  max-height: 50vh;
}


.specific-product h1 {
  margin-bottom: 10px;
}

.product {
  display: flex;
  justify-content: space-around;
  flex: 1 1 calc(33.333% - 20px);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.product img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  border-radius: 50%;
}

.specific-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  /* Adjust the width as needed */
  max-width: 600px;
  /* Limit the maximum width */
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  
  /* Limit the maximum height */
  overflow-y: auto;
  /* Add scroll if content exceeds the max height */
}

.specific-modal.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.specific-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.specific-modal-overlay.active {
  display: block;
  opacity: 1;
}

.modal-header {
  margin-bottom: 20px;
  font-size: 1.5em;
  position: relative;
  font-weight: 700;
  display: inline;
}

.modal .specific-form-group {
  margin-bottom: 20px;
}

.modal input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
}

.modal .submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #2e8ac7;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s, transform 0.3s;
}

.modal .submit-button:hover {
  background-color: #1e6a99;
  transform: scale(1.05);
}

.specific-modal .specific-close-button {
  background-color: transparent;
  border: none;
  color: #333;
  font-size: 1.5em;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}

.modal .close-button:hover {
  color: #f44336;
  transform: scale(1.2);
}

.specific-form-group {
  margin-bottom: 15px;
}

.specific-form-group label {
  display: block;
  margin-bottom: 5px;
}

.specific-form-group input[type="text"],
.specific-form-group input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.specific-form-group button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #2e8ac7;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.specific-form-group button:hover {
  background-color: #1e6a99;
}

/* categories html styles starts here  */

.category-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
}

.search-bar {
  margin-bottom: 2px;
  text-align: center;
}

.search-bar input[type="text"] {
  width: 96%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(50% - 10px);
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  position: relative;
}

.category img {
  width: 100px;
  height: 100px;
  margin-right: 10px;
}

.cat-name {
  font-size: 11px;
}

.category .actions ,.product .actions{
  display: flex;
  gap: 10px;
}


.category .actions .edit,
.category .actions .delete,
.product .actions .edit,
.product .actions .delete {
  cursor: pointer;
  color: #2e8ac7;
  font-size: 22px;
}

.category .actions .edit:hover,
.category .actions .delete:hover {
  color: #1e6a99;
}

.add-category-button {
  display: block;
  width: 150px;
  padding: 10px;
  margin-top: 20px;
  text-align: center;
  background-color: #2e8ac7;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
  margin-bottom: 20px;
}

.add-category-button:hover {
  background-color: #1e6a99;
  transform: scale(1.05);
}

@media (max-width: 320px) {
  .cat-name {
    margin-right: 20px;
  }

  .category .actions .edit,
  .category .actions .delete {
    cursor: pointer;
    color: #2e8ac7;
    font-size: 20px;
  }

  .category-title h1 {
    margin-right: 15px;
  }
}

@media (max-width: 768px) {
  .category {
    width: 100%;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 500px;
  text-align: center;
}

.modal-content img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
}

.modal-close {
  cursor: pointer;
  color: #2e8ac7;
}

.modal-close:hover {
  color: #1e6a99;
}


/* choose category page starts here  */


.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow-y: auto;
  max-height: 50vh;
}

.category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(33.333% - 10px);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s;
}

.category:hover {
  transform: scale(1.05);
}

.category img {
  width: 70px;
  height: 70px;
  margin-right: 10px;
  border-radius: 50%;
}

.choose-add-product-button {
  display: block;
  width: 200px;
  margin-left: 20px;
  padding: 15px;
  text-align: center;
  background-color: #2e8ac7;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 20px;
  transition: background-color 0.3s, transform 0.3s;
  align-self: flex-end;
}

.add-product-button:hover {
  background-color: #1e6a99;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .category {
    width: 100%;
  }
}


/* deliver page starts here  */


/* .container {
  padding: 20px;
} */

.customer {
  /* border: 1px solid #ddd; */
  margin-bottom: 10px;
}

.customer-details {
  display: flex;
  flex-direction: column;
  padding: 10px;
  /* align-items: center; */
}

.customer-details p {
  margin: 5px 0;
}

.deliver-list {
  height: 60vh;
  overflow: auto;
  /* display: flex;
  flex-direction: column; */
  align-items: center;
}

.purchases {
  display: none;
  margin-top: 10px;
  border-top: 1px solid #ddd;
  padding-top: 10px;
  
  text-align: center;
  overflow: hidden;
}

/* Animations */
.purchases.show {
  display: block;
  animation: smoothScroll 0.5s ease-out;
}

@keyframes smoothScroll {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button styles */
.view-purchases-btn,
.deliver-btn {
  background-color: #2e8ac7;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.view-purchases-btn:hover,
.deliver-btn:hover {
  background-color: #1e6c9b;
}

/* Header and footer styles */
.header-logo img {
  width: 100px;
  height: 50px;
}

footer {
  background-color: #f8f8f8;
  padding: 10px 0;
  border-top: 1px solid #ddd;
}

footer p {
  margin: 0;
  color: #555;
}

footer i {
  color: #2e8ac7;
}


/* product page starts here  */

.cart-animation {
  position: absolute;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.cart-animation.start {
  transform: scale(0.5);
  opacity: 1;
}

.cart-animation.end {
  transform: scale(0);
  opacity: 0;
}

/* order placed page starts here  */

.order-bg-color{
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, rgba(31, 95, 246, 1) 0%, rgba(118, 96, 176, 1) 35%, rgba(190, 82, 92, 1) 100%);
  /* background: linear-gradient(90deg, rgba(255, 136, 0, 1) 0%, rgba(255, 93, 32, 1) 50%, rgba(255, 51, 0, 1) 100%); */
}

.message-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.message {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: slideIn 3s ease-out forwards, glow 1.5s infinite alternate;
}

@keyframes slideIn {
  from {
      transform: translateY(-50px);
      opacity: 0;
  }

  to {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes glow {
  from {
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  }

  to {
      text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.6);
  }
}


   /* Add the necessary CSS for loader */
   .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    z-index: 99989999;
}

.gradient-text {
    font-size: 5rem;
    font-weight: bold;
    background: linear-gradient(to right, #f56565, #4299e1);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.visible {
    opacity: 1;
}

#supermarket {
    font-size: 2rem;
    background: linear-gradient(to right, #805ad5, #ed64a6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    opacity: 1;
text-align: center;
    transition: opacity 0.5s ease-in-out;
    display: none;
    vertical-align: sub;
    margin: 0.5rem;
}
.spinner {
  border: 8px solid rgba(0, 0, 0, 0.1); /* Light grey */
  border-left: 8px solid #9f1dd3; /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-left:45%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px; /* Space between spinner and text */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-containers {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff; /* White background */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it is above other content */
}

.bouncing-dots {
  text-align: center;


}

.bouncing-dots div {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  
  background: #3498db;
  border-radius: 50%;
  animation: bounce 1.5s infinite ease-in-out;
}

.bouncing-dots div:nth-child(2) {
  animation-delay: 0.3s;
}

.bouncing-dots div:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-15px);
  }
}
/*
complete button
*/

/* CSS */
.button-85 {
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-85:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.button-85:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}



/* CSS */
.button-78 {
  align-items: center;
  appearance: none;
  background-clip: padding-box;
  background-color: initial;
  background-image: none;
  border-style: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  flex-direction: row;
  flex-shrink: 0;
  font-family: Eina01,sans-serif;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  line-height: 24px;
  margin: 10px;
  min-height: 48px;
  outline: none;
  overflow: visible;
  padding: 19px 21px;
  pointer-events: auto;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  width: auto;
  word-break: keep-all;
  z-index: 0;
}

@media (min-width: 768px) {
  .button-78 {
    padding: 19px 32px;
  }
}

.button-78:before,
.button-78:after {
  border-radius: 80px;
}

.button-78:before {
  background-image: linear-gradient(92.83deg, #ff7426 0, #f93a13 100%);
  content: "";
  display: block;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -2;
}

.button-78:after {
  background-color: initial;
  background-image: linear-gradient(#541a0f 0, #0c0d0d 100%);
  bottom: 4px;
  content: "";
  display: block;
  left: 4px;
  overflow: hidden;
  position: absolute;
  right: 4px;
  top: 4px;
  transition: all 100ms ease-out;
  z-index: -1;
}

.button-78:hover:not(:disabled):before {
  background: linear-gradient(92.83deg, rgb(255, 116, 38) 0%, rgb(249, 58, 19) 100%);
}

.button-78:hover:not(:disabled):after {
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  transition-timing-function: ease-in;
  opacity: 0;
}

.button-78:active:not(:disabled) {
  color: #ccc;
}

.button-78:active:not(:disabled):before {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), linear-gradient(92.83deg, #ff7426 0, #f93a13 100%);
}

.button-78:active:not(:disabled):after {
  background-image: linear-gradient(#541a0f 0, #0c0d0d 100%);
  bottom: 4px;
  left: 4px;
  right: 4px;
  top: 4px;
}

.button-78:disabled {
  cursor: default;
  opacity: .24;
}
.cartTotal{
  position: absolute;
  bottom: 0;
  right: 0;

}

.placeOrder {
  position: relative;
  padding: 15px 30px; /* Adjusted padding */
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  width: 150px; /* Reduced width */
  overflow: hidden;
  border-radius: 30px; /* Reduced border-radius */
  color: #fff; /* Ensure text color is visible on the background */
  text-align: center; /* Center text horizontally */
  line-height: 1.5; /* Adjust line height for better text positioning */
}

.placeOrder span {
  position: relative;
  color: #fff;
  font-size: 16px; /* Reduced font size */
  font-family: Arial, sans-serif; /* Added fallback font */
  letter-spacing: 5px; /* Reduced letter spacing */
  z-index: 1;
}

.placeOrder .liquid {
  position: absolute;
  bottom: 0; /* Move the liquid to the bottom */
  left: 50%;
  transform: translateX(-50%);
  width: 150px; /* Adjusted width */
  height: 150px; /* Adjusted height */
  background: #4973ff;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, .5); /* Adjusted box-shadow spread */
  transition: .5s;
}

.placeOrder .liquid::after,
.placeOrder .liquid::before {
  content: '';
  width: 200%;
  height: 200%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -75%);
  background: #000;
}

.placeOrder .liquid::before {
  border-radius: 45%;
  background: rgba(20, 20, 20, 1);
  animation: animate1 5s linear infinite;
}

.placeOrder .liquid::after {
  border-radius: 40%;
  background: rgba(20, 20, 20, .5);
  animation: animate2 10s linear infinite;
}

.placeOrder:hover .liquid {
  width:170px;
}

@keyframes animate1 {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
}

@keyframes animate2 {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -75%) rotate(-360deg);
  }
}

#search-contents{
  display: none;
}