/* style/login.css */

/* General Styles for .page-login */
.page-login {
  color: #ffffff; /* Dark body background (#121212) requires light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-login__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-login__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main titles */
  line-height: 1.2;
}

.page-login__section-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-login__sub-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for sub-titles */
}

/* Hero Section (Background for Login Form) */
.page-login__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.page-login__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-login__hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-login__login-card {
  background: rgba(0, 0, 0, 0.8);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 500px;
  width: 100%;
  text-align: center;
  z-index: 1;
  border: 1px solid #FFD700;
}

.page-login__main-title {
  font-size: 42px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__intro-text {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

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

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

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 15px;
}

.page-login__remember-me {
  display: flex;
  align-items: center;
  color: #f0f0f0;
}

.page-login__checkbox {
  margin-right: 8px;
}

.page-login__checkbox-label {
  cursor: pointer;
}

.page-login__forgot-password {
  color: #1E90FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  color: #FFD700;
}

.page-login__btn-submit {
  width: 100%;
  padding: 15px;
  background: #FFD700;
  color: #121212;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: block;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

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

.page-login__register-cta {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-login__btn-register {
  padding: 12px 25px;
  background: #1E90FF;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 200px;
}

.page-login__btn-register:hover {
  background: #1a7ad9;
  transform: translateY(-2px);
}

/* Benefits Section */
.page-login__benefits-section {
  background-color: rgba(255, 255, 255, 0.05);
  padding-bottom: 60px;
}

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

.page-login__benefit-item {
  background: rgba(0, 0, 0, 0.6);
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #1E90FF;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-login__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-login__benefit-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-login__benefit-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
  flex-grow: 0;
}

.page-login__benefit-text {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.6;
  flex-grow: 1;
}

/* Security Section */
.page-login__security-section {
  background: #1a1a1a;
  padding-bottom: 60px;
}ottom: 20px;
    object-fit: contain;
}

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

.page-login__security-item-description {
    font-size: 16px;
    color: var(--text-dark);
}

.page-login__security-cta {
    margin-top: 40px;
}

/* CTA Section */
.page-login__cta-section {
    background: linear-gradient(135deg, #0A2463 0%, #06173a 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
}

.page-login__cta-section .page-login__section-title {
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.page-login__cta-section .page-login__description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-login__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-login__btn-primary,
.page-login__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

.page-login__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-login__btn-primary:hover {
    background: #e6c200; /* Slightly darker secondary */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-login__btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--secondary-color);
}

.page-login__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 38px;
    }
    .page-login__section-title {
        font-size: 30px;
    }
    .page-login__hero-section {
        padding: 60px 20px;
    }
    .page-login__form-card {
        padding: 30px;
    }
    .page-login__security-features {
        gap: 20px;
    }
    .page-login__security-item {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .page-login {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-login__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-login__description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-login__section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }
    .page-login__hero-section {
        padding: 40px 15px;
        min-height: auto;
    }
    .page-login__form-card {
        padding: 25px;
    }
    .page-login__form-group {
        margin-bottom: 20px;
    }
    .page-login__form-input,
    .page-login__submit-button,
    .page-login__register-link {
        padding: 12px 15px;
        font-size: 16px;
    }
    .page-login__form-options {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 25px;
        gap: 10px;
    }
    .page-login__forgot-password {
        margin-top: 5px;
    }
    .page-login__register-prompt {
        margin-top: 25px;
        padding-top: 15px;
    }

    .page-login__security-section {
        padding: 40px 15px;
    }
    .page-login__security-features {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .page-login__security-item {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding: 25px;
    }
    .page-login__security-icon {
        width: 80px;
        height: 80px;
    }
    .page-login__security-item-title {
        font-size: 20px;
    }
    .page-login__security-item-description {
        font-size: 15px;
    }

    .page-login__cta-section {
        padding: 50px 15px;
    }
    .page-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__btn-primary,
    .page-login__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        font-size: 16px;
        padding: 12px 25px;
    }

    /* Image responsive handling */
    .page-login img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-login__container,
    .page-login__form-wrapper,
    .page-login__security-features,
    .page-login__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-login__hero-section,
    .page-login__security-section,
    .page-login__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
}