/* Base styles for the page-login scope */
.page-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main from custom palette, for dark body background */
  background-color: #08162B; /* Deep Navy from custom palette */
  padding-bottom: 50px; /* General padding for main content */
}

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

.page-login__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
  line-height: 1.2;
}

.page-login__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #AFC4E8; /* Text Secondary */
}

/* Hero Section */
.page-login__hero-section {
  padding-top: 10px; /* Assuming body handles --header-offset */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background-color: #08162B; /* Deep Navy */
}

.page-login__hero-image {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for desktop hero */
  overflow: hidden;
  margin-bottom: 40px;
}

.page-login__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop */
  display: block;
}

.page-login__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-login__main-title {
  font-size: clamp(32px, 4vw, 56px); /* Responsive font size */
  font-weight: 800;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  margin-bottom: 40px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__login-form-wrapper {
  max-width: 450px;
  margin: 0 auto;
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #244D84; /* Border */
  border-radius: 5px;
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF; /* Text Main */
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: #AFC4E8; /* Text Secondary */
  opacity: 0.7;
}

.page-login__form-input:focus {
  border-color: #1D5FD1; /* Auxiliary color */
  box-shadow: 0 0 0 3px rgba(29, 95, 209, 0.3);
  outline: none;
}

.page-login__form-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-login__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

.page-login__btn-secondary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  border: 2px solid #1D5FD1; /* Auxiliary color */
  border-radius: 8px;
  background-color: transparent;
  color: #1D5FD1; /* Auxiliary color */
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-login__btn-secondary:hover {
  background-color: #1D5FD1; /* Auxiliary color */
  color: #ffffff;
  transform: translateY(-2px);
}

.page-login__forgot-password-link {
  display: block;
  text-align: center;
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-login__forgot-password-link:hover {
  color: #1D5FD1; /* Auxiliary color */
}

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-login__benefit-card {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}