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

/* CSS Variables for consistent styling */
:root {
  --primary-color: #0A246A; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #0A246A; /* Using primary color for dark background */
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: #ffffff; /* Default body background is white */
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-login__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

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

/* Hero Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), #1a3a8a); /* Dark blue gradient */
  color: var(--text-light);
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-login__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above any background effects */
}

.page-login__hero-image {
  width: 100%;
  max-width: 800px; /* Limit image width in hero for better form visibility */
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-login__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 500px; /* Constrain form width */
  margin-top: -50px; /* Overlap with image slightly for visual appeal */
  background: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for form */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  color: var(--text-dark); /* Dark text for form content */
}

.page-login__main-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--primary-color); /* Primary color for main title */
  line-height: 1.2;
}

.page-login__intro-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555555;
}

.page-login__form {
  margin-top: 30px;
}

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

.page-login__form-label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login__form-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
  outline: none;
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 14px;
}

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

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

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

.page-login__forgot-password-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.page-login__btn-submit {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__btn-submit:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}