
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  color: #333;
}

a {
  text-decoration: none;
}

.layout-table {
  width: 100%;
  height: 100vh;
  table-layout: fixed;
  display: table;
}

.hero-cell, .login-cell {
  height: 50%; 
  width: 50%;  
  padding: 2rem;
  vertical-align: top;
}

.hero {
  background-color: #8A897C;
  color: white;
  padding: 4rem 2rem;
  text-align: left;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero-sub {
  font-size: 1.2rem;
  margin: 1rem 0 2rem;
}

.hero-ctas .btn {
  display: inline-block;
  background-color: #fff;
  color: #004e92;
  padding: 0.8rem 1.5rem;
  margin: 0.5rem;
  border-radius: 5px;
  font-weight: bold;
}

.hero-ctas .btn:hover {
  background-color: #e0e0e0;
}


.auth-container {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.auth-container:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.auth-container h2 {
  text-align: center;
  color: #2D3748;
  margin-bottom: 20px;
}

.form-toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.form-toggle button {
  padding: 8px 16px;
  background-color: transparent;
  border: 2px solid #8A897C;
  border-radius: 6px;
  color: #8A897C;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-toggle button.active,
.form-toggle button:hover {
  background-color: #8A897C;
  color: white;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-form input {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #CBD5E0;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.auth-form input:focus {
  border-color: #8A897C;
  outline: none;
}

.auth-form button {
  padding: 12px;
  background-color: #8A897C;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
   margin-bottom: 20px;
}

.auth-form button:hover {
  background-color: #8A897C;
}

#form-message {
  text-align: center;
  font-weight: 500;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .layout-table {
    display: block;
    height: auto;
  }
  .hero-cell,
  .login-cell {
    width: 100%;
    padding: 1rem;
  }
  .hero {
    width: 100%;
    padding: 3rem 2rem;
  }
  .auth-container {
    width: 80%;
    margin-top: 2rem;
  }
}
