/* style/login.css */
.page-login {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #FFFFFF; /* Using auxiliary color as background as per palette, assuming var(--secondary-color) is light */
    color: #333333; /* Dark text for contrast on light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-login__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 40px;
    background-color: #000000; /* Main color for hero background */
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FCBC45; /* Accent line */
}

.page-login__hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.page-login__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login accent color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.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, transform 0.2s ease;
    white-space: nowrap; /* Prevent button text from wrapping */
}

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

.page-login__button--login:hover {
    background-color: #e0a53a;
    transform: translateY(-2px);
}

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

.page-login__button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-login__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    margin-top: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Form Section */
.page-login__form-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

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

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

.page-login__form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.page-login__form-remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.page-login__checkbox {
    margin-right: 10px;
    transform: scale(1.2);
}

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

.page-login__form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-login__button--submit {
    background-color: #FCBC45;
    color: #000000;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.05em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__button--submit:hover {
    background-color: #e0a53a;
    transform: translateY(-1px);
}

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

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

.page-login__form-register-prompt {
    text-align: center;
    color: #555555;
    font-size: 0.95em;
}

.page-login__link--register-now {
    margin-left: 5px;
}

/* Content Sections */
.page-login__content-section {
    padding: 60px 20px;
    border-bottom: 1px solid #eeeeee;
}

.page-login__content-section:last-of-type {
    border-bottom: none;
}

.page-login__section-title {
    font-size: 2.2em;
    color: #000000;
    margin-bottom: 25px;
    text-align: center;
}

.page-login__content-section p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
    color: #444444;
}

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

.page-login__ordered-list li,
.page-login__unordered-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #444444;
}

.page-login__ordered-list li strong {
    color: #000000;
}

.page-login__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

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

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #000000; /* Dark background for question */
    color: #FFFFFF; /* Light text for question */
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
    background-color: #1a1a1a; /* Slightly lighter on hover */
}

.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); /* Change + to X */
}

.page-login__faq-answer {
    padding: 20px;
    background-color: #fefefe; /* Very light background for answer */
    color: #333333;
    border-top: 1px solid #eeeeee;
}

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

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

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

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

    .page-login__button {
        width: 100%;
        padding: 12px 20px;
    }

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

    .page-login__form {
        padding: 30px 20px;
    }

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

    .page-login__button--submit {
        width: 100%;
    }

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

    .page-login__content-image {
        max-width: 100%;
        height: auto;
    }

    .page-login__ordered-list,
    .page-login__unordered-list {
        padding-left: 10px;
    }

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

    /* Ensure all images within .page-login are responsive and not too small */
    .page-login img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.8em;
    }

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

    .page-login__hero-actions {
        flex-direction: column;
    }

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

    .page-login__form {
        padding: 20px;
    }
}