/* style/login.css */

/* --- General Page Styles --- */
.page-login {
  color: #ffffff; /* Body background is dark (#0a0a0a), so text is light */
  background-color: #0a0a0a; /* Ensure consistency with body background if needed */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

.page-login__subsection-title {
  font-size: 2em;
  color: #26A9E0;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__subsection-text {
  font-size: 1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* --- Hero Section --- */
.page-login__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-login__hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-login__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 1;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
}

.page-login__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF; /* White for strong contrast against dark background */
  font-weight: bold;
}

.page-login__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-login__login-form-wrapper {
  background: rgba(0, 0, 0, 0.8); /* Slightly lighter dark background for the form */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 450px;
  margin: 0 auto;
}

.page-login__form-title {
  font-size: 2em;
  color: #26A9E0; /* Brand color for form title */
  margin-bottom: 30px;
  text-align: center;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: #f0f0f0;
  font-size: 1em;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #333;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

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

.page-login__checkbox {
  margin-right: 8px;
  accent-color: #26A9E0; /* Brand color for checkbox */
}

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

.page-login__forgot-password {
  color: #26A9E0; /* Brand color for link */
  text-decoration: none;
}

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

.page-login__submit-button {
  width: 100%;
  padding: 15px 20px;
  background-color: #EA7C07; /* Custom login button color */
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-login__submit-button:hover {
  background-color: #d16e06; /* Slightly darker on hover */
}

.page-login__register-prompt {
  margin-top: 25px;
  color: #f0f0f0;
  text-align: center;
  font-size: 1em;
}

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

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

/* --- Benefits Section --- */
.page-login__benefits-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background */
  color: #f0f0f0;
}

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

.page-login__benefit-card {
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white for card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-login__benefit-icon {
  width: 100%; /* Ensure images take full width of card */
  height: auto;
  max-height: 200px; /* Limit height to prevent overly large images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-login__benefit-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

/* --- Security Section --- */
.page-login__security-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-login__security-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-login__text-block {
  flex: 1;
  min-width: 300px;
}

.page-login__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-login__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-login__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}