/* style/login.css */
.page-login {
  font-family: Arial, sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from body */
}

.page-login__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as per rules */
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
}

.page-login__hero-content {
  position: relative;
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

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

.page-login__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto;
}

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

.page-login__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.page-login__section-intro {
  font-size: 1.1em;
  color: #AFC4E8;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-login__form-section {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  margin-bottom: 40px;
  border: 1px solid #244D84; /* Border */
}

.page-login__form-wrapper {
  background-color: #08162B; /* Deep Navy */
  padding: 40px;
  border-radius: 8px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-login__login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-login__form-group {
  display: flex;
  flex-direction: column;
}

.page-login__form-label {
  font-size: 1em;
  color: #F3F8FF;
  margin-bottom: 8px;
}

.page-login__form-input {
  padding: 12px 15px;
  border: 1px solid #244D84; /* Border */
  border-radius: 5px;
  background-color: #1B3357; /* Divider - slightly lighter for input */
  color: #F3F8FF;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

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

.page-login__form-input:focus {
  border-color: #4FA8FF; /* Glow */
  outline: none;
}

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

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

.page-login__checkbox {
  width: 16px;
  height: 16px;
  background-color: #1B3357;
  border: 1px solid #244D84;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.page-login__checkbox:checked {
  background-color: #2B73F6;
  border-color: #2B73F6;
}

.page-login__checkbox:checked::before {
  content: '✔';
  color: #F3F8FF;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.page-login__forgot-password-link {
  color: #1D5FD1; /* Auxiliary color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
  color: #4FA8FF; /* Glow */
  text-decoration: underline;
}

.page-login__submit-button {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF; /* Text Main */
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none; /* For a tag */
  text-align: center; /* For a tag */
  display: inline-block; /* For a tag */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-login__no-account-text {
  text-align: center;
  margin-top: 25px;
  color: #AFC4E8;
  font-size: 1em;
}

.page-login__register-link {
  color: #F2C14E; /* Gold */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: #4FA8FF; /* Glow */
  text-decoration: underline;
}

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

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

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

.page-login__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-login__benefit-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__benefit-description {
  font-size: 1em;
  color: #AFC4E8;
  line-height: 1.6;
}

.page-login__security-section {
  padding: 60px 0;
  background-color: #1B3357; /* Divider - slightly lighter background */
  margin-bottom: 40px;
}

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

.page-login__security-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-login__security-subtitle {
  font-size: 1.8em;
  color: #F2C14E; /* Gold */
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-login__security-text p {
  font-size: 1em;
  color: #F3F8FF;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-login__read-more-link {
  color: #1D5FD1;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__read-more-link:hover {
  color: #4FA8FF;
  text-decoration: underline;
}

.page-login__cta-section {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
  text-align: center;
  border-radius: 10px;
  margin-bottom: 40px;
  border: 1px solid #244D84; /* Border */
}

.page-login__cta-description {
  font-size: 1.2em;
  color: #AFC4E8;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__cta-button {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF;
  padding: 18px 35px;
  border: none;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-login__cta-subtext {
  font-size: 1em;
  color: #AFC4E8;
  margin-top: 20px;
}

.page-login__faq-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-login__faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-login__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  overflow: hidden;
  color: #F3F8FF;
}

.page-login__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  transition: background-color 0.3s ease;
}

.page-login__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-login__faq-item summary:hover {
  background-color: #1B3357; /* Divider */
}

.page-login__faq-qtext {
  flex-grow: 1;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  transform: rotate(45deg);
}

.page-login__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #AFC4E8;
  line-height: 1.7;
}

.page-login__faq-answer p {
  margin-bottom: 10px;
}

/* General image responsive styles */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

  .page-login__hero-description {
    font-size: 1.1em;
  }

  .page-login__section-title {
    font-size: 2em;
  }

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

  .page-login__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-login__security-image {
    max-width: 80%;
    margin-bottom: 20px;
  }
}

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

  .page-login__hero-content {
    padding: 15px;
  }

  .page-login__main-title {
    font-size: 2.2em;
    line-height: 1.3;
  }

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

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

  .page-login__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-login__form-section {
    padding: 40px 0;
    margin-bottom: 30px;
  }

  .page-login__form-wrapper {
    padding: 30px 20px;
  }

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

  .page-login__submit-button,
  .page-login__cta-button,
  .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__benefits-section {
    padding: 40px 0;
  }

  .page-login__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__benefit-card {
    padding: 25px;
  }

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

  .page-login__security-section {
    padding: 40px 0;
    margin-bottom: 30px;
  }

  .page-login__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  .page-login__security-subtitle {
    font-size: 1.5em;
  }

  .page-login__security-text p {
    font-size: 0.95em;
  }

  .page-login__cta-section {
    padding: 40px 0;
    margin-bottom: 30px;
  }

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

  .page-login__cta-button {
    font-size: 1.1em;
    padding: 15px 25px;
  }

  .page-login__faq-section {
    padding: 40px 0;
  }

  .page-login__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

  .page-login__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 0.95em;
  }

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

  .page-login__container,
  .page-login__form-section .page-login__container,
  .page-login__benefits-section .page-login__container,
  .page-login__security-section .page-login__container,
  .page-login__cta-section .page-login__container,
  .page-login__faq-section .page-login__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}