.page-login {
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
}

.page-login__hero-banner {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px);
  background-color: #f0f8ff; /* Light blue tint */
  overflow: hidden;
}

.page-login__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  padding: 30px 0;
}

.page-login__main-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-login__intro-text {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.page-login__form-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.page-login__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-login__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-login__form-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-login__form {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  box-sizing: border-box;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333333;
  font-size: 1em;
}

.page-login__form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1em;
  color: #333333;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login__form-input:focus {
  border-color: #26A9E0;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
  outline: none;
}

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

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

.page-login__remember-me input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #26A9E0;
}

.page-login__remember-label {
  color: #555555;
}

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

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

.page-login__submit-button {
  width: 100%;
  padding: 15px 25px;
  background-color: #EA7C07;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 1.15em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-login__submit-button:hover {
  background-color: #e06c00;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(234, 124, 7, 0.3);
}

.page-login__register-prompt {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.page-login__register-prompt p {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
}

.page-login__register-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  margin-bottom: 25px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__register-button:hover {
  background-color: #1e87bb;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.3);
}

.page-login__register-image {
  width: 400px;
  height: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-login__security-info {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: #e6f7ff; /* Lightest blue */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__security-icon {
  width: 200px;
  height: 150px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  object-fit: contain;
}

.page-login__security-info p {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-login__advantages-section {
  padding: 80px 20px;
  text-align: center;
}

.page-login__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-login__dark-bg .page-login__section-title {
  color: #ffffff;
}

.page-login__dark-bg .page-login__advantage-title {
  color: #ffffff;
}

.page-login__dark-bg .page-login__advantage-item p {
  color: #f0f0f0;
}

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

.page-login__advantage-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-login__advantage-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-login__advantage-item p {
  font-size: 1em;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-login__hero-banner {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 30px;
  }

  .page-login__main-title {
    font-size: 2em;
    padding: 0 10px;
  }

  .page-login__intro-text {
    font-size: 1em;
    padding: 0 10px;
  }

  .page-login__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-login__form-section {
    padding: 40px 15px;
  }

  .page-login__form-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .page-login__form,
  .page-login__register-prompt {
    width: 100% !important;
    max-width: 100% !important;
    padding: 30px 20px;
  }

  .page-login__form-input,
  .page-login__submit-button,
  .page-login__register-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-login__security-info {
    margin-top: 30px;
    padding: 20px;
  }

  .page-login__advantages-section {
    padding: 50px 15px;
  }

  .page-login__advantages-grid {
    grid-template-columns: 1fr;
  }

  /* General image responsive styles */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-login__section,
  .page-login__card,
  .page-login__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-login__cta-button,
  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-login__cta-buttons,
  .page-login__button-group,
  .page-login__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}