.page-login {
  font-family: Arial, sans-serif;
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  line-height: 1.6;
}

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

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

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

.page-login__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 800px;
  margin-top: 20px; /* Ensure content is below the image */
}

.page-login__main-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-login__subtitle {
  font-size: 1.1em;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 30px;
}

.page-login__form-section {
  padding: 60px 0;
  background-color: #08160F; /* Ensure consistent background */
}

.page-login__form-card {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 10px;
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-login__form-title {
  font-size: 2em;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 30px;
  text-align: center;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 0.95em;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 5px;
  background-color: #0A4B2C; /* Custom Deep Green for input background */
  color: #F2FFF6; /* Custom Text Main */
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: rgba(167, 217, 184, 0.7); /* Lighter version of Text Secondary */
}

.page-login__form-input:focus {
  outline: none;
  border-color: #22C768; /* Auxiliary color on focus */
  box-shadow: 0 0 0 3px rgba(34, 199, 104, 0.3);
}

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

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

.page-login__checkbox {
  margin-right: 8px;
  accent-color: #2AD16F; /* Highlight color for checkbox */
}

.page-login__checkbox-label {
  color: #A7D9B8; /* Custom Text Secondary */
}

.page-login__forgot-password {
  color: #22C768; /* Auxiliary color */
  text-decoration: none;
}

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

.page-login__submit-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-login__submit-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-login__divider {
  height: 1px;
  background-color: #1E3A2A; /* Custom Divider */
  margin: 30px 0;
}

.page-login__register-text {
  text-align: center;
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 0.95em;
}

.page-login__register-link {
  color: #22C768; /* Auxiliary color */
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__security-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Custom Deep Green */
  text-align: center;
}

.page-login__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 40px;
}

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

.page-login__security-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-login__security-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-height: 200px; /* Ensure minimum size */
}

.page-login__security-item-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 15px;
}

.page-login__security-item-description {
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
}

.page-login__cta-section {
  padding: 80px 0;
  background-color: #08160F; /* Custom Background */
  text-align: center;
}

.page-login__cta-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 10px;
}

.page-login__cta-title {
  font-size: 2em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 20px;
}

.page-login__cta-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 30px;
}

.page-login__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-login__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.2em;
  }

  .page-login__form-card {
    padding: 30px;
  }

  .page-login__security-item {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-login__hero-content {
    margin-top: 15px;
  }

  .page-login__main-title {
    font-size: 1.8em;
  }

  .page-login__subtitle {
    font-size: 1em;
  }

  .page-login__form-section,
  .page-login__security-section,
  .page-login__cta-section {
    padding: 40px 0;
  }

  .page-login__form-card {
    padding: 25px;
    margin: 0 15px;
  }

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

  .page-login__security-grid {
    grid-template-columns: 1fr;
    margin: 0 15px;
  }

  .page-login__security-icon {
    max-width: 200px;
  }

  .page-login__section-title,
  .page-login__cta-title {
    font-size: 1.8em;
    margin: 0 15px 30px;
  }

  .page-login__cta-content {
    padding: 30px;
    margin: 0 15px;
  }

  .page-login__cta-description {
    font-size: 1em;
  }

  /* Force image, video, button responsiveness */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-login video,
  .page-login__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__hero-image-wrapper,
  .page-login__security-item,
  .page-login__cta-content,
  .page-login__form-card,
  .page-login__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* For containers with images/videos/buttons */
  }

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

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.6em;
  }

  .page-login__form-title,
  .page-login__section-title,
  .page-login__cta-title {
    font-size: 1.6em;
  }

  .page-login__form-card {
    padding: 20px;
  }

  .page-login__security-item-title {
    font-size: 1.3em;
  }
}