.page-login {
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop and mobile */
}

.page-login__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Minimum height for hero section */
}

.page-login__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-login__hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay */
    border-radius: 10px;
    max-width: 900px;
    margin: 20px;
    color: #FFFFFF;
}

.page-login__main-title {
    font-size: 2.8em;
    color: #FCBC45; /* Login color for emphasis */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-login__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    max-width: 700px;
    margin: 0 auto;
}

.page-login__content-area {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.page-login__login-form-container {
    background-color: #000000; /* Main color for form background */
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-login__login-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:login_form_bg:800x600:login,form,background,opulent,dark_luxury]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-login__form-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-login__form-title {
    font-size: 2.2em;
    color: #FCBC45;
    margin-bottom: 10px;
}

.page-login__form-subtitle {
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-login__login-form {
    position: relative;
    z-index: 1;
}

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

.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 #FCBC45;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 1em;
    box-sizing: border-box;
}

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

.page-login__form-input:focus {
    outline: none;
    border-color: #FCBC45;
    box-shadow: 0 0 8px rgba(252, 188, 69, 0.6);
}

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

.page-login__forgot-password-link {
    color: #FCBC45;
    text-decoration: none;
    font-size: 0.95em;
}

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

.page-login__submit-button {
    width: 100%;
    padding: 15px;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for login button */
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__submit-button:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-login__register-prompt {
    text-align: center;
    margin-top: 30px;
    font-size: 1em;
    color: #f0f0f0;
    position: relative;
    z-index: 1;
}

.page-login__register-link {
    color: #FFFFFF; /* Register link color */
    text-decoration: none;
    font-weight: bold;
}

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

.page-login__text-content {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-login__section-title {
    font-size: 2em;
    color: #000000; /* Main color for section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 10px;
}

.page-login__section-title:first-of-type {
    margin-top: 0;
}

.page-login__paragraph {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #333333;
}

.page-login__ordered-list,
.page-login__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #333333;
}

.page-login__ordered-list {
    list-style-type: decimal;
}

.page-login__unordered-list {
    list-style-type: disc;
}

.page-login__list-item {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-login__list-item strong {
    color: #000000;
}

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

.page-login__security-image {
    width: 600px;
    height: 400px;
    object-fit: cover;
}

.page-login__support-image {
    width: 800px;
    height: 450px;
    object-fit: cover;
}

.page-login__cta-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__cta-button:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-login__faq-list {
    margin-top: 30px;
}

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

.page-login__faq-question {
    padding: 15px 20px;
    background: #000000; /* Main color for FAQ question background */
    color: #FCBC45; /* Login color for FAQ question text */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
    background: rgba(0, 0, 0, 0.8);
}

.page-login__faq-toggle {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
    transform: rotate(45deg);
}

.page-login__faq-answer {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.05); /* Lighter background for answer */
    color: #333333;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

.page-login__faq-answer p {
    margin-bottom: 0;
}

.page-login__inline-link {
    color: #FCBC45; /* Login color for inline links */
    text-decoration: none;
    font-weight: bold;
}

.page-login__inline-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-login__content-area {
        grid-template-columns: 1fr 2fr; /* Two columns for desktop */
    }

    .page-login__login-form-container {
        grid-column: 1 / 2; /* Form in the first column */
        grid-row: 1 / span 2; /* Spans two rows */
    }

    .page-login__text-content {
        grid-column: 2 / 3; /* Text content in the second column */
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        min-height: 300px;
    }

    .page-login__hero-overlay {
        padding: 15px;
        margin: 10px;
    }

    .page-login__main-title {
        font-size: 2em;
    }

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

    .page-login__login-form-container {
        padding: 30px 20px;
    }

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

    .page-login__form-subtitle {
        font-size: 0.95em;
    }

    .page-login__submit-button {
        font-size: 1em;
        padding: 12px;
    }

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

    .page-login__paragraph,
    .page-login__list-item,
    .page-login__faq-question,
    .page-login__faq-answer {
        font-size: 0.95em;
    }

    .page-login__image img {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and don't overflow */
    }

    .page-login__security-image, .page-login__support-image {
        width: 100%;
        height: auto;
        min-width: 200px; /* Minimum width for mobile images */
        min-height: 200px; /* Minimum height for mobile images */
    }

    /* Ensure all images within .page-login are responsive */
    .page-login img {
        max-width: 100% !important;
        height: auto !important;
    }

    .page-login__content-area {
        padding: 0 15px;
    }

    /* Prevent horizontal scrolling */
    .page-login {
        overflow-x: hidden;
    }
}