/* style/login.css */

/* Variables from shared.css are assumed to be available */
/* --primary-color: #26A9E0; */
/* --secondary-color: #FFFFFF; */
/* --login-button-color: #EA7C07; */
/* --background-color: #FFFFFF; (Assumed light background) */

.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff);
}

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

.page-login__section-title {
  font-size: 32px;
  color: #26A9E0; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Using brand colors */
}

.page-login__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-login__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-login__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-login__hero-title {
  font-size: 48px;
  color: #000000; /* Darker text for contrast on lighter hero */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 22px;
  color: #333333;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-login__cta-button--primary {
  background: var(--login-button-color, #EA7C07); /* Specific login button color */
  color: #ffffff;
  border: 2px solid var(--login-button-color, #EA7C07);
}

.page-login__cta-button--primary:hover {
  background: #D06A00; /* Darken for hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-login__cta-button--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-login__cta-button--secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Login Form Section */
.page-login__form-section {
  padding: 80px 0;
  background-color: var(--background-color, #ffffff); /* Light background */
}

.page-login__login-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap; /* For mobile */
}

.page-login__checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* For mobile wrap */
}

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

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

.page-login__forgot-password-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 10px; /* For mobile wrap */
}

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

.page-login__submit-button {
  width: 100%;
  padding: 15px;
  background: var(--login-button-color, #EA7C07);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-login__submit-button:hover {
  background: #D06A00; /* Darken for hover */
}

.page-login__no-account {
  text-align: center;
  margin-top: 25px;
  font-size: 16px;
  color: #555555;
}

.page-login__no-account a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-login__no-account a:hover {
  text-decoration: underline;
}

/* Detailed Guide Section */
.page-login__detailed-guide-section {
  padding: 80px 0;
  background-color: #f9f9f9; /* Slightly off-white for distinction */
}

.page-login__guide-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-login__guide-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__guide-step-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-login__guide-item p {
  color: #555555;
  margin-bottom: 0;
}

.page-login__guide-tip {
  text-align: center;
  font-style: italic;
  margin-top: 30px;
  color: #666666;
}

/* Benefits Section */
.page-login__dark-section {
  background-color: var(--primary-color); /* Primary color for dark background */
  color: #ffffff; /* Light text for dark background */
  padding: 80px 0;
}

.page-login__dark-section .page-login__section-title {
  color: #ffffff;
}

.page-login__dark-section .page-login__section-description {
  color: #f0f0f0;
}

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