/* style/login.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --button-register-color: #C30808;
  --button-login-color: #C30808;
  --background-color: #FFFFFF;
  --font-register-login-color: #FFFF00;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --border-color: #e0e0e0;
}

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

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

.page-login__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-login__text-block {
  font-size: 17px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

/* 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);
  background: linear-gradient(135deg, var(--primary-color) 0%, #004d26 100%); /* Darker green gradient */
  color: var(--text-color-light);
  overflow: hidden;
}

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

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

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

.page-login__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-color-light);
  font-weight: bold;
  line-height: 1.2;
}

.page-login__description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-login__login-form-area {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 450px;
  margin: 0 auto;
  text-align: left;
}

.page-login__login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-login__form-group {
  display: flex;
  flex-direction: column;
}

.page-login__form-label {
  font-size: 15px;
  color: var(--text-color-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.page-login__form-input {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8-px;
  font-size: 16px;
  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-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

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

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

.page-login__submit-button {
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.page-login__submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

/* Why Login Section */
.page-login__why-login .page-login__section-title {
  color: var(--primary-color);
}

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

.page-login__feature-item {
  background: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-login__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-login__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-login__feature-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-login__feature-description {
  font-size: 16px;
  color: var(--text-color-dark);
  line-height: 1.7;
}

/* How to Login Section */
.page-login__how-to-login {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-login__how-to-login .page-login__section-title {
  color: var(--text-color-light);
}

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