/* Basic Page Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f7fa;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
  color: #333;
}
header, footer {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}
header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.logo {
  max-width: 60px;
  height: auto;
}
main {
  max-width: 800px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
h1, h2 { 
  color: #333; 
  margin-top: 0;
}
p { margin: 10px 0; }
form { margin-top: 40px; text-align: center; }
input[type="email"] {
  padding: 10px;
  width: 60%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
}
input[type="submit"] {
  padding: 10px 20px;
  border: none;
  background-color: #4678EA;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
input[type="submit"]:hover { 
  background-color: #355bbd; 
}

/* Spinner Overlay Styles with Fully Opaque Dark Gray Background */
#spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #202124;  /* Fully opaque dark gray background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.spinner-container {
  position: relative;
  width: 60px;
  height: 60px;
}
.spinner-image {
  display: block;
  width: 60px;
  height: 60px;
}
.spinner-orbit {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 80px;
  height: 80px;
  border: 4px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Footer Additional Styles */
footer p {
  margin: 5px 0;
  font-size: 0.9em;
}
footer a {
  color: #4678EA;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
