/* style/login.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General page styling */
.page-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #000000; /* Ensure consistency with shared.css body background */
}

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

.page-login__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  box-sizing: border-box;
}

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

.page-login__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-login__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-login__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Custom color for important titles */
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Login Card */
.page-login__login-card {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 450px;
  margin: 0 auto;
  border: 1px solid #017439;
}

.page-login__card-title {
  font-size: 2em;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: bold;
}

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

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-login__form-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #017439;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-login__form-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  font-size: 0.95em;
}

.page-login__forgot-password,
.page-login__register-link {
  color: #FFFF00; /* Custom color for login/register font */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover,
.page-login__register-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-login__login-button {
  background-color: #C30808; /* Custom color for login button */
  color: #FFFF00; /* Custom color for login button font */
  padding: 15px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  text-align: center;
  display: block;
}

.page-login__login-button:hover {
  background-color: #a00606;
  color: #ffffff;
}

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

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

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

.page-login__benefit-item:hover {
  transform: translateY(-10px);
}

.page-login__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 300px; /* Example display size */
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__benefit-title {
  font-size: 1.5em;
  color: #FFFF00; /* Highlight with custom font color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__benefit-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* Process Section */
.page-login__process-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color for dark background */
  color: #ffffff;
}

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

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

.page-login__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #FFFF00; /* Custom font color for numbers */
  margin-bottom: 15px;
}

.page-login__step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-login__step-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-login__btn-primary,
.page-login__btn-secondary {
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
}

.page-login__btn-primary {
  background-color: #C30808; /* Custom login color */
  color: #FFFF00; /* Custom login font color */
  border: 2px solid #C30808;
}

.page-login__btn-primary:hover {
  background-color: #a00606;
  color: #ffffff;
  border-color: #a00606;
}

.page-login__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand primary color */
  border: 2px solid #ffffff;
}

.page-login__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #000000;
  border-color: #f0f0f0;
}

/* Issues Section */
.page-login__issues-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-login__issue-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(1, 116, 57, 0.5);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.page-login__issue-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__issue-text {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1; /* Push link to bottom */
  margin-bottom: 20px;
}

.page-login__read-more-link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push to bottom */
  transition: color 0.3s ease;
}

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

/* Security Section */
.page-login__security-section {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
}