/* style/login.css */
.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;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #0a0a0a; /* Dark background from shared.css */
  color: #ffffff;
}

.page-login__hero-section .page-login__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
}

.page-login__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
}

.page-login__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

.page-login__login-form-wrapper {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 400px;
  margin-top: 20px;
}

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #017439;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1em;
}

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

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

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

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

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

.page-login__btn-login {
  width: 100%;
  padding: 0; /* Remove padding from button, apply to inner 'a' tag */
  background-color: #C30808; /* Login button color */
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-login__btn-login a {
  color: #FFFF00; /* Login button font color */
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px;
}

.page-login__btn-login:hover {
  background-color: #a00606;
}

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

.page-login__register-link {
  color: #FFFF00; /* Register link font color */
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__hero-image-container {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-login__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-login__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-login__section-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-login__dark-bg .page-login__section-title {
  color: #ffffff;
}

.page-login__light-bg .page-login__section-title {
  color: #017439;
}

.page-login__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__dark-bg .page-login__section-description {
  color: #f0f0f0;
}

.page-login__light-bg .page-login__section-description {
  color: #555555;
}

/* Why Login Section */
.page-login__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-login__light-bg .page-login__feature-item {
  background-color: #f9f9f9;
  color: #333333;
}

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

.page-login__feature-icon {
  width: 200px; /* Min size */
  height: 200px; /* Min size */
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #017439;
}

.page-login__feature-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #017439;
}

.page-login__feature-text {
  font-size: 0.95em;
  color: #555555;
}

/* Security Measures Section */
.page-login__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-login__security-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-login__security-subtitle {
  font-size: 1.5em;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-login__security-paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-login__security-image-container {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-login__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}

.page-login__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Login Guide Section */
.page-login__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-login__step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-login__step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-login__step-text {
  font-size: 1em;
  color: #555555;
}

.page-login__troubleshooting {
  margin-top: 60px;
  text-align: left;
  background-color: #f0f8ff;
  padding: 30px;
  border-radius: 10px;
  border-left: 5px solid #017439;
}

.page-login__troubleshooting-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 20px;
}

.page-login__troubleshooting-list {
  list-style: disc inside;
  margin-bottom: 30px;
  color: #555555;
}

.page-login__troubleshooting-list li {
  margin-bottom: 10px;
}

.page-login__troubleshooting-list strong {
  color: #333333;
}

.page-login__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-login__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}