/* style/login.css */

/* Custom properties for colors */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-button-bg: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
  --box-shadow-light: 0 4px 12px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Base styles for the login 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: var(--secondary-color); /* Matches body background */
}

/* Helper classes for background/text contrast */
.page-login__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-login__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Section common styles */
.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-login__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherits from parent section */
}

.page-login__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
  color: inherit; /* Inherits from parent section */
}

/* CTA Button styles */
.page-login__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Ensure padding doesn't push width */
}

.page-login__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-login__btn-primary:hover {
  background-color: #1f8ac9; /* Darker primary color */
  border-color: #1f8ac9;
  box-shadow: var(--box-shadow-hover);
}

.page-login__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-login__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: var(--box-shadow-hover);
}

.page-login__cta-area {
  text-align: center;
  margin-top: 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;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, var(--primary-color) 0%, #aed6f1 100%); /* Light blue gradient */
  color: var(--text-light);
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-login__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 40px;
}

.page-login__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
  padding: 20px;
}

.page-login__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.page-login__description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.page-login__form-wrapper {
  background-color: var(--secondary-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--box-shadow-light);
  max-width: 450px;
  margin-top: 30px;
  margin-left: auto; /* Center form if content is wider */
  margin-right: auto;
  color: var(--text-dark);
  text-align: left;
}

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

.page-login__label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 16px;
}

.page-login__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}

.page-login__input::placeholder {
  color: #a0a0a0;
}

.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;
}

.page-login__checkbox {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

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

.page-login__forgot-password {
  color: var(--primary-color);
  text-decoration: none;
}

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