/* style/login.css */

/* Base styles for the login page */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light backgrounds */
  background-color: var(--background-color, #f5f5f5); /* Use shared background variable, fallback to light gray */
}

.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-login__main-title,
.page-login__section-title {
  color: #26A9E0; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-login__main-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-login__section-title {
  font-size: 2.2em;
  margin-top: 40px;
}

.page-login__description,
.page-login__section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: #555555;
}

/* Hero Section */
.page-login__hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #e0f2f7, #ffffff); /* Light background for hero */
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-login__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: center;
  z-index: 1;
  padding-right: 40px;
}

.page-login__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  padding-left: 40px;
}

.page-login__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Login Form */
.page-login__login-form-wrapper {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 450px;
  margin: 40px auto 0;
  border: 1px solid #e0e0e0;
}

.page-login__form-title {
  font-size: 1.8em;
  color: #333333;
  margin-bottom: 25px;
  text-align: center;
}

.page-login__form-group {
  margin-bottom: 20px;
}

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555555;
  text-align: left;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: #aaaaaa;
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.95em;
}

.page-login__remember-me {
  display: flex;
  align-items: center;
}

.page-login__checkbox {
  margin-right: 8px;
}

.page-login__checkbox-label {
  color: #555555;
}

.page-login__forgot-password-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-login__forgot-password-link:hover {
  text-decoration: underline;
}

.page-login__btn-primary,
.page-login__btn-secondary {
  display: block;
  width: 100%;
  padding: 14px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-login__btn-primary {
  background: #EA7C07; /* Login button custom color */
  color: #ffffff;
  border: 2px solid #EA7C07;
  margin-bottom: 15px;
}

.page-login__btn-primary:hover {
  background: #d46c05;
  border-color: #d46c05;
}

.page-login__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-login__btn-secondary:hover {
  background: #e0f2f7;
  color: #1a7fb3;
}

.page-login__register-text {
  text-align: center;
  margin-top: 20px;
  color: #555555;
}

.page-login__register-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-login__register-link:hover {
  text-decoration: underline;
}

/* Benefits Section */
.page-login__benefits-section {
  background: #26A9E0; /* Brand primary color for dark background */
  color: #ffffff;
  padding: 60px 20px;
}

.page-login__benefits-section .page-login__section-title,
.page-login__benefits-section .page-login__section-description {
  color: #ffffff;
}

.page-login__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__benefit-card {
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent white for cards on dark background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-login__benefit-icon {
  width: 100%; /* Ensure images take full width of card */
  height: auto;
  max-width: 200px; /* Constrain icon size */
  margin-bottom: 15px;
  border-radius: 8px;
  object-fit: cover;
}

.page-login__benefit-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-login__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Guide Section */
.page-login__guide-section {
  background: #ffffff;
  color: #333333;
  padding: 60px 20px;
}