/* style/login.css */
.page-login {
  color: #FFF6D6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Inherit from body, which is #0A0A0A */
}

/* Header spacing for the first section */
.page-login__hero-section {
  padding-top: calc(var(--header-offset, 120px) + 20px); /* Add a small buffer to header offset */
  padding-bottom: 60px;
  background: #0A0A0A; /* Use background color for section to ensure consistency */
  position: relative;
  overflow: hidden;
}

.page-login__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column; /* Default to column for image-then-text */
  gap: 40px;
  align-items: center;
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-width: 800px; /* Adjust as needed */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-login__hero-content {
  text-align: center;
  max-width: 600px;
}

.page-login__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Using clamp as required */
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color for prominent titles */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-login__tagline {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

.page-login__form-wrapper {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  max-width: 400px;
  margin: 0 auto;
}

.page-login__form-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 25px;
  text-align: center;
}

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

.page-login__form-label {
  display: block;
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 8px;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 5px;
  background-color: #0A0A0A; /* Darker input background */
  color: #FFF6D6;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-login__forgot-password-link {
  display: block;
  text-align: right;
  font-size: 0.9em;
  color: #F2C14E; /* Main color */
  text-decoration: none;
  margin-bottom: 20px;
}

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

.page-login__login-button,
.page-login__promo-button,
.page-login__btn-primary,
.page-login__btn-secondary {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  margin-top: 15px;
}

.page-login__login-button,
.page-login__promo-button,
.page-login__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff;
}

.page-login__login-button:hover,
.page-login__promo-button:hover,
.page-login__btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-login__register-prompt {
  text-align: center;
  color: #FFF6D6;
  margin-top: 25px;
  font-size: 0.95em;
}

.page-login__register-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
}

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

/* General Section Styling */
.page-login__section {
  padding: 60px 0;
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-login__dark-section {
  background-color: #111111; /* Card BG */
}

.page-login__medium-bg {
  background-color: #0A0A0A; /* Consistent dark background, adjusted from original instruction to ensure contrast */
}

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

.page-login__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 20px;
}

.page-login__section-description {
  font-size: 1.1em;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-login__benefit-card,
.page-login__security-item {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #FFF6D6;
}

.page-login__benefit-card img,
.page-login__security-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-login__benefit-title,
.page-login__security-title,
.page-login__step-title,
.page-login__feature-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-login__benefit-text,
.page-login__security-text,
.page-login__step-text,
.page-login__feature-text {
  font-size: 1em;
  color: #FFF6D6;
}

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