/* style/login.css */

/* Base Styles for page-login */
.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 */
}

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

.page-login__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Color Contrast Handling */
.page-login__dark-bg {
  background-color: #000000; /* Body background is black */
  color: #ffffff;
  padding: 80px 0;
}

.page-login__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-login__light-bg .page-login__section-title,
.page-login__light-bg .page-login__section-description,
.page-login__light-bg .page-login__card,
.page-login__light-bg .page-login__card h3,
.page-login__light-bg .page-login__card p,
.page-login__light-bg .page-login__card a,
.page-login__light-bg .page-login__faq-title,
.page-login__light-bg .page-login__faq-text {
  color: #333333;
}

/* Hero Section */
.page-login__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  background: url('[GALLERY:hero:1920x1080:login_background,12bet_link,secure_access,gaming_platform]') no-repeat center center/cover;
  position: relative;
  z-index: 1;
}

.page-login__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: -1;
}

.page-login__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-login__login-form-wrapper {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 40px;
  border-radius: 10px;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: bold;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333333;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: #666666;
}

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

.page-login__btn-primary {
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  display: block; /* Ensure it takes full width for flex-direction column */
  text-align: center;
}

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

.page-login__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  padding: 15px 25px;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  display: block;
  text-align: center;
}

.page-login__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-login__forgot-password {
  margin-top: 20px;
  font-size: 0.9em;
  color: #f0f0f0;
}

.page-login__forgot-password a {
  color: #26A9E0;
  text-decoration: none;
}

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

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

.page-login__benefit-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333; /* Ensure text color is dark for light background */
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
}

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

.page-login__benefit-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__benefit-text {
  font-size: 1em;
  color: #666666;
}

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

.page-login__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-login__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__step-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-login__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-login__step-text a {
  color: #26A9E0;
  text-decoration: none;
}

.page-login__step-text a:hover {
  text-decoration: underline;
}

.page-login__troubleshooting {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  margin-top: 50px;
  color: #ffffff;
}

.page-login__troubleshooting-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-login__troubleshooting-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-login__troubleshooting-list li {
  margin-bottom: 10px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-login__troubleshooting-list li strong {
  color: #ffffff;
}

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

.page-login__game-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-login__game-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-login__game-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-login__game-title a {
  color: #26A9E0;
  text-decoration: none;
}