/* style/login.css */

/* --- General Page Styles --- */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-login__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold color for main titles */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-login__subsection-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

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

.page-login__list-item {
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-login__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

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

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

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

.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: 2;
}

.page-login__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 40px 20px;
}

.page-login__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

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

/* --- Login Form --- */
.page-login__form-wrapper {
  background: rgba(139, 0, 0, 0.85); /* Dark red background for form */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  margin: 30px auto 0;
  border: 1px solid #FFD700;
}

.page-login__form-title {
  font-size: 2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
}

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

.page-login__label {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: bold;
}

.page-login__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.page-login__input:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.5);
}

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

.page-login__checkbox-group {
  display: flex;
  align-items: center;
}

.page-login__checkbox {
  margin-right: 8px;
  accent-color: #FFD700; /* Highlight checkbox with brand color */
}

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

.page-login__forgot-password {
  color: #FFD700;
  text-decoration: none;
}

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

.page-login__submit-button {
  width: 100%;
  padding: 15px;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Dark red text on gold button for contrast */
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
}

.page-login__submit-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  color: #5a0000; /* Slightly darker red on hover */
}

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

.page-login__register-link {
  color: #FFD700;
  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; /* Dark background */
  color: #ffffff;
}

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

.page-login__benefit-card {
  background: rgba(139, 0, 0, 0.7); /* Dark red translucent card */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #FFD700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-login__benefit-text {
  color: #f0f0f0;
}

/* --- Guide Section --- */
.page-login__guide-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-login__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.page-login__step-card {
  background: rgba(255, 215, 0, 0.1); /* Gold translucent card */
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #FFD700;
}

.page-login__step-title {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-login__step-text {
  color: #f0f0f0;
}

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

.page-login__troubleshooting-list .page-login__list-item {
  background: rgba(139, 0, 0, 0.7); /* Dark red translucent */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #FFD700;
}

.page-login__list-item-title {
  color: #FFD700;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.page-login__list-item-text {
  color: #f0f0f0;
}

/* --- Explore Section --- */
.page-login__explore-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Dark background */
  color: #ffffff;
}

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