/*  form login  */
.contact-us {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #eef3f5 50%, #f8f9fa 100%);
}

.login-form {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: 28px;
  color: #222;
  margin: 0;
  font-weight: 700;
}

.form-content {
  max-width: 380px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #d9dde1;
  border-radius: 10px;
  font-size: 16px;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #4e888d;
  outline: none;
  box-shadow: 0 0 0 4px rgba(78, 136, 141, 0.15);
}

.error {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
}

.form-actions {
  text-align: center;
  margin-top: 30px;
}

.main-button {
  padding: 12px 40px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
  background-color: #4e888d;
  color: #fff;
}

.main-button:hover {
  background-color: #3a6b6f;
}
.main-button:active {
  transform: scale(0.98);
}

.register-link {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.register-link p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.register-link a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.register-link a:hover {
  color: #f48840;
  text-decoration: underline;
}

.messages {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .login-form {
    padding: 30px 20px;
  }
}

.password-field {
  position: relative;
  width: 100%;
}

.password-field input {
  padding-right: 44px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  color: #6b7280;
  padding: 6px;
  border-radius: 8px;
}

.toggle-password:hover {
  color: #374151;
  background-color: rgba(0,0,0,0.04);
}

.icon-google-gmail {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.google-login-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background-color: #ffffff;
  color: #202124;
  border-radius: 10px;
  border: 1px solid #d9dde1;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.google-login-btn:hover {
  background-color: #f7f7f7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.google-login-btn:active {
  transform: scale(0.99);
}

.google-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.login-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  width: 100%;
}
.login-section * { box-sizing: border-box; }

.login-split {
  width: 100%;
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}

.split-left {
  flex: 1 1 55%;
  background: linear-gradient(135deg, #4e888d 0%, #f48840 70%);
  position: relative;
  padding: 60px 40px;
  color: #fff;
  min-height: 520px;
}

.split-right {
  flex: 1 1 45%;
  background:
    radial-gradient(1200px circle at 30% 20%, rgba(78, 136, 141, 0.08), transparent 60%),
    radial-gradient(900px circle at 80% 70%, rgba(244, 136, 64, 0.08), transparent 55%),
    linear-gradient(180deg, #f9fbfc 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  min-height: 520px;
}

.hero-content {
  max-width: 720px;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 16px;
  opacity: 0.92;
}

.pill-input {
  border-radius: 999px;
}

.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 18px;
  pointer-events: none;
}

.input-with-icon .form-control {
  padding-left: 56px;
  padding-right: 52px;
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 18px;
  font-size: 14px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.forgot-link {
  color: #6b7280;
  text-decoration: none;
}
.forgot-link:hover {
  color: #4e888d;
}

.main-button.gradient {
  background-image: linear-gradient(90deg, #4e888d, #f48840);
}

@media (max-width: 768px) {
  .login-split {
    flex-direction: column;
  }
  .split-left {
    padding: 40px 24px;
    min-height: auto;
  }
  .split-right { min-height: auto; }
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content p {
    font-size: 15px;
  }
  .login-form {
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .split-left {
    flex: 1 1 50%;
  }
  .split-right {
    flex: 1 1 50%;
  }
}

/* form register */
 .contact-us {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.registration-form {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: 28px;
  color: #222;
  margin: 0;
  font-weight: 700;
}

.registration-form .form-content {
  max-width: 380px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="password"] {
  width: 100%;
  border: 1px solid #d9dde1;
  border-radius: 10px;
  font-size: 15px;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.registration-form input[type="text"]:focus,
.registration-form input[type="email"]:focus,
.registration-form input[type="password"]:focus {
  border-color: #4e888d;
  outline: none;
  box-shadow: 0 0 0 4px rgba(78, 136, 141, 0.15);
}

.error {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
}

.form-actions {
  text-align: center;
  margin-top: 30px;
}

.main-button {
  padding: 12px 40px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
  background-color: #4e888d;
  color: #fff;
}

.main-button:hover {
  background-color: #3a6b6f;
}

.login-link {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.login-link p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.login-link a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.login-link a:hover {
  color: #f48840;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .registration-form {
    padding: 30px 20px;
  }
}

