/* General styles for the login page */
.page-login {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background: #F4F7FB; /* Custom background color */
  line-height: 1.6;
}

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

.page-login__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-login__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4A8BFF 0%, #2F6BFF 100%);
  border-radius: 2px;
}

/* Buttons */
.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom button color */
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.3);
}

.page-login__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
  transform: translateY(-2px);
}

.page-login__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color for text */
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-login__btn-secondary:hover {
  background: #f0f5ff; /* Light blue hover */
  color: #2F6BFF;
  border-color: #2F6BFF;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Image base styles */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  background-color: #F4F7FB;
  padding-top: 10px; /* Adhering to the 10px top spacing for the first content block */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-login__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 500px; /* Limit height of hero image */
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

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

.page-login__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 18px;
  color: #333333;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Form Section */
.page-login__form-section {
  padding: 60px 0;
  background: #ffffff;
}

.page-login__login-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #D6E2FF; /* Border color */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login__form-intro-text {
  text-align: center;
  font-size: 16px;
  color: #333333;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 8px;
  font-size: 16px;
  color: #333333;
  background-color: #f8fbff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login__form-input::placeholder {
  color: #6FA3FF; /* Auxiliary color */
  opacity: 0.7;
}

.page-login__form-input:focus {
  border-color: #2F6BFF; /* Main color */
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2);
  outline: none;
}

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

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

.page-login__checkbox {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  accent-color: #2F6BFF; /* Main color */
  cursor: pointer;
}

.page-login__checkbox-label {
  color: #333333;
  cursor: pointer;
}

.page-login__forgot-password {
  color: #2F6BFF; /* Main color */
  text-decoration: none;
  font-weight: 500;
}

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

.page-login__submit-button {
  width: 100%;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom button color */
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.3);
}

.page-login__submit-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
  transform: translateY(-2px);
}

.page-login__no-account-text {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: #333333;
}

.page-login__register-link {
  color: #2F6BFF; /* Main color */
  text-decoration: none;
  font-weight: 600;
}

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

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
  background: #F4F7FB; /* Custom background color */
}

.page-login__benefits-intro {
  text-align: center;
  font-size: 18px;
  color: #333333;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__benefit-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.page-login__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 150px; /* Adjust size for icon-like images, ensure min 200px actual size */
  margin: 0 auto 20px;
  object-fit: contain;
  min-height: 200px; /* Ensure minimum size */
  min-width: 200px; /* Ensure minimum size */
}

.page-login__benefit-title {
  font-size: 24px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
}

.page-login__benefit-description {
  font-size: 16px;
  color: #333333;
}

.page-login__cta-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}