/* style/login.css */

/* Common styles for page-login */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--bg-dark-1); /* Inherit from 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.5rem;
  color: #FF4500;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.page-login__btn-primary {
  display: inline-block;
  background-color: #FF4500;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-login__btn-secondary {
  display: inline-block;
  background-color: #1A1A2E;
  color: #FF4500;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  border: 2px solid #FF4500;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Hero Section */
.page-login__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  background-color: #1A1A2E;
  color: #ffffff;
  padding-bottom: 60px;
  overflow: hidden; /* Ensure image doesn't overflow */
}

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

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

.page-login__main-title {
  font-size: 3.5rem;
  color: #FF4500;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-login__intro-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-login__login-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  max-width: 450px;
  width: 100%;
  box-sizing: border-box;
}

.page-login__card-title {
  font-size: 1.8rem;
  color: #FF4500;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #333333;
  border-radius: 5px;
  background-color: #2a2a3e;
  color: #ffffff;
  font-size: 1rem;
  box-sizing: border-box;
}

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

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

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

.page-login__checkbox {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  accent-color: #FF4500; /* Custom checkbox color */
}

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

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

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

.page-login__login-button {
  width: 100%;
  display: block;
  padding: 15px 20px;
  font-size: 1.2rem;
}

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

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

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

.page-login__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: center;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
}

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

.page-login__benefits-section .page-login__section-title {
  color: #1A1A2E;
}

.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: 40px;
}

.page-login__benefit-item {
  background-color: #ffffff;
  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;
  border: 1px solid #e0e0e0; /* Added for contrast */
}

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

.page-login__benefit-icon {
  width: 100%; /* Make sure it's responsive */
  max-width: 150px; /* Example max-width */
  height: auto;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size for content images */
  max-height: 200px; /* Constrain height to maintain aspect ratio with width */
  object-fit: contain; /* Ensure image fits well */
}

.page-login__benefit-title {
  font-size: 1.5rem;
  color: #FF4500;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__benefit-text {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
}

/* Security Section */
.page-login__security-section {
  padding: 80px 0;
  background-color: #1A1A2E;
  color: #ffffff;
}

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

.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: 40px;
}

.page-login__security-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid rgba(255,255,255,0.2);
}

.page-login__security-title {
  font-size: 1.5rem;
  color: #FF4500;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__security-text {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.7;
}

/* Guide Section */
.page-login__guide-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

.page-login__guide-section .page-login__section-title {
  color: #1A1A2E;
}

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

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

.page-login__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-login__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #FF4500;
  color: #ffffff;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-login__step-title {
  font-size: 1.4rem;
  color: #1A1A2E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-login__step-text {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
}

.page-login__guide-troubleshooting {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid #e0e0e0;
}