.page-login {
  background-color: #000;
  color: #ffffff; /* Dark body background, so light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-login__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0; /* Assumed shared.css handles body padding-top */
  padding-bottom: 60px;
}

.page-login__hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  display: block; /* Ensure it's a block element */
}

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

.page-login__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-login__login-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background for the form */
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  margin: 0 auto;
  border: 1px solid rgba(255, 215, 0, 0.3); /* Gold border */
}

.page-login__main-title {
  font-size: 38px;
  color: #FFD700; /* Gold color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-login__description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: #ffffff;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 215, 0, 0.5); /* Gold border */
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
}

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

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

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

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

.page-login__checkbox {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  accent-color: #FFD700; /* Gold accent for checkbox */
}

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

.page-login__forgot-password-link {
  color: #FFD700; /* Gold link */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
  color: #DC143C; /* Red on hover */
}

.page-login__submit-button {
  width: 100%;
  padding: 14px 20px;
  background-color: #FFD700; /* Gold button */
  color: #000000;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-login__submit-button a {
  color: #000000; /* Ensure link text inside button is black */
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.page-login__register-prompt {
  margin-top: 30px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-login__register-prompt p {
  margin-bottom: 10px;
}

.page-login__register-link {
  color: #DC143C; /* Red link for registration */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__register-link:hover {
  color: #FFD700; /* Gold on hover */
}

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

.page-login__section-title {
  font-size: 32px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
}

/* Security Section */
.page-login__security-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

.page-login__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-login__security-image {
  flex: 1;
  min-width: 300px;
}

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

.page-login__security-text {
  flex: 1;
  font-size: 17px;
  color: #f0f0f0;
}

.page-login__security-text p {
  margin-bottom: 20px;
}

.page-login__security-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-login__security-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
  background-color: #000;
}

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

.page-login__benefit-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 215, 0, 0.15);
}

.page-login__benefit-icon {
  font-size: 48px;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-login__benefit-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-login__benefit-description {
  font-size: 16px;
  color: #f0f0f0;
}

.page-login__cta-area {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

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

.page-login__cta-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 700px;
}

.page-login__cta-title {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-login__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary {
  background-color: #FFD700;
  color: #000000;
  border: 2px solid transparent;
}

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

/* Support Section */
.page-login__support-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.page-login__support-description {
  font-size: 17px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-login__contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-login__contact-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-login__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
  transform: translateY(-2px);
}

/* General image responsive styles */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 32px;
  }

  .page-login__description {
    font-size: 16px;
  }

  .page-login__login-card {
    padding: 30px;
  }

  .page-login__section-title {
    font-size: 28px;
  }

  .page-login__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-login__security-image {
    order: 1;
  }

  .page-login__security-text {
    order: 2;
  }

  .page-login__security-features li {
    text-align: left;
    background-position: 0 center;
  }

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

  .page-login__cta-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    min-height: 500px;
    padding-bottom: 40px;
  }

  .page-login__hero-content {
    padding: 15px;
  }

  .page-login__login-card {
    padding: 25px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-login__main-title {
    font-size: 28px;
  }

  .page-login__description {
    font-size: 15px;
  }

  .page-login__form-input {
    padding: 10px 12px;
    font-size: 15px;
  }

  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-login__submit-button,
  .page-login__cta-button,
  .page-login__contact-button,
  .page-login__register-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-login__submit-button a {
    padding: 0;
  }

  .page-login__contact-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-login__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-login__security-section,
  .page-login__benefits-section,
  .page-login__support-section {
    padding: 50px 0;
  }

  .page-login__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-login__security-text,
  .page-login__support-description {
    font-size: 16px;
  }

  .page-login__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__benefit-title {
    font-size: 20px;
  }

  .page-login__cta-content {
    padding: 20px;
  }

  .page-login__cta-title {
    font-size: 22px;
  }

  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-login__hero-background-image {
    width: 100% !important;
    height: 100% !important;
  }

  .page-login__security-image img,
  .page-login__cta-image {
    width: 100% !important;
    height: auto !important;
  }
}