.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); /* Fixed header offset */
}

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

/* Hero Section */
.page-login__hero-section {
    position: relative;
    background-color: #000000; /* Dark background for hero overlay */
    color: #ffffff; /* Light text for dark background */
    padding: 80px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-login__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Slightly dim image to make text readable */
    z-index: 1;
}

.page-login__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-login__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Highlight title with login button color */
    line-height: 1.2;
}

.page-login__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-login__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.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;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__login-button {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

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

.page-login__register-button {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-login__register-button:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

/* General Section Styling */
.page-login__login-form-section,
.page-login__login-process-section,
.page-login__security-section,
.page-login__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Light background for content sections */
}

.page-login__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-login__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Login Form Section */
.page-login__login-panel {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

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

.page-login__form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333333;
    font-size: 1em;
}

.page-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 1em;
    color: #333333;
}

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

.page-login__form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.95em;
}

.page-login__remember-me {
    display: flex;
    align-items: center;
}

.page-login__checkbox {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: #FCBC45; /* Style checkbox */
}

.page-login__checkbox-label {
    color: #555555;
}

.page-login__forgot-password-link {
    color: #FCBC45;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-login__submit-button {
    width: 100%;
    padding: 15px;
    background-color: #FCBC45;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(252, 188, 69, 0.4);
}

.page-login__submit-button:hover {
    background-color: #e0a53a;
    box-shadow: 0 6px 15px rgba(252, 188, 69, 0.6);
}

.page-login__no-account {
    text-align: center;
    margin-top: 30px;
    font-size: 1em;
    color: #555555;
}

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

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

/* Login Process Section */
.page-login__process-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
    counter-reset: step-counter;
}

.page-login__process-item {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 70px;
}

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

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

.page-login__text-link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

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

/* Security Section */
.page-login__security-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-login__security-card {
    background-color: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding-bottom: 30px;
}

.page-login__security-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency, min 200px */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-login__security-card-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-login__security-card-text {
    color: #555555;
    padding: 0 20px;
    font-size: 1em;
}

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

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

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    background-color: #e8e8e8;
    border-bottom: 1px solid #dddddd; /* Visual separation */
    transition: background-color 0.3s ease;
}

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

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

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

.page-login__faq-answer {
    padding: 15px 25px 20px 25px;
    color: #555555;
    font-size: 1em;
    border-top: 1px solid #f0f0f0; /* Invisible border to separate from summary visually */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 2.8em;
    }
    .page-login__hero-description {
        font-size: 1.2em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
    .page-login__security-card-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .page-login {
        padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
    }
    .page-login__hero-section {
        padding: 60px 0;
        min-height: 400px;
    }
    .page-login__main-title {
        font-size: 2.2em;
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__login-button,
    .page-login__register-button {
        width: 80%;
        margin: 0 auto;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__section-description {
        font-size: 0.95em;
    }
    .page-login__login-panel {
        padding: 30px;
    }
    .page-login__form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .page-login__process-item {
        padding-left: 60px;
    }
    .page-login__process-item::before {
        left: 15px;
        top: 25px;
        width: 35px;
        height: 35px;
        font-size: 1.3em;
    }
    .page-login__process-step-title {
        font-size: 1.3em;
    }
    .page-login__security-cards {
        grid-template-columns: 1fr;
    }
    .page-login__security-card-image {
        max-width: 100%;
        height: auto; /* Ensure image scales down */
        min-height: 200px; /* Maintain minimum height */
    }
    .page-login__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-login__faq-answer {
        padding: 12px 20px 15px 20px;
    }

    /* Mobile content area image constraint */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.8em;
    }
    .page-login__hero-description {
        font-size: 0.9em;
    }
    .page-login__hero-section {
        padding: 40px 0;
        min-height: 350px;
    }
    .page-login__login-button,
    .page-login__register-button {
        width: 90%;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__login-panel {
        padding: 25px;
    }
    .page-login__form-input {
        padding: 10px;
    }
    .page-login__submit-button {
        padding: 12px;
    }
}