.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Inherited from body, but explicitly set for clarity */
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    background-color: #017439; /* Brand primary color for hero fallback */
    color: #ffffff;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Make hero section tall */
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-login__hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Place behind content */
}

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

.page-login__hero-content {
    position: relative; /* Bring content above image */
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    padding: 40px;
    border-radius: 10px;
}

.page-login__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00; /* Login font color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-login__login-card {
    background: rgba(255, 255, 255, 0.1); /* Lighter background for the form */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    margin: 30px auto 0;
}

.page-login__card-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #ffffff;
}

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

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

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #017439;
    border-radius: 5px;
    background-color: #f5f5f5;
    color: #333333;
    font-size: 1em;
    box-sizing: border-box;
}

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

.page-login__btn-login {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #C30808; /* Specific login button color */
    color: #FFFF00; /* Specific login button font color */
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-login__btn-login:hover {
    background-color: #a00606;
}

.page-login__form-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.page-login__link-forgot,
.page-login__link-register {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.page-login__link-forgot:hover,
.page-login__link-register:hover {
    color: #FFFF00;
}

.page-login__text-or {
    color: #ffffff;
    font-size: 0.95em;
}

/* Benefits Section */
.page-login__benefits-section {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.page-login__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Highlighted title */
}

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

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

.page-login__benefit-item {
    background: rgba(255, 255, 255, 0.05); /* Subtle card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-login__benefit-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-login__benefit-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439; /* Brand primary color for titles */
}

.page-login__benefit-text {
    color: #f0f0f0;
}

.page-login__cta-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-login__btn-primary,
.page-login__btn-secondary {
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-login__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-login__btn-primary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

.page-login__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

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

/* Security Section */
.page-login__security-section {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.page-login__security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-login__security-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-login__security-list {
    list-style: none;
    padding: 0;
}

.page-login__security-list-item {
    margin-bottom: 25px;
}

.page-login__security-item-title {
    font-size: 1.4em;
    margin-bottom: 8px;
    color: #FFFF00; /* Highlighted title */
}

.page-login__security-item-description {
    color: #f0f0f0;
}

.page-login__security-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-login__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-login__btn-privacy {
    margin-top: 40px;
}

/* FAQ Section */
.page-login__faq-section {
    background-color: #1a1a1a; /* Lighter dark background */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.page-login__faq-list {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-login__faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.page-login__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
    transition: color 0.3s ease;
}

.page-login__faq-question:hover {
    color: #FFFF00;
}

.page-login__faq-title {
    font-size: 1.3em;
    margin: 0;
    color: #ffffff; /* Default question color */
}

.page-login__faq-item.active .page-login__faq-title {
    color: #FFFF00; /* Active question color */
}

.page-login__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #017439; /* Toggle icon color */
}

.page-login__faq-item.active .page-login__faq-toggle {
    transform: rotate(45deg);
    color: #FFFF00; /* Active toggle icon color */
}

.page-login__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px; /* Initial padding 0 */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-login__faq-item.active .page-login__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px;
}

.page-login__faq-text {
    margin: 0;
    padding-top: 10px; /* Space between question and answer text */
}

.page-login__faq-sublist {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
    color: #f0f0f0;
}

.page-login__faq-sublist li {
    margin-bottom: 5px;
}

.page-login__cta-support {
    margin-top: 50px;
}

.page-login__support-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__hero-title {
        font-size: 2.8em;
    }
    .page-login__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Important for mobile offset */
        min-height: 60vh;
    }

    .page-login__hero-title {
        font-size: 2.2em;
    }

    .page-login__hero-description {
        font-size: 1em;
    }
}