/* style/login.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-dark: #0a0a0a;
  --border-color-light: #e0e0e0;
}

.page-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark); /* Ensure consistency with shared body */
}

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

.page-login__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-login__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-login__intro-text,
.page-login__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

/* Hero Section */
.page-login__hero-section {
  background: var(--primary-color) url('[GALLERY:bg:1920x1080:23win,login_background,abstract_lines,dark_theme]') no-repeat center center/cover;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  color: var(--text-color-light);
  position: relative;
  overflow: hidden;
}

.page-login__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-login__hero-section .page-login__container {
  position: relative;
  z-index: 2;
}

.page-login__main-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__hero-section .page-login__description {
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 20px;
}

.page-login__form-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  margin-top: 50px;
}

.page-login__login-form {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 450px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-login__label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color-light);
}

.page-login__input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color-light);
  font-size: 16px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-login__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-login__input:focus {
  border-color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.1);
  outline: none;
}

.page-login__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-login__checkbox {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: var(--secondary-color);
}

.page-login__checkbox-label {
  font-size: 15px;
  color: var(--text-color-light);
}

.page-login__forgot-password-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
  color: var(--text-color-light);
  text-decoration: underline;
}

.page-login__login-button {
  width: 100%;
  padding: 15px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-login__login-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-login__login-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: var(--text-color-light);
}

.page-login__register-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: var(--text-color-light);
  text-decoration: underline;
}

.page-login__image-area {
  flex-shrink: 0;
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-login__login-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Why Choose Section */
.page-login__why-choose-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-login__why-choose-section .page-login__intro-text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.page-login__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-login__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__feature-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-login__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); /* Gold glow */
  border-radius: 50%; /* Make icons circular if desired */
}

.page-login__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-login__feature-description {
  font-size: 16px;
  color: var(--text-color-light);
  text-align: left;
}

/* Guide Section */
.page-login__guide-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-login__guide-section .page-login__intro-text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.page-login__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-login__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__step-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}