:root {
  --primary-color: #017439; /* Main brand color */
  --secondary-color: #C30808; /* Login/Register button color */
  --text-color-light-bg: #333333; /* Dark text for light backgrounds */
  --text-color-dark-bg: #FFFFFF; /* Light text for dark backgrounds */
  --login-register-text-color: #FFFF00; /* Yellow text for login/register buttons */
  --background-color-main: #FFFFFF; /* Main background color */
  --border-color: #e0e0e0;
  --form-input-bg: #f9f9f9;
}

.page-login {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-light-bg);
  background-color: var(--background-color-main);
  line-height: 1.6;
}

.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) 0%, #004d26 100%);
  color: var(--text-color-dark-bg);
}

.page-login__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-login__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-login__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  filter: none !important;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-login__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-color-dark-bg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-login__description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
  color: #e0e0e0;
}

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

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

.page-login__section-title--white {
  color: var(--text-color-dark-bg);
}

.page-login__form-section {
  background-color: var(--background-color-main);
  padding: 60px 0;
}

.page-login__intro-text {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__form {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-color-light-bg);
  font-size: 1.05em;
}

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

.page-login__form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.2);
  outline: none;
}

.page-login__form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.page-login__login-button {
  display: inline-block;
  width: 100%;
  padding: 18px 25px;
  background: var(--secondary-color);
  color: var(--login-register-text-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(195, 8, 8, 0.3);
}

.page-login__login-button:hover {
  background: #a80707;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(195, 8, 8, 0.4);
}

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

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

.page-login__form-footer-text {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95em;
    color: #666;
}

.page-login__text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

.page-login__benefits-section {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  padding: 80px 0;
}