/* style/login.css */

/* Base styles for the page-login scope */
.page-login {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

.page-login__section {
  padding: 60px 0;
  text-align: center;
}

.page-login__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-login__sub-title {
  font-size: 1.8em;
  color: #F2FFF6;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-login__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__text-center {
  text-align: center;
}

.page-login__text-link {
  color: #2AD16F; /* A brighter green for links */
  text-decoration: underline;
}

.page-login__text-link:hover {
  color: #57E38D; /* Glow */
}

.page-login__list-highlight {
  color: #F2C14E; /* Gold */
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: #0A4B2C; /* Deep Green fallback */
}

.page-login__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-login__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-login__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Additional overlay for contrast */
  z-index: 1;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-login__main-title {
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  /* No fixed font-size, rely on clamp if needed, but for now let it scale */
  font-size: clamp(2em, 5vw, 3.5em);
}

.page-login__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

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

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

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

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

.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;
  opacity: 0.7;
}

.page-login__form-input:focus {
  border-color: #57E38D; /* Glow */
  outline: none;
  box-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.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;
  color: #A7D9B8;
}

.page-login__checkbox {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  accent-color: #11A84E; /* Primary color */
}

.page-login__checkbox-label {
  cursor: pointer;
}

.page-login__forgot-password {
  color: #A7D9B8; /* Text Secondary */
  text-decoration: none;
}

.page-login__forgot-password:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.page-login__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-login__register-prompt {
  color: #A7D9B8; /* Text Secondary */
  margin-top: 25px;
  font-size: 1em;
}

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

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

/* Why Login Section */
.page-login__why-login-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-login__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-login__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-login__content-wrapper .page-login__text-block {
  flex: 1;
  max-width: none; /* Override max-width for flex item */
  margin-left: 0;
  margin-right: 0;
}

.page-login__image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure image has some base width */
  text-align: center;
}

.page-login__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: block;
  margin: 0 auto;
}

.page-login__benefits-list,
.page-login__security-features,
.page-login__ordered-list,
.page-login__unordered-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-login__benefits-list li,
.page-login__security-features li,
.page-login__ordered-list li,
.page-login__unordered-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-login__benefits-list li::before,
.page-login__security-features li::before,
.page-login__unordered-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow */
  font-weight: bold;
  font-size: 1.2em;
  top: -2px;
}

.page-login__ordered-list li::before {
  content: counter(list-item) '.';
  counter-increment: list-item;
  position: absolute;
  left: 0;
  color: #F2C14E; /* Gold */
  font-weight: bold;
  font-size: 1.2em;
  top: -2px;
}