/* ================== LOGIN PAGE ================== */
#login {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1.5rem;
  margin-top: 100px;
}

.login-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: center;
}

.login-card {
  display: flex;
  align-items: stretch;
  width: 100%;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Left Image Section */
.login-image-panel {
  flex: 1;
  position: relative;
  background-color: #e9f6f5;
}

.login-image-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 118, 110, 0.45) 0%,
    rgba(165, 209, 206, 0.3) 100%
  );
}

.login-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Form Section */
.login-form-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  background-color: #ffff;
}
.wrapper{
  background-color: #e3fffd !important;
}

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

/* Form Title */
.form-title-log {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 2rem;
  line-height: 1.2;
  text-align: left;
}

/* Input Fields */
.input-group-login {
  background-color: var(--color-surface);
  display: flex;
  align-items: center;
  padding: 10px 30px;
  border-radius: 25px;
  box-shadow: 1px 2px 22.5px 0px rgba(15, 118, 110, 0.25);
  height: 70px;
  box-sizing: border-box;
  margin-bottom: 1.2rem;
}

.input-group-login input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--primary-color);
  font-size: 15px;
}

.input-group-login input::placeholder {
  color: #a4b9b7;
}

.input-icon {
  font-size: 16px;
  color: var(--primary-color);
  margin-right: 10px;
}

.password-toggle {
  color: var(--primary-color);
  cursor: pointer;
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 14px;
  margin: 0.5rem 0 0.5rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
}

.remember-me input[type="checkbox"] {
  accent-color: var(--primary-color);
}

.forgot-password {
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s;
}

.forgot-password:hover {
  color: #0b5f57;
}

/* Submit Button */
.submit-btn-log {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 35px;
  padding: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.submit-btn-log:hover {
  background-color: #0b5f57;
}

/* Create Account */
.create-account-link {
  margin-top: 1.2rem;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}

.create-account-link a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Messages */
.error-message,
.success-message {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin-top: 15px;
}

.error-message {
  color: red;
}

.success-message {
  color: green;
}

/* Responsive */
@media (max-width: 1024px) {
  .login-card {
    flex-direction: column;
    max-width: 500px;
  }

  .login-image-panel {
    display: none;
  }

  .login-form-panel {
    padding: 2.5rem;
  }

  .form-title-log {
    font-size: 32px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  #login {
    padding: 2rem 1rem;
  }

  .login-form-panel {
    padding: 2rem 1.5rem;
  }

  .form-title-log {
    font-size: 28px;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}
