/* style/login.css */

/* Global styles for the login page content area */
.page-login {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF; /* Ensures consistency with body background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden; /* To contain the image if it's larger */
    background: linear-gradient(135deg, #000000 0%, #333333 100%); /* Dark gradient for contrast */
    color: #FFFFFF; /* Light text for dark hero background */
}

.page-login__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make background image subtle */
    z-index: 1;
}

.page-login__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

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

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

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

.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;
    cursor: pointer;
    text-align: center;
}

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

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

.page-login__button--register {
    background-color: #000000; /* Main color for register */
    color: #FFFFFF; /* Register text color */
    border: 2px solid #FFFFFF;
}

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

/* Content Area */
.page-login__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-login__module {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-login__module-description,
.page-login__module-intro {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 20px;
    text-align: justify;
}

.page-login__button--access,
.page-login__button--support {
    display: block;
    width: fit-content;
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin: 20px auto 0 auto;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 5px;
}

.page-login__button--access:hover,
.page-login__button--support:hover {
    background-color: #333333;
    border-color: #333333;
    transform: translateY(-1px);
}


/* Step-by-Step Login Process */
.page-login__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-login__step-item {
    background-color: #FFFFFF;
    border-left: 5px solid #FCBC45;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-login__step-title {
    font-size: 1.4em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-login__step-description {
    color: #666666;
    margin-bottom: 0;
}

.page-login__process-image {
    display: block;
    margin: 30px auto 0 auto;
    max-width: 800px; /* Ensure image doesn't overflow */
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Security Section */
.page-login__security-list {
    list-style: disc;
    padding-left: 25px;
    color: #555555;
}

.page-login__security-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-login__security-image {
    display: block;
    margin: 30px auto 0 auto;
    max-width: 800px; /* Ensure image doesn't overflow */
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-login__faq-list {
    margin-top: 20px;
}

.page-login__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-login__faq-item[open] {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-login__faq-question {
    display: block;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    position: relative;
    background-color: #F8F8F8;
    border-bottom: 1px solid #EEEEEE;
    transition: background-color 0.3s ease;
}

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

.page-login__faq-question::-webkit-details-marker {
    display: none;
}

.page-login__faq-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    color: #FCBC45;
    transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
    transform: translateY(-50%) rotate(45deg); /* Change to X when open */
}

.page-login__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1.05em;
    color: #666666;
    background-color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-login__main-title {
        font-size: 2.5em;
    }
    .page-login__hero-description {
        font-size: 1.1em;
    }
    .page-login__module-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-login {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header */
    }
    .page-login__hero-section {
        padding: 40px 15px;
    }
    .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%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-login__content-area {
        padding: 20px 15px;
    }
    .page-login__module {
        padding: 20px;
    }
    .page-login__module-title {
        font-size: 1.5em;
    }
    .page-login__module-description,
    .page-login__module-intro {
        font-size: 0.95em;
    }
    .page-login__step-title {
        font-size: 1.2em;
    }
    .page-login__step-description {
        font-size: 0.9em;
    }
    .page-login__security-item,
    .page-login__faq-answer p {
        font-size: 0.9em;
    }
    .page-login__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-login__faq-toggle {
        right: 20px;
        font-size: 1.3em;
    }

    /* Important: Mobile content image overflow prevention */
    .page-login__hero-image,
    .page-login__process-image,
    .page-login__security-image {
        max-width: 100%;
        height: auto;
    }
}