body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

form {
  margin-bottom: 20px;
}

input, select, button {
  margin: 10px 5px;
  padding: 10px;
  font-size: 16px;
}

img.AdminFunctions {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}
img.adminFunctions:hover {
  transform: scale(1.1);
}

/* Add styles for other admin cards if applicable */
.product-card, .order-card {
  width: 250px; /* Set fixed width for the card */
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 100%; /* Ensure cards fit within the viewport */
}

button {
  background-color: #28a745;
  color: #fff;
  border: none;
  cursor: pointer;
}

.Tabs {
  display: flex;
  justify-content: space-evenly;
  gap: 10px;
  margin-top: 20px;
  border-bottom: 5px solid black;
  padding-bottom: 10px;
  flex-wrap: wrap; /* Allow tabs to wrap on smaller screens */
  justify-content: center; /* Center tabs */
}

.Tabs h1 {
  margin: 50px;
}

h1 {
  display: absolute;
  text-align: center;
}

.Tabs a {
  padding: 10px 20px;
  font-size: 24px;
  font-weight: bold;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.Tabs a:hover {
  background-color: #0056b3;
}

#admin-dashboard {
  text-align: center;
  margin-top: 50px;
}

#admin-dashboard h2 {
  font-family: "MedievalSharp", serif;
  font-size: 36px;
  color: black;
}

#admin-dashboard p {
  font-size: 18px;
  color: #555;
}

#YouTubeURL {
  width: 800px;
}

.product-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.product-card {
  width: 250px; /* Fixed width for the card */
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  max-width: 100%; /* Ensure cards fit within the viewport */
}

.product-card img.product-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 1.25em;
  margin-bottom: 10px;
}

.product-card p {
  margin: 5px 0;
  color: #555;
}

.product-card .product-actions {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.product-card button {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.product-card button:hover {
  background-color: #0056b3;
}

.order-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.order-card {
  width: 250px; /* Fixed width for the card */
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  max-width: 100%; /* Ensure cards fit within the viewport */
}

.order-card h3 {
  font-size: 1.25em;
  margin-bottom: 10px;
}

.order-card p {
  margin: 5px 0;
  color: #555;
}

.order-card .order-actions {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.order-card button {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.order-card button:hover {
  background-color: #0056b3;
}
