/* style/login.css */

/* Base styles for the login page */
.page-login {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-login__hero-section {
  padding-top: 0; /* Handled by body padding-top in shared.css */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  position: relative;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure a minimum height for large screens */
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual flow, but text is below image */
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-login__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-login__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-login__btn-primary,
.page-login__btn-secondary,
.page-login__btn-submit {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  box-sizing: border-box;
}

.page-login__btn-primary {
  background-color: #EA7C07; /* Login button specific color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-login__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
  transform: translateY(-2px);
}

.page-login__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

/* Form Section */
.page-login__form-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background for form section */
  color: #ffffff;
}

.page-login__form-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for card */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-login__form-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 15px;
  text-align: center;
}

.page-login__form-subtitle {
  font-size: 1.05em;
  color: #f0f0f0;
  margin-bottom: 30px;
  text-align: center;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #ffffff;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #2b2b41;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

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

.page-login__form-input:focus {
  border-color: #26A9E0;
  outline: none;
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 10px;
}

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

.page-login__checkbox {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  accent-color: #26A9E0; /* Checkbox color */
}

.page-login__checkbox-label {
  color: #f0f0f0;
  font-size: 0.95em;
}

.page-login__forgot-password {
  color: #26A9E0;
  text-decoration: none;
  font-size: 0.95em;
}

.page-login__forgot-password:hover {
  text-decoration: underline;
}

.page-login__btn-submit {
  width: 100%;
  background-color: #EA7C07;
  color: #ffffff;
  font-size: 1.2em;
  padding: 15px 20px;
  border-radius: 8px;
}

.page-login__btn-submit:hover {
  background-color: #d16e06;
  transform: translateY(-2px);
}

.page-login__register-text {
  text-align: center;
  margin-top: 25px;
  color: #f0f0f0;
}

.page-login__register-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-login__register-link:hover {
  text-decoration: underline;
}

/* General Section Styles */
.page-login__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

/* Why Choose Us Section */
.page-login__why-choose-us-section,
.page-login__vip-benefits-section,
.page-login__security-assurance-section,
.page-login__faq-section,
.page-login__cta-bottom-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Consistent dark background */
}

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