/* Base styles */
body {
  background-color: #282828;
  color: #ebdbb2;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

/* Main container */
.main-container {
  background-color: #32302f;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo styling */
.logo-container {
  width: 480px;
  height: auto;
  margin: 1rem 0 2rem 0;
  display: flex;
  justify-content: center;
  background: transparent;
}

.logo {
  max-width: 100%;
  height: auto;
  background: transparent;
}

/* Header styling */
header {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
}

h1 {
  margin: 0;
  font-size: 1.8rem;
}

/* Clock styling */
.clock {
  font-size: 96px;
  font-weight: bold;
  color: #8ec07c;
  text-align: center;
  margin: 1.5rem 0;
  font-family: monospace;
}

/* Message containers and content */
.message-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.status-message,
.error-message,
.success-message {
  width: 100%;
  max-width: 600px;
  font-size: 1.1rem;
  text-align: center;
  margin: 1.5rem 0;
}

.status-message,
.success-message {
  color: #b8bb26;
}

.error-message {
  color: #fb4934;
}

.success-message p {
  margin: 0.5rem 0;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 1rem 0;
}

input[type="text"],
input[type="email"] {
  width: 80%;
  max-width: 400px;
  padding: 12px;
  margin-bottom: 1rem;
  font-size: 16px;
  background-color: #3c3836;
  border: 1px solid #665c54;
  color: #ebdbb2;
  border-radius: 6px;
}

input[type="submit"] {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #689d6a;
  border: none;
  border-radius: 6px;
  color: #ebdbb2;
  cursor: pointer;
  transition: background-color 0.2s;
}

input[type="submit"]:hover {
  background-color: #8ec07c;
}

/* Button styling */
.button-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.back-button {
  display: inline-block;
  padding: 12px 24px;
  color: #83a598;
  text-decoration: none;
  font-size: 16px;
  border: 1px solid #83a598;
  border-radius: 6px;
  transition: all 0.2s;
  text-align: center;
}

.back-button:hover {
  background-color: #83a598;
  color: #282828;
}

/* Footer styling */
.footer-spacer {
  flex-grow: 1;
}

footer {
  text-align: center;
  color: #a89984;
  font-size: 0.9rem;
  margin-top: 2rem;
  width: 100%;
}

footer p {
  margin: 0;
}

/* Focus states for accessibility */
input:focus,
.back-button:focus {
  outline: 2px solid #83a598;
  outline-offset: 2px;
}