/* General Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.login-page {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 background:#FFD3B6; /* solid sunset pink */
 background-color: #FFD3B6; /* solid sunset pink */;
  color: #333;
}

/* Layout */
.split-login {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Left and Right Halves */
.login-half {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fffaf8;
}

.login-half.right {
  background-color: #fff5f1;
}

/* Divider Line */
.divider-line {
  width: 2px;
  background-color: #ffac81;
  height: 100%;
}

/* Titles */
.login-half h2 {
  font-size: 2em;
  margin-bottom: 30px;
  text-align: center;
  color: #b33951;
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 350px;
  margin: 0 auto;
}

form input {
  padding: 14px;
  font-size: 1em;
  border: 1px solid #ffb199;
  border-radius: 8px;
  background-color: #fffdfc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus {
  border-color: #ff7043;
  outline: none;
  box-shadow: 0 0 5px rgba(255, 112, 67, 0.5);
}

/* Buttons */
form button {
  background-color: #ff9770;
  color: white;
  padding: 14px;
  font-size: 1em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #ff7043;
}

/* Helper Links */
.helper-link {
  margin-top: 20px;
  font-size: 0.95em;
  text-align: center;
  color: #7a4e46;
}

.helper-link a {
  color: #d1495b;
  text-decoration: none;
  font-weight: bold;
}

.helper-link a:hover {
  text-decoration: underline;
}

.login-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px 20px 10px;
  background-color: transparent;
  position: relative; /* needed for positioning home button */
}

.login-header .logo {
  height: 50px;
  width: auto;
}

.login-header h1 {
  font-size: 2.2rem;
  color: #fca870; /* soft orangish */
  font-weight: 700;
  margin: 0;
}

/* Home button styling */
.home-button {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fca870;
  color: white;
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.home-button:hover {
  background-color: #e59450;
  text-decoration: none;
  color: white;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .split-login {
    flex-direction: column;
  }

  .divider-line {
    display: none;
  }

  .login-half {
    padding: 40px 20px;
    border-bottom: 2px solid #ffac81;
  }

  .login-half h2 {
    font-size: 1.6em;
  }

  form {
    max-width: 100%;
  }

  form input,
  form button {
    font-size: 0.95em;
    padding: 12px;
  }

  .helper-link {
    font-size: 0.85em;
  }
}

@media (max-width: 576px) {
  .login-half h2 {
    font-size: 1.4em;
  }

  form input,
  form button {
    font-size: 0.9em;
    padding: 11px;
  }

  .helper-link {
    font-size: 0.8em;
  }
}