:root {
  --main-color: #E53935;
  --main-color-rgb: 229, 57, 53;
  --aux-color: #FF5A4F;
  --aux-color-rgb: 255, 90, 79;
  --card-bg: #FFFFFF;
  --bg-color: #F5F7FA;
  --text-main: #333333;
  --border-color: #E0E0E0;
}

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

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

.page-login__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
}

.page-login__section-description {
  font-size: 18px;
  color: var(--text-main);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-login__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

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

.page-login__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover ensures image fills, but will be contain on mobile */
  display: block;
}

.page-login__hero-content {
  position: relative; 
  text-align: center;
  padding: 40px 20px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with the image to make it visually connected */
  z-index: 1;
}

.page-login__main-title {
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.2;
  font-size: clamp(28px, 4vw, 48px);
}

.page-login__subtitle {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, var(--aux-color) 0%, var(--main-color) 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(var(--main-color-rgb), 0.3);
}

.page-login__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(var(--main-color-rgb), 0.4);
}

.page-login__btn-secondary {
  background: #ffffff;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-login__btn-secondary:hover {
  background: var(--main-color);
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(var(--main-color-rgb), 0.2);
}