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

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

/* Hero Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Add padding to separate from content below */
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  overflow: hidden;
}

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

.page-login__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-login__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-login__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Section Titles */
.page-login__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-login__description {
  font-size: 1em;
  line-height: 1.7;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  text-align: center;
}

/* Buttons */
.page-login__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  box-sizing: border-box;
}

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

.page-login__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  text-decoration: none;
  border: 2px solid #2F6BFF;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  font-size: 1em;
  box-sizing: border-box;
}

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

/* Login Form Section */
.page-login__form-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-login__form {
  background-color: #ffffff; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid #D6E2FF; /* Border */
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  color: #000000; /* Custom Color_1776249996415 */
}

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

.page-login__form-submit-btn {
  width: 100%;
  margin-top: 20px;
}

.page-login__form-links {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95em;
}

.page-login__link {
  color: #2F6BFF; /* Main color */
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.page-login__link:hover {
  text-decoration: underline;
  color: #4A8BFF;
}

.page-login__link--register {
  font-weight: bold;
}

.page-login__register-text {
  color: #1F2D3D; /* Text Main */
}

/* App Download Section */
.page-login__app-download-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-login__app-download-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background-color: #ffffff; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
}

.page-login__app-text-block {
  flex: 1;
  text-align: left;
}

.page-login__app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__app-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Security Section */
.page-login__security-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-login__security-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background-color: #ffffff; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF; /* Border */
}

.page-login__security-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__security-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-login__security-text-block {
  flex: 1;
  text-align: left;
}

.page-login__security-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-login__security-list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #1F2D3D; /* Text Main */
}

.page-login__security-list-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-login__container,
  .page-login__hero-content,
  .page-login__form,
  .page-login__app-download-content,
  .page-login__security-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-login__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-login__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-login__app-download-content,
  .page-login__security-content {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
  }

  .page-login__app-text-block,
  .page-login__security-text-block {
    text-align: center;
  }

  .page-login__app-image-wrapper,
  .page-login__security-image-wrapper {
    order: -1; /* Image above text on mobile */
    margin-bottom: 20px;
  }

  .page-login__hero-image,
  .page-login__app-image,
  .page-login__security-image,
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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;
    margin-bottom: 10px;
  }

  .page-login__form-submit-btn {
    margin-top: 10px;
  }

  .page-login__form-links {
    flex-direction: column;
    gap: 10px;
  }

  .page-login__link {
    margin: 5px 0;
  }

  .page-login__security-list {
    text-align: left;
  }
}