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

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

.page-login__hero-section {
    background-color: #000000; /* Dark background for hero section */
    color: #ffffff; /* Light text for dark hero background */
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Ensure hero image doesn't overflow */
}

.page-login__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

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

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

.page-login__login-button,
.page-login__register-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;
    margin: 0 10px;
    min-width: 200px; /* Ensure buttons are large enough */
}

.page-login__login-button {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for login button */
    border: 2px solid #FCBC45;
}

.page-login__login-button:hover {
    background-color: #e0a53a;
    color: #000000;
}

.page-login__register-button {
    background-color: transparent;
    color: #FFFFFF; /* Register button color (text) */
    border: 2px solid #FFFFFF;
}

.page-login__register-button:hover {
    background-color: #FFFFFF;
    color: #000000;
}

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

.page-login__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    opacity: 0.2; /* Make it a subtle background */
    display: block;
}

.page-login__section-title {
    font-size: 2.2em;
    color: #000000; /* Dark text for section titles */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

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

.page-login__entry-section,
.page-login__process-section,
.page-login__security-section,
.page-login__faq-section {
    padding: 60px 0;
}

.page-login__entry-section {
    background-color: #f9f9f9;
}

.page-login__process-section {
    background-color: #ffffff;
}

.page-login__security-section {
    background-color: #f9f9f9;
}

.page-login__process-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-login__process-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

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

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

.page-login__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__security-item {
    background-color: #ffffff;
    border-left: 5px solid #FCBC45;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-login__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-login__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

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

.page-login__faq-toggle {
    font-size: 1.5em;
    color: #FCBC45;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
    transform: rotate(45deg); /* Changes '+' to 'x' or similar */
}

.page-login__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #555555;
    border-top: 1px solid #eee;
    margin-top: -1px; /* Overlap border for cleaner look */
}

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

.page-login__section-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}


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

@media (max-width: 768px) {
    .page-login__hero-section {
        padding: 60px 15px;
    }
    .page-login__hero-title {
        font-size: 2em;
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__login-button,
    .page-login__register-button {
        padding: 12px 20px;
        font-size: 1em;
        margin: 5px;
        min-width: unset; /* Allow smaller width on mobile if needed */
        width: 100%;
        max-width: 250px;
    }
    .page-login__hero-content {
        margin-bottom: 20px;
    }
    .page-login__section-title {
        font-size: 1.6em;
        padding-top: 20px;
    }
    .page-login__section-text {
        font-size: 0.95em;
    }
    .page-login__process-item {
        padding: 20px;
    }
    .page-login__process-step-title {
        font-size: 1.2em;
    }
    .page-login__security-item {
        font-size: 1em;
    }
    .page-login__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-login__faq-answer {
        padding: 0 15px 15px;
    }
    /* Mobile image constraint */
    .page-login img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min size is still applied */
        min-height: 200px; /* Ensure min size is still applied */
    }
    .page-login__hero-image {
        min-width: unset; /* Hero image can be smaller if object-fit covers */
        min-height: unset;
    }
}

@media (max-width: 480px) {
    .page-login__login-button,
    .page-login__register-button {
        display: block;
        margin: 10px auto;
    }
}