.page-login {
    color: #000000; /* Dark text for light body background */
    background-color: var(--secondary-color); /* Matches body background from shared.css */
    padding-top: var(--header-offset, 120px); /* Account for fixed header on desktop */
    font-family: Arial, sans-serif;
}

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

.page-login__hero-section {
    position: relative;
    text-align: center;
    padding: 60px 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

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

.page-login__hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    color: #FFFFFF;
}

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

.page-login__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #F0F0F0;
}

.page-login__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for login button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.page-login__login-form-section,
.page-login__process-section,
.page-login__security-section,
.page-login__faq-section {
    padding: 60px 20px;
    text-align: center;
}

.page-login__section-title {
    font-size: 2em;
    color: #000000;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-login__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    border-radius: 2px;
}

.page-login__login-card {
    background-color: #000000; /* Dark card background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto;
    color: #FFFFFF;
    text-align: left;
}

.page-login__card-description {
    font-size: 1.05em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #E0E0E0;
}

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

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

.page-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #444444;
    border-radius: 5px;
    background-color: #222222;
    color: #FFFFFF;
    font-size: 1em;
}

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

.page-login__form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.page-login__submit-button {
    flex-grow: 1;
    padding: 15px 20px;
    background-color: #FCBC45;
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

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

.page-login__forgot-password {
    color: #FCBC45;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

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

.page-login__register-prompt {
    margin-top: 25px;
    font-size: 0.95em;
    color: #CCCCCC;
}

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

.page-login__register-link:hover {
    color: #FFFFFF;
}

.page-login__process-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-login__process-item {
    background-color: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: left;
    transition: transform 0.3s ease;
}

.page-login__process-item:hover {
    transform: translateY(-5px);
}

.page-login__process-step-title {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
}

.page-login__process-step-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

.page-login__process-image {
    width: 800px;
    height: 600px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-login__security-item {
    background-color: #000000; /* Dark background for security items */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
    text-align: center;
}

.page-login__security-icon {
    width: 300px; /* Min 200px */
    height: 200px; /* Min 200px */
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-login__security-item-title {
    font-size: 1.5em;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-login__security-item-description {
    font-size: 1em;
    color: #E0E0E0;
    line-height: 1.6;
}

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

.page-login__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    background-color: #F8F8F8;
    border-bottom: 1px solid #EEEEEE;
    transition: background-color 0.3s ease;
}

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

.page-login__faq-item[open] .page-login__faq-question {
    background-color: #EAEAEA;
    border-bottom-color: transparent;
}

.page-login__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FCBC45;
}

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

.page-login__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-login {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }

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

    .page-login__description {
        font-size: 0.95em;
    }

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

    .page-login__login-form-section,
    .page-login__process-section,
    .page-login__security-section,
    .page-login__faq-section {
        padding: 40px 15px;
    }

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

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

    .page-login__form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .page-login__submit-button {
        width: 100%;
    }

    .page-login__forgot-password,
    .page-login__register-prompt {
        font-size: 0.9em;
    }

    .page-login__process-list {
        flex-direction: column;
        align-items: center;
    }

    .page-login__process-item {
        max-width: 100%;
        width: 100%;
    }

    .page-login__process-image {
        width: 100%;
        height: auto; /* Ensure images scale correctly */
        min-width: 200px; /* Enforce min image size */
        min-height: 200px; /* Enforce min image size */
        object-fit: contain; /* Prevent stretching on small screens */
    }

    .page-login__security-grid {
        grid-template-columns: 1fr;
    }

    .page-login__security-icon {
        width: 250px; /* Min 200px */
        height: 150px; /* Min 200px */
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min image size */
        min-height: 200px; /* Enforce min image size */
    }

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

    .page-login__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* Ensure content area images are constrained */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure all images within .page-login are at least 200px */
.page-login img:not(.page-login__hero-image) {
    min-width: 200px;
    min-height: 200px;
}