/* style/login.css */

/* --- General Styles for Login Page --- */
.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 */
  padding-top: 0;
}

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

.page-login__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
}

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

/* Dark background sections */
.page-login__dark-bg {
  background-color: #002060; /* Primary brand color */
  color: #ffffff;
}

/* --- Buttons --- */
.page-login__btn-primary {
  display: inline-block;
  background-color: #FFD700; /* Secondary brand color */
  color: #002060; /* Dark blue text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-login__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-login__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid #FFD700;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-login__btn-secondary:hover {
  background-color: #FFD700;
  color: #002060;
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.page-login__hero-section {
  position: relative;
  padding: 80px 0;
  background-color: #002060; /* Dark blue for login form background */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Apply header offset if shared.css doesn't apply to body */
}

.page-login__hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px;
}

.page-login__login-form-wrapper {
  flex: 1;
  max-width: 500px;
  background-color: rgba(0, 0, 0, 0.4); /* Slightly transparent dark background */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.page-login__form-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-login__form-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

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

.page-login__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #FFD700;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
}

.page-login__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-login__input:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-login__form-options {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.page-login__forgot-password {
  color: #FFD700;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.page-login__login-button {
  width: 100%;
  margin-top: 20px;
}

.page-login__register-text {
  margin-top: 25px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-login__register-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-login__hero-image-container {
  flex: 1;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-login__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* --- Why Bet88 Section --- */
.page-login__why-bet88-section {
  background-color: #0d0d0d; /* Body background color */
  padding: 80px 0;
  color: #ffffff;
}

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