/* scripts/styles.css */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 10px;
  background-color: #f4f4f4;
  color: #333;
  font-size: 16px;
}
.container {
  max-width: 800px; /* Restored for desktop, 100% on mobile */
  margin: 0 auto;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
h1 {
  color: #0056b3;
  font-size: 24px;
  margin: 10px 0; /* Reduced */
}
h2 {
  color: #0056b3;
  font-size: 20px;
  margin: 8px 0; /* Reduced */
}
.error {
  color: red;
  font-weight: bold;
  font-size: 16px;
  margin: 5px 0;
}
.success {
  color: green;
  font-weight: bold;
  font-size: 16px;
  margin: 5px 0;
}
a {
  color: #007bff;
  text-decoration: none;
  font-size: 16px;
  padding: 6px; /* Reduced for desktop */
}
a:hover {
  text-decoration: underline;
}
.back-section {
  margin-top: 10px; /* Reduced */
}
ul {
  list-style: none; /* Remove bullets */
  margin: 2px 0; /* Tightened */
  padding: 0; /* Remove default indent */
}
li {
  margin: 2px 0; /* Tightened */
  padding: 3px; /* Minimal */
  font-size: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px; /* Reduced */
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
th, td {
  padding: 8px; /* Reduced from 10px */
  border: 1px solid #ccc;
  text-align: left;
  font-size: 15px;
}
th {
  background-color: #f8f8f8;
}
.action-links a {
  margin-right: 8px; /* Reduced */
  display: inline-block;
}
input, button, select {
  width: 100%;
  padding: 10px; /* Reduced from 12px */
  font-size: 16px;
  margin: 4px 0; /* Reduced */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
button {
  background-color: #0056b3;
  color: white;
  border: none;
  cursor: pointer;
}
button:hover {
  background-color: #003d82;
}
a, button, input[type="submit"] {
  min-height: 44px; /* Slightly reduced for desktop */
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px) {
  body { padding: 5px; }
  .container { max-width: 100%; padding: 10px; }
  h1 { font-size: 20px; }
  h2 { font-size: 18px; }
  ul { margin: 4px 0; }
  li { margin: 4px 0; padding: 5px; font-size: 16px; }
  th, td { font-size: 14px; padding: 8px; }
  .action-links a { display: block; margin: 5px 0; }
  input, button, select { padding: 12px; } /* Restore for mobile */
  a, button, input[type="submit"] { min-height: 48px; min-width: 48px; } /* Mobile touch */
}