/* Global Styles */
body {
  font-family: "Montserrat", sans-serif;
  background-color: #103173;
  /* background: url('../../img/pic.png') no-repeat center center fixed; */
  background-size: cover;
  color: black;
  margin: 0;
  padding: 0;
}

/* Order Container Styles */
.order-container {
  min-height: 800px;
  max-width: 800px;
  margin: 20px auto;
  /* background-color: rgba(255, 255, 255, 0.7); */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 15px solid rgb(138, 138, 135);
}

/* Header Styles */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f4f4f4;
  max-height: 200px;
  padding: 10px;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.company-logo img {
  max-width: 50px;
  /* animation: bounce 2s infinite; */
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
}

.company-details {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.company-details h1 {
  margin: 0;
  font-size: 26px;
  text-transform: uppercase;
  color: #000000;
}

.company-details p {
  margin: 5px 0;
  font-size: 14px;
  color: #666;
}

.receipt-details {
  text-align: left;
  margin-bottom: 20px;
}

.receipt-details h2 {
  text-align: center;
  font-size: 20px;
  color: rgb(0, 0, 0);
  text-transform: uppercase;
}

.receipt-details p {
  margin: 5px 0;
  font-size: 14px;
  color: rgb(0, 0, 0);
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.receipt-table th,
.receipt-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.receipt-table th {
  background-color: black;
  color: #000000;
  text-transform: uppercase;
}

.receipt-table tbody tr:nth-child(even) {
  background-color: #f4f4f4;
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* body {
                background: url('../../img/pic1.png') no-repeat center center fixed;
            } */

  .company-logo img {
    max-height: 80px;
  }

  .company-details h1 {
    font-size: 20px;
  }
  .order-container {
    padding: 15px;
  }

  .receipt-table th,
  .receipt-table td {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .order-container {
    padding: 10px;
  }

  .company-logo img {
    max-width: 80px;
  }

  .company-details h1 {
    font-size: 18px;
  }

  .company-details p {
    font-size: 10px;
  }
  .receipt-details h2 {
    font-size: 16px;
  }

  .receipt-details p {
    font-size: 12px;
  }

  .receipt-table th,
  .receipt-table td {
    padding: 6px;
    font-size: 12px;
  }
}

/* App Drawer Styles - Hidden by default */
.app-drawer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgb(255, 255, 255);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.app-drawer button {
  background-color: #007bff;
  border: none;
  color: rgb(0, 0, 0);
  padding: 10px;
  font-size: 14px; /* Reduced font size */
  border-radius: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease-in-out;
}

.app-drawer button:hover {
  background-color: #0056b3;
  transform: scale(1.05); /* Slight hover effect */
}

.app-drawer button i {
  margin-bottom: 3px;
  font-size: 18px; /* Reduced icon size */
}

.app-drawer .logout-btn {
  background-color: #dc3545;
}

.app-drawer .logout-btn:hover {
  background-color: #c82333;
}

/* Media query for screen widths 768px or less */
@media (max-width: 768px) {
  .app-drawer {
    display: flex;
  }

  .app-drawer button {
    padding: 8px; /* Further reduce padding */
    font-size: 13px; /* Smaller font size */
    border-radius: 30px; /* Smaller border radius */
  }

  .app-drawer button i {
    font-size: 16px; /* Smaller icon size */
  }
}

/* Media query for screen widths 480px or less */
@media (max-width: 480px) {
  .app-drawer {
    display: flex;
  }

  .app-drawer button {
    padding: 5px; /* Reduce padding further for smaller screens */
    font-size: 12px; /* Even smaller font size */
    border-radius: 25px; /* Adjust border radius */
  }

  .app-drawer button i {
    font-size: 14px; /* Even smaller icon size */
  }
}
