/* style/login.css */

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

/* Ensure padding-top for fixed header offset */
.page-login__hero-section {
  padding-top: var(--header-offset, 120px);
}

/* General section styling */
.page-login__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #26A9E0; /* Brand color for titles */
}

.page-login__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-login__text-white {
  color: #ffffff;
}

/* Container for content */
.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

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

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

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

.page-login__btn-secondary:hover {
  background-color: #1f8ec4;
  border-color: #1f8ec4;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  background-color: #26A9E0; /* Fallback for image */
  color: #ffffff;
  padding-bottom: 60px; /* Add some padding below content */
}

.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); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-login__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

.page-login__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-login__hero-button {
  min-width: 200px;
}

/* Login Form Section */
.page-login__login-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background for form */
  color: #333333; /* Dark text for light background */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-login__login-section .page-login__section-title {
  color: #26A9E0;
}

.page-login__login-section .page-login__section-description {
  color: #555555;
}

.page-login__login-section .page-login__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.page-login__login-form-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 40px;
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}