/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #eef2f7;
  color: #333;
  padding: 20px;
}

/* Header */
header {
  background: #004466;
  color: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
}

/* Container */
.container {
  max-width: 800px;
  margin: 20px auto;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* Navigation */
nav {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
nav button {
  background: #007acc;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}
nav button:hover {
  background: #005fa3;
}

/* Forms */
form {
  margin-bottom: 20px;
}
form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
form input, form select, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
form button {
  background: #28a745;
  border: none;
  color: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}
form button:hover {
  background: #218838;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
table thead {
  background: #007acc;
  color: #fff;
}
table th, table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}
table tr:nth-child(even) {
  background: #f9f9f9;
}
table tr:hover {
  background: #f1f1f1;
}

/* Messages */
.message {
  background: #d4edda;
  color: #155724;
  padding: 12px;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  margin-bottom: 12px;
}
.error {
  background: #f8d7da;
  color: #721c24;
  padding: 12px;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* Utility */
.hidden {
  display: none;
}

/* Custom checkbox styling */
/* Custom checkbox styling */
input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #007acc;
  border-radius: 3px;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
  margin-right: 6px;
}

input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 5px;
  width: 4px;
  height: 9px;
  border: solid #007acc;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Make the label and checkbox inline */
label.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}


