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

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px;
  min-height: 600px;
  overflow: hidden;
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5);
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  text-align: center;
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with transparency */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Border */
}

.page-login__main-title {
  font-size: clamp(2em, 5vw, 2.8em);
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

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

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

.page-login__form-group {
  text-align: left;
}

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
}

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

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

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

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

.page-login__checkbox {
  margin-right: 8px;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #2E7A4E;
  border-radius: 4px;
  background-color: #0A4B2C;
  cursor: pointer;
  position: relative;
}

.page-login__checkbox:checked {
  background-color: #11A84E;
  border-color: #11A84E;
}

.page-login__checkbox:checked::before {
  content: '✓';
  display: block;
  color: #F2FFF6;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.page-login__forgot-password-link {
  color: #57E38D; /* Glow */
  text-decoration: none;
}

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

.page-login__btn-primary {
  padding: 14px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
}

.page-login__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-login__register-text {
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-top: 20px;
}

.page-login__register-link {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-login__section-title {
  font-size: clamp(2em, 4vw, 2.5em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-login__benefits-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-login__benefit-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-login__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

.page-login__additional-text {
  color: #A7D9B8;
  text-align: center;
  margin-top: 50px;
  font-size: 1em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__guide-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-login__login-steps {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-login__step-item {
  position: relative;
  padding-left: 70px;
}

.page-login__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-login__step-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-login__step-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-login__troubleshooting {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  max-width: 800px;
  margin: 0 auto;
}

.page-login__sub-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-align: center;
}

.page-login__troubleshoot-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-login__troubleshoot-item {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-login__troubleshoot-item::before {
  content: '•';
  color: #57E38D; /* Glow */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
  line-height: 1.6;
}

.page-login__troubleshoot-conclusion {
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  font-size: 1em;
}

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

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

.page-login__btn-secondary {
  padding: 14px 25px;
  border-radius: 8px;
  background-color: transparent;
  border: 2px solid #11A84E; /* Main color as border */
  color: #11A84E;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-login__btn-secondary:hover {
  background-color: #11A84E;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-login__cta-footer {
  color: #A7D9B8; /* Text Secondary */
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1em;
}

.page-login__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-login__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
}

.page-login__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.1em;
  position: relative;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

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

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: #57E38D; /* Glow */
}

.page-login__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-login__faq-answer p {
  margin: 0;
}

.page-login__responsible-gaming-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-login__responsible-gaming-link {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

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

/* Responsive styles */
@media (max-width: 768px) {
  .page-login__hero-content {
    padding: 30px 20px;
    margin: 0 15px;
  }

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

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

  .page-login__btn-primary,
  .page-login__btn-secondary {
    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 {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-login__hero-section,
  .page-login__benefits-section,
  .page-login__guide-section,
  .page-login__cta-section,
  .page-login__faq-section,
  .page-login__responsible-gaming-section {
    padding: 40px 0;
  }

  .page-login__container {
    padding: 0 15px;
  }

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

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

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

  .page-login__login-steps {
    padding: 0 15px;
    gap: 30px;
  }

  .page-login__step-item {
    padding-left: 60px;
  }

  .page-login__step-item::before {
    width: 45px;
    height: 45px;
    font-size: 1.5em;
  }

  .page-login__step-title {
    font-size: 1.4em;
  }

  .page-login__troubleshooting {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .page-login__sub-title {
    font-size: 1.5em;
  }

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

  .page-login__faq-answer {
    padding: 0 20px 15px;
  }

  /* Image responsiveness */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__hero-section,
  .page-login__benefits-section,
  .page-login__guide-section,
  .page-login__cta-section,
  .page-login__faq-section,
  .page-login__responsible-gaming-section,
  .page-login__login-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-login__hero-section {
    padding-top: 10px !important;
  }
}