:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-color-light: #f8f9fa; /* Assuming shared.css sets a light background for body */
  --login-button-color: #EA7C07; /* Specific color for login button */
}

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

.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 content is below fixed header */
  background: linear-gradient(135deg, var(--primary-color), #6dd5ed); /* Gradient using primary color */
  color: var(--text-color-light);
  overflow: hidden; /* Prevent image overflow */
}

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

.page-login__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-login__main-heading {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: var(--text-color-light);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-login__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-login__form-wrapper {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 450px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark);
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 0.95em;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-login__form-input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
}

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

.page-login__checkbox-label {
  cursor: pointer;
}

.page-login__forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  text-decoration: underline;
  color: #1a7bb7;
}

.page-login__submit-button {
  width: 100%;
  padding: 15px 20px;
  background: var(--login-button-color); /* Specific login button color */
  color: var(--text-color-light);
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.page-login__submit-button:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

.page-login__register-prompt {
  margin-top: 25px;
  font-size: 0.9em;
}

.page-login__register-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* General Section Styles */
.page-login__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-login__section-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-login__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-color-dark);
}

/* Benefits Section */
.page-login__benefits-section {
  background: var(--secondary-color);
}

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

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

.page-login__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-login__benefit-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

.page-login__benefit-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-login__benefit-text {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* Guide Section */
.page-login__guide-section {
  color: var(--text-color-light);
}

.page-login__dark-bg {
  background: var(--primary-color); /* Primary color as dark background */
  color: var(--text-color-light);
}

.page-login__guide-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
  margin-top: 40px;
}

.page-login__sub-title {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

.page-login__ordered-list,
.page-login__unordered-list {
  list-style-position: inside;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-login__ordered-list li,
.page-login__unordered-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-login__list-strong {
  color: var(--secondary-color);
}

.page-login__guide-forgot-password p {
  font-size: 1em;
}

.page-login__forgot-password-link {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-login__forgot-password-link:hover {
  color: #f0f0f0;
}

/* Security Section */
.page-login__security-section {
  background: var(--secondary-color);
}

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

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

.page-login__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-login__feature-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

.page-login__feature-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-login__feature-text {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* Troubleshooting Section */
.page-login__troubleshooting-section {
  background: var(--background-color-light);
}

.page-login__light-bg {
  background: var(--background-color-light);
  color: var(--text-color-dark);
}

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

.page-login__trouble-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-login__trouble-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-login__trouble-text {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* FAQ Section */
.page-login__faq-section {
  background: var(--secondary-color);
}

.page-login__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #e0e0e0; /* Added for better visual separation */
}

.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  border-bottom: 1px solid #e0e0e0; /* Separate question from answer */
}
.page-login__faq-item.active .page-login__faq-question {
    border-bottom: none; /* Remove border when active for smooth transition */
    border-radius: 5px 5px 0 0;
}

.page-login__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-login__faq-question:active {
  background: #eeeeee;
}