/* style/login.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000;
  --background-light: #f8f8f8;
  --form-bg: rgba(255, 255, 255, 0.1);
  --border-color: #444;
}

.page-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark);
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

.page-login__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  height: 500px; /* Increased height for visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('[GALLERY:hero:full 88,login page,background]');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 20px;
}

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

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.page-login__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-login__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
}

.page-login__hero-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-login__hero-cta-button:hover {
  background: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Form Section */
.page-login__form-section {
  background-color: var(--background-dark);
  padding: 60px 0;
}

.page-login__form-wrapper {
  background: rgba(0, 0, 0, 0.7); /* Darker background for the form itself */
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-login__form-input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: #1a1a1a;
  color: var(--text-light);
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-login__remember-me {
  color: var(--text-light);
}

.page-login__remember-me input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--primary-color);
}

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

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

.page-login__submit-button {
  width: 100%;
  padding: 15px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-login__submit-button:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: var(--text-light);
}

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

.page-login__register-prompt a:hover {
  color: #e6b800;
  text-decoration: underline;
}

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
  background: var(--secondary-color); /* Dark blue background */
  color: var(--text-light);
}

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

.page-login__benefit-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-login__benefit-item h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-login__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-login__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-login__cta-button--secondary {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-login__cta-button--secondary:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Security Section */
.page-login__security-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.page-login__security-layout {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-login__security-content {
  flex: 1;
}

.page-login__security-content h2 {
  text-align: left;
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-login__security-content p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-login__security-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-login__security-content ul li {
  background: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFD700"%3e%3cpath d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/%3e%3c/svg%3e') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #f0f0f0;
}

.page-login__security-content ul li strong {
  color: var(--primary-color);
}

.page-login__security-image {
  flex: 1;
  text-align: center;
}

.page-login__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Troubleshooting Section */
.page-login__troubleshoot-section {
  padding: 80px 0;
  background: var(--secondary-color);
  color: var(--text-light);
}

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

.page-login__troubleshoot-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-login__troubleshoot-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-login__troubleshoot-item h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__troubleshoot-item p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-login__link-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.page-login__link-button:hover {
  background: #e6b800;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

.page-login__troubleshoot-footer {
  text-align: center;
  margin-top: 50px;
  font-size: 18px;
  color: #f0f0f0;
}

/* Offerings Section */
.page-login__offerings-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.page-login__offerings-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-direction: row-reverse; /* Image on left, content on right */
}

.page-login__offerings-content {
  flex: 1;
}

.page-login__offerings-content h2 {
  text-align: left;
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-login__offerings-content p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-login__offerings-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-login__offerings-content ul li {
  background: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFD700"%3e%3cpath d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/%3e%3c/svg%3e') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #f0f0f0;
}

.page-login__offerings-content ul li strong {
  color: var(--primary-color);
}

.page-login__offerings-image {
  flex: 1;
  text-align: center;
}

/* Mobile Section */
.page-login__mobile-section {
  padding: 80px 0;
  background: var(--secondary-color);
  color: var(--text-light);
}

.page-login__mobile-layout {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-login__mobile-content {
  flex: 1;
}

.page-login__mobile-content h2 {
  text-align: left;
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-login__mobile-content p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-login__mobile-image {
  flex: 1;
  text-align: center;
}

/* Support Section */
.page-login__support-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.page-login__support-section h2 {
  color: var(--primary-color);
}

.page-login__support-section p {
  text-align: center;
  font-size: 17px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-login__support-channel-item {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-login__support-channel-item:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 0, 0.9);
}

.page-login__support-channel-item h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__support-channel-item p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-login__support-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-login__support-footer {
  text-align: center;
  margin-top: 50px;
  font-size: 18px;
  color: #f0f0f0;
}

/* Common button styles */
.page-login__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-login__cta-button:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 40px;
  }
  .page-login__section-title {
    font-size: 30px;
  }
  .page-login__security-layout, .page-login__offerings-layout, .page-login__mobile-layout {
    flex-direction: column;
    text-align: center;
  }
  .page-login__security-content h2, .page-login__offerings-content h2, .page-login__mobile-content h2 {
    text-align: center;
  }
  .page-login__security-content ul li, .page-login__offerings-content ul li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-login {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
  }
  .page-login__container {
    padding: 15px;
  }
  .page-login__hero-section {
    height: 400px;
  }
  .page-login__hero-title {
    font-size: 32px;
  }
  .page-login__hero-description {
    font-size: 18px;
  }
  .page-login__hero-cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page-login__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-login__form-wrapper {
    padding: 30px 20px;
  }
  .page-login__form-label {
    font-size: 16px;
  }
  .page-login__form-input {
    padding: 12px 15px;
    font-size: 15px;
  }
  .page-login__submit-button {
    font-size: 18px;
    padding: 12px 15px;
  }
  .page-login__benefits-section, .page-login__security-section, .page-login__troubleshoot-section, .page-login__offerings-section, .page-login__mobile-section, .page-login__support-section {
    padding: 50px 0;
  }
  .page-login__benefit-item, .page-login__troubleshoot-item, .page-login__support-channel-item {
    padding: 25px;
  }
  .page-login__benefit-item h3, .page-login__troubleshoot-item h3, .page-login__support-channel-item h3 {
    font-size: 20px;
  }
  .page-login__security-content h2, .page-login__offerings-content h2, .page-login__mobile-content h2 {
    font-size: 28px;
  }
  .page-login__security-content p, .page-login__offerings-content p, .page-login__mobile-content p, .page-login__support-section p {
    font-size: 16px;
  }
  .page-login__cta-button--secondary, .page-login__link-button {
    padding: 10px 20px;
    font-size: 16px;
  }

  /* Ensure all buttons are responsive */
  .page-login__hero-cta-button,
  .page-login__submit-button,
  .page-login__cta-button--secondary,
  .page-login__link-button,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    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__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-login__register-prompt a {
    display: block;
    margin-top: 10px;
  }

  /* Ensure all image containers are responsive */
  .page-login__security-image,
  .page-login__offerings-image,
  .page-login__mobile-image,
  .page-login__benefit-icon,
  .page-login__support-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-login__image-responsive {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-login__support-channels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 28px;
  }
  .page-login__hero-description {
    font-size: 16px;
  }
  .page-login__section-title {
    font-size: 22px;
  }
  .page-login__form-wrapper {
    padding: 20px 15px;
  }
  .page-login__benefit-item h3, .page-login__troubleshoot-item h3, .page-login__support-channel-item h3 {
    font-size: 18px;
  }
  .page-login__security-content h2, .page-login__offerings-content h2, .page-login__mobile-content h2 {
    font-size: 24px;
  }
}

/* Color Contrast Fixes for specific elements if needed */
.page-login__dark-section {
  background: var(--secondary-color);
  color: var(--text-light);
}

.page-login__cta-button, .page-login__cta-button--secondary, .page-login__submit-button, .page-login__link-button {
  color: var(--secondary-color); /* Ensure dark text on gold buttons */
}

.page-login__form-input {
  background-color: #1a1a1a; /* Dark input background */
  color: #ffffff; /* Light text for inputs */
}

.page-login__form-input::placeholder {
  color: #aaa; /* Lighter placeholder text */
}

.page-login__register-prompt p, .page-login__forgot-password {
  color: #f0f0f0; /* Ensure light text on dark background */
}

.page-login__register-prompt a, .page-login__forgot-password {
  color: var(--primary-color); /* Gold links */
}