
/* General layout setup */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.auth-container {
  flex: 1 0 auto;
}

/* Form container */
main.auth-container {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.form-section,
.benefit-section {
  flex: 1;
  padding: 40px 50px;
}

/* Form styles */
.form-section h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.register-form {
  flex: 1;
  min-width: 320px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.register-form input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
}

.register-form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.register-form .password-note {
  font-size: 13px;
  color: #555;
  margin: 5px 0 15px;
}

.checkbox-group label {
  display: block;
  font-size: 14px;
  margin: 5px 0;
}

.form-group-half {
  display: flex;
  gap: 15px;
}

.form-group-half > div {
  flex: 1;
}

.register-form button,
.btn-primary {
  width: 100%;
  margin-top: 15px;
  padding: 10px;
  background: #0076ce;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.btn-secondary {
  display: inline-block;
  text-align: center;
  margin-top: 10px;
  padding: 10px 0;
  width: 100%;
  background-color: #e0e0e0;
  border: none;
  border-radius: 4px;
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

/* Right side benefit section */
.benefit-section {
  flex: 1;
  background-color: #f5f5f5;
  padding: 60px 40px;
  border-left: 1px solid #e0e0e0;
}

.benefit-section h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 30px;
}

.benefit-box {
  margin-bottom: 20px;
}

.benefit-box h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.benefit-box p {
  font-size: 14px;
  margin: 0;
  color: #333;
}

.benefit-box h3 i {
  margin-right: 8px;
  color: #0076ce;
}

/* Footer full-width layout */
.site-footer {
  background-color: #fff;
  color: #333;
  font-family: sans-serif;
  width: 100%;
  padding: 40px 0;
  border-top: 1px solid #e0e0e0;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1 1 180px;
  text-align: center;
}

.footer-column h4 {
  color: #0076ce;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}

.footer-column ul li a {
  color: #000;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: #777;
  font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  main.auth-container {
    flex-direction: column;
    margin: 20px 10px;
    border-radius: 0;
    box-shadow: none;
  }

  .form-section,
  .benefit-section {
    padding: 30px 20px;
    border: none;
  }

  .register-form {
    padding: 30px 20px;
    box-shadow: none;
    border-radius: 0;
  }

  .form-group-half {
    flex-direction: column;
  }

  .register-form button,
  .btn-primary,
  .btn-secondary {
    font-size: 15px;
    padding: 12px;
  }

  .register-form label {
    font-size: 14px;
  }

  .benefit-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .benefit-box h3 {
    font-size: 15px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-column h4 {
    font-size: 16px;
  }

  .footer-column ul li {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 13px;
  }

  .site-footer {
    padding: 30px 15px;
  }
}
