/* Reset some basic elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f4f4f4;
  color: #333;
}

/* Header styling */
header {
  background: #333;
  color: #fff;
  padding: 10px 0;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-size: 1.5em;
}

/* Navigation styling */
nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Hamburger menu button (hidden on desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8em;
  cursor: pointer;
}

/* Main content styling */
main {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

/* Footer styling */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

/* Nice UL/LI lists */
ul {
  list-style: disc inside;
  margin: 10px 0;
}

li {
  margin: 5px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }
  nav {
    width: 100%;
    display: none;
  }
  nav.open {
    display: block;
  }
  nav ul {
    flex-direction: column;
    margin-top: 10px;
  }
  nav ul li {
    margin: 10px 0;
  }
  .menu-toggle {
    display: block;
  }
}

/* Turn UL/LI lists into a button-like group */
.btn-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center items horizontally */
}

.btn-list li {
  margin: 5px;
}

.btn-list li a {
  display: block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-list li a:hover {
  background-color: #0056b3;
}

/* Styled table */
.styled-table {
  border-collapse: collapse;
  margin: 20px auto;
  font-size: 0.9em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-width: 400px;
  width: 90%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
}

.styled-table th,
.styled-table td {
  padding: 12px 15px;
  border: 1px solid #dddddd;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.styled-table tbody tr:hover {
  background-color: #f1f1f1;
}

.logo {
  max-height: 50px; /* Adjust this value as needed */
  width: auto;
  display: block;
}

/* Container for the form */
.form-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form groups for spacing */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 3px;
}

/* Submit button styling */
button[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #009879;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #007a63;
}

/* Alert message for errors */
.alert {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 3px;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .form-container {
    margin: 20px;
    padding: 15px;
  }
  button[type="submit"] {
    font-size: 0.9em;
  }
}
