/* style/login.css */

/* Base styles for the login page */
.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;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff; /* For dark sections */
}

.page-login__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0; /* Slightly lighter for readability on dark backgrounds */
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #1a1a2e; /* Matches body background type, ensures consistency */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.page-login__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  width: 100%;
  max-width: 600px;
}

.page-login__main-title {
  font-size: 3em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for main title */
  line-height: 1.2;
}

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

.page-login__login-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background for card */
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 450px;
  box-sizing: border-box;
}

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

.page-login__login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #26A9E0;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-login__form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-login__form-input:focus {
  border-color: #EA7C07;
  outline: none;
}

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

.page-login__remember-me {
  color: #f0f0f0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-login__checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #26A9E0;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.page-login__checkbox:checked {
  background-color: #26A9E0;
  border-color: #26A9E0;
}

.page-login__checkbox:checked::before {
  content: '✔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 12px;
}


.page-login__forgot-password-link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-login__btn-primary {
  background-color: #EA7C07; /* Login button specific color */
  color: #ffffff;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.page-login__btn-primary:hover {
  background-color: #d16e06;
  transform: translateY(-2px);
}

.page-login__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  padding: 15px 25px;
  border: 2px solid #26A9E0;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.page-login__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

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

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

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

.page-login__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
}

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

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 20px;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-login__benefits-section .page-login__section-title {
  color: #26A9E0;
}

.page-login__benefits-section .page-login__section-description {
  color: #555555;
}

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

.page-login__benefit-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-login__benefit-item:hover {
  transform: translateY(-5px);
}

.page-login__benefit-icon {
  width: 100%; /* Ensure large image, not icon */
  height: auto;
  max-width: 200px; /* Constrain display size for visual appeal in card */
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

/* Security Section */
.page-login__security-section {
  padding: 80px 20px;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff; /* Light text */
}

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

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

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

.page-login__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-login__feature-item:hover {
  transform: translateY(-5px);
}

.page-login__feature-icon {
  width: 100%; /* Ensure large image, not icon */
  height: auto;
  max-width: 200px; /* Constrain display size for visual appeal in card */
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

/* FAQ Section */
.page-login__faq-section {
  padding: 80px 20px;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}

.page-login__faq-section .page-login__section-title {
  color: #26A9E0;
}

.page-login__faq-section .page-login__section-description {
  color: #555555;
}

.page-login__faq-list {
  max-width: 800px;
  margin: 50px auto 0 auto;
}

.page-login__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-login__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-login__faq-item summary:hover {
  background-color: #eef;
}

.page-login__faq-item[open] summary {
  background-color: #eef;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-login__faq-qtext {
  flex-grow: 1;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #26A9E0;
  margin-left: 15px;
}

.page-login__faq-answer {
  padding: 15px 25px 20px 25px;
  background-color: #ffffff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #666666;
  font-size: 0.95em;
}

/* CTA Section */
.page-login__cta-section {
  padding: 80px 20px;
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
  text-align: center;
}