body {
  margin: 0;
  font-family: Times New Roman, sans-serif;
  background-color: #f0f0f0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e20002;
  color: white;
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .nav-left {
  display: flex;
  align-items: center;
}

nav .nav-left img {
  height: 40px;
  margin-right: 0.6rem;
}

nav .nav-left span {
  font-size: 1.2rem;
  font-weight: bold;
}

nav .nav-links {
  display: flex;
  align-items: center;
}

nav .nav-links a {
  color: white;
  margin: 0 0.8rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

nav .nav-links a:hover {
  text-decoration: underline;
}

nav .cart {
  font-weight: bold;
  background: black;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  font-size: 1.1rem;
  margin-left: 1rem;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown > a {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: white;
  margin: 0 0.8rem;
  text-decoration: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  border-radius: 6px;
  z-index: 1000;
}

.dropdown-content a {
  color: #000000 !important;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 1rem;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  color: #e20002 !important;
  font-weight: bold;
}

.dropdown:hover .dropdown-content {
  display: block;
}

section {
  padding: 2rem;
  margin: 1rem auto;
  max-width: 1000px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  
}
/* =========================
   Tables
   ========================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

table th, table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

table th {
  background-color: #e20002; /* Match your navbar red */
  color: white;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table tr:hover {
  background-color: #f1f1f1;
  transition: background 0.3s ease-in-out;
}


.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.btn {
  background: #e20002;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.btn:hover {
  background: #b30000;
}

.footer {
  text-align: center;
  padding: 1rem;
  background: #222;
  color: white;
  margin-top: 25rem;
}

/* Choices.js dropdown alignment fix */
.choices {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.choices__inner {
  padding: 0.6rem 0.75rem !important;
  border-radius: 8px !important;
  border: 1px solid #ccc !important;
  font-size: 1rem !important;
  background: #fff !important;
  min-height: 44px;
}

.choices__list--dropdown {
  border-radius: 8px !important;
  max-height: 200px;
  overflow-y: auto;
  width: 100% !important;
  box-sizing: border-box;
}

.choices__item--selectable {
  padding: 8px 10px !important;
}


