body {
  font-family: "Segoe UI", sans-serif;
}

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: #f5f7fa;
}

.login-container {
  display: flex;
  width: 50%;
  max-width: 1200px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.login-image-container {
  flex: 1;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-image-container img {
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: none !important;
}

.login-form-container {
  flex: 1;
  padding: 40px 32px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.logo {
  text-align: center;
  margin-bottom: 24px;
}

.logo img {
  max-width: 200px;
}

.form-title {
  text-align: center;
  margin-bottom: 24px;
  color: #333;
  font-size: 1.8rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #555;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 5px 18px;
  border: 1px solid #ccc;
  border-radius: 30px;
  font-size: 16px;
}

.form-group input:focus {
  box-shadow: none;
  border-color: #c1c1c1;
}

input[type="radio"] {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #ccc;
  margin-right: 5px;
}

.forgot-password {
  margin-bottom: 20px;
  text-align: right;
}

.forgot-password a {
  font-size: 14px;
  color: #000000;
  text-decoration: none;
}

.login-button {
  width: 100%;
  background: #e63946;
  color: #fff;
  padding: 12px 0;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-button:hover {
  background: #d63031;
}

.register-link {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 500;
}

.register-link a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
}

#parentMethodChooser {
  margin-bottom: 20px;
}

#parentMethodChooser label {
  margin-right: 10px;
  font-size: 0.9rem;
  color: #555;
}
#parentMethodChooser label:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 10px;
}
#parentMethodChooser label:nth-child(3) {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-group {
  position: relative;
}
.error-text {
  color: #dc3545;
  font-size: 0.8em;
  margin-top: 5px;
  display: none;
  position: absolute;
  left: 0;
  bottom: -20px;
}
.form-control.error {
  border-color: #dc3545;
}

.password-wrapper {
  position: relative;
}
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}
.password-toggle:hover {
  color: #333;
}

.logo {
  position: relative;
}
.home-button {
  background-color: #e63946;
  border: 1px solid #e63946;
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
  border-radius: 30px;
  padding: 5px;
}
@media screen and (max-width: 992px) {
  .login-container {
    width: 100%;
  }
}
