/* style/login.css */

/* --- Base Styles --- */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#121212), so text should be light */
  background-color: transparent; /* Inherit from body or 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.5em;
  color: #ffffff; /* Light text for dark background */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 1.1em;
  color: #f0f0f0; /* Slightly off-white for body text */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Hero Section --- */
.page-login__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-login__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4); /* Darken background image for text readability */
}

.page-login__hero-overlay {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  max-width: 900px;
  width: 100%;
}

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

.page-login__intro-text {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Login Card --- */
.page-login__login-card {
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent white on dark background */
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  margin: 40px auto 0 auto;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}

.page-login__card-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
}

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

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

.page-login__input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #017439; /* Brand color border */
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.5); /* Darker input background */
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-login__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-login__input:focus {
  border-color: #017439; /* Brand color on focus */
  outline: none;
}

.page-login__form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  margin-bottom: 20px;
}

.page-login__forgot-password {
  color: #FFFF00; /* Custom color for login font */
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

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

.page-login__btn-login {
  background-color: #C30808; /* Custom color for login button */
  color: #FFFF00; /* Custom color for login font */
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none; /* Ensure it looks like a button */
  display: inline-block;
  text-align: center;
}

.page-login__btn-login:hover {
  background-color: #a00606; /* Darker red on hover */
  color: #ffffff;
}

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

.page-login__btn-register-link {
  color: #017439; /* Brand primary color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__btn-register-link:hover {
  color: #00a050; /* Lighter green on hover */
  text-decoration: underline;
}

/* --- Benefits Section --- */
.page-login__benefits-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Darker background for contrast */
}

.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 on dark */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.page-login__benefit-title {
  font-size: 1.5em;
  color: #FFFF00; /* Use brand font color for emphasis */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__benefit-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

/* --- How-To-Login Section --- */
.page-login__how-to-login-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Even darker background for more contrast */
}

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

.page-login__step-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #017439; /* Brand color */
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-login__step-text {
  font-size: 0.9em;
  color: #cccccc;
}

/* --- Troubleshooting Section --- */
.page-login__troubleshooting-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-login__card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s ease;
}

.page-login__card:hover {
  box-shadow: 0 0 20px rgba(1, 116, 57, 0.4); /* Green glow on hover */
}

.page-login__card-title {
  font-size: 1.4em;
  color: #017439; /* Brand color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__card-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

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

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

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