/* Apply consistent box-sizing */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #05508E;
  color: white;
}

header img {
  width: auto;
  max-height: 50px;
}

header a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.container {
  max-width: 90%;
  margin: 50px auto 100px auto;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

h2 {
  text-align: center;
}

input[type="email"],
input[type="text"],
input[type="submit"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

input[type="submit"] {
  background-color: #05508E;
  color: white;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #000000;
}

p {
  text-align: center;
}

.error {
  color: red;
  text-align: center;
}

.success {
  color: #006400;
  text-align: center;
}

footer {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  text-align: center;
  padding: 0;
  background-color: #333;
  color: white;
}

footer a {
  color: #FFFFFF;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  header img {
    max-height: 40px;
    margin-bottom: 10px;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}