* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content-container {
  background-color: #ebebeb;
  width: 1000px;
  margin: 0 auto;
}

.reserved-container {
  background-color: #ebebeb;
  width: 1000px;
  height: 300px;
  margin: 0 auto;
}

.admin-container {
  background-color: #ffffff;
  width: 1000px;
  margin: 0 auto;
  padding-left: 30px;
  text-align: center;
}

@media (max-width: 768px) {
  .admin-container, .reserved-container {
    width: 100%;
  }
}

.message-footer {
  background: #ffffff;
}

.message-card {
  border: 1px solid #dddddd;
  padding: 10px;
}

.message-subject {
  font-size: 16px;
  font-weight: 600;
}

header {
  background-color: #223366;
  height: 100px;
  width: 100%;
  margin: 0 auto;
  padding-top: 2%;
}

section {
  padding-left: 20px;
}

footer {
  background-color: #223366;
  color: #ffffff;
  font-family: Arial, 'Times New Roman', Verdana;
  text-align: center;
  height: 50px;
  width: 100%;
  padding-top: 1%;
}

.logo {
  color: #ffffff;
  font-family: Arial, 'Times New Roman', Verdana;
  text-align: center;
}

a:link {
  color: #000000;
}

a:hover {
  color: #dddddd;
}

.spacer {
  padding: 12px;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

/* Card container for the form */
.form-container {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* Form headers */
.form-container h2 {
  margin-bottom: 1.5rem;
  color: #333333;
  text-align: center;
}

/* Input group layouts */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555555;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Text and password fields */
.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #007bff;
}

/* Action button */
.btn-submit {
  width: 100%;
  padding: 0.75rem;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-submit:hover {
  background-color: #0056b3;
}

/* Status messages (errors/success) */
.alert {
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

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

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Navigation footer links */
.form-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666666;
}

.form-footer a {
  color: #007bff;
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* Password wrapper to position the icon */
.password-wrapper {
  position: relative;
}

.password-wrapper .form-control {
  padding-right: 2.5rem;
  /* Make room so text doesn't hide behind the icon */
}

.toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666666;
  user-select: none;
  font-size: 1.1rem;
}