.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Page background color */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Hero Section */
.page-login__hero-section {
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text on dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-login__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Ensure text is above image */
}

.page-login__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire hero section */
    opacity: 0.3; /* Make it a background texture */
    z-index: 1;
}

.page-login__main-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    position: relative;
    z-index: 2;
    font-weight: bold;
}

.page-login__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.page-login__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* Buttons */
.page-login__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-login__button--login {
    background-color: #FCBC45; /* Login button background */
    color: #000000; /* Dark text on login button */
}

.page-login__button--login:hover {
    background-color: #e0a53b; /* Slightly darker on hover */
}

.page-login__button--register {
    background-color: #000000; /* Register button background (dark) */
    color: #FFFFFF; /* Register button text */
    border: 2px solid #FFFFFF; /* White border */
}

.page-login__button--register:hover {
    background-color: #333333; /* Slightly lighter dark on hover */
    border-color: #FCBC45; /* Accent color border on hover */
}

.page-login__button--primary {
    background-color: #FCBC45;
    color: #000000;
}

.page-login__button--primary:hover {
    background-color: #e0a53b;
}

.page-login__button--secondary {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #FCBC45;
}

.page-login__button--secondary:hover {
    background-color: #333333;
    border-color: #FFFFFF;
}

/* Content Area */
.page-login__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #FFFFFF; /* Ensure content background is white */
}

.page-login__section-title {
    font-size: 2.2em;
    color: #000000; /* Dark title */
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-login__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

/* Numbered List for Login Process */
.page-login__numbered-list {
    list-style: none; /* Remove default numbering */
    counter-reset: login-step; /* Initialize counter */
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-login__list-item {
    background-color: #f9f9f9; /* Light background for list items */
    border-left: 5px solid #FCBC45; /* Accent color border */
    margin-bottom: 25px;
    padding: 20px 25px 20px 60px; /* Adjust padding for counter */
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-login__list-item::before {
    counter-increment: login-step; /* Increment counter */
    content: counter(login-step);
    position: absolute;
    left: 15px;
    top: 20px;
    background-color: #FCBC45;
    color: #000000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.page-login__list-title {
    font-size: 1.5em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-login__list-description {
    font-size: 1em;
    color: #555555;
}

/* Bullet List for Security Tips */
.page-login__bullet-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-login__bullet-list .page-login__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #000000; /* Darker border for security tips */
    margin-bottom: 25px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* FAQ Section */
.page-login__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-login__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.page-login__faq-question {
    display: block;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    position: relative;
    user-select: none;
    background-color: #FCBC45; /* Accent background for question */
    color: #000000; /* Dark text for question */
    padding-right: 60px; /* Space for toggle icon */
}

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

.page-login__faq-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
    content: "-";
    transform: translateY(-50%) rotate(45deg); /* Rotate for 'x' effect or just change to '-' */
}

.page-login__faq-answer {
    padding: 20px;
    font-size: 1.1em;
    color: #333333;
    background-color: #FFFFFF;
    border-top: 1px solid #eee;
}

/* Images in content area */
.page-login__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    min-width: 200px; /* Minimum width for content images */
    min-height: 200px; /* Minimum height for content images */
}

/* Call to action section */
.page-login__cta-section {
    text-align: center;
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
    padding: 50px 20px;
    margin-top: 60px;
    border-radius: 10px;
}

.page-login__cta-text {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-login__main-title {
        font-size: 2em;
    }

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

    .page-login__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-login__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-login__section-title {
        font-size: 1.8em;
    }

    .page-login__text-block,
    .page-login__list-description,
    .page-login__faq-answer p {
        font-size: 0.95em;
    }

    .page-login__list-title {
        font-size: 1.3em;
    }

    .page-login__faq-question {
        font-size: 1.1em;
        padding: 15px 50px 15px 20px;
    }

    .page-login__faq-toggle {
        right: 15px;
        font-size: 1.3em;
    }

    .page-login__content-area,
    .page-login__hero-section {
        padding: 40px 15px;
    }

    /* Ensure all content images are responsive and don't overflow */
    .page-login__hero-image,
    .page-login__content-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Minimum width for content images */
        min-height: 200px; /* Minimum height for content images */
    }
}

/* Ensure no images smaller than 200px are selected by any rule */
.page-login img {
    min-width: 200px;
    min-height: 200px;
}