/* Fix login section layout */
.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: #f5f7fa;
  padding: 40px 0;
}

.login-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 30px 0;
}

.login-form-container {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  padding-right: 20px;
}

.login-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.login-image img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.login-benefits {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}


.login-benefits h3 {
  margin-bottom: 15px;
}

.login-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.login-benefits ul li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #333;
}

.login-benefits ul li i {
  color: #28a745;
  margin-right: 8px;
}
/* Form fields */
.login-form .form-group {
  position: relative;
  margin-bottom: 20px;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 12px 40px 12px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input {
  padding-right: 80px;
  width: 100%;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 80px 10px 12px; /* left 12px, right 80px for both icons */
  box-sizing: border-box;
  height: 48px;
  line-height: 1.4;
}

.input-icon {
  position: absolute;
  top: 65%;
  right: 30px; /* space before eye icon */
  transform: translateY(-50%);
  color: #888;
  font-size: 16px;
  pointer-events: none;
}


.password-toggle {
  position: absolute;
  top: 70%;
  right: 12px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  text-align: center;
  cursor: pointer;
  color: #555;
  font-size: 16px;
}

.input-icon,
.password-toggle {
  min-width: 24px;
}


.password-toggle:hover {
  color: #000;
}

.login-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 30px; /* Increased from 20px to 30px for more spacing */
}


.tab-btn {
  flex: 1;
  padding: 10px;
  font-size: 15px;
  border: 1px solid #007bff;
  background: #fff;
  color: #007bff;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.tab-btn.active {
  background: #007bff;
  color: #fff;
}

.login-form {
  display: none;
}

.login-form.active {
  display: block;
}

.btn-primary.login-btn {
  margin-top: 20px; /* Add this */
  width: 100%;
  background-color: #007bff;
  border: none;
  padding: 12px;
  color: white;
  font-weight: 600;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}


.btn-primary.login-btn:hover {
  background-color: #0056b3;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
}

.forgot-password {
  color: #007bff;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Checkbox styling */
.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-container .checkmark {
  position: absolute;
  left: 0;
  top: 2px;
  height: 16px;
  width: 16px;
  background-color: #eee;
  border-radius: 3px;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #007bff;
}

.checkbox-container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
