/* General Styles */
body {
  font-family: sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}

/* Navigation Bar */
.navbar {
  background-color: #007bff;
  padding: 10px 0;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar li {
  margin: 0 10px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Page Container */
.container {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  max-width: 90%;
  margin: 40px auto;
}

/* Headings */
h2, h3 {
  text-align: center;
  margin-bottom: 20px;
}

/* Form Elements */
input, select, button {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Buttons */
button {
  background: #007bff;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}

/* Response Message */
#response {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}

/* Page Visibility */
.page.hidden {
  display: none;
}

/* Orders Table */
.orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  overflow-x: auto;
  display: block;
}

.orders-table thead {
  background: #f0f0f0;
}

.orders-table th, .orders-table td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
  font-size: 14px;
}

/* Action buttons container */
.orders-table td:last-child {
  white-space: nowrap;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-start;
}

/* Individual action buttons */
.orders-table button {
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  border: none;
  transition: background 0.3s;
}

.orders-table button:hover {
  background-color: #0056b3;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  input, select, button {
    font-size: 14px;
  }

  .orders-table th, .orders-table td {
    font-size: 12px;
  }

  .orders-table button {
    font-size: 11px;
    padding: 4px 6px;
  }
}
