/* style/login.css */

/* Base styles for the login page */
.page-login {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set for clarity, though body is already white */
    padding-top: var(--header-offset, 120px); /* Space for fixed header, PC & Mobile */
}

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

.page-login__hero-section {
    background-color: #000000; /* Dark background for hero to contrast with login card */
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    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;
    z-index: 0;
}

.page-login__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    z-index: 1;
}

.page-login__hero-content {
    position: relative;
    z-index: 2;
}

.page-login__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__intro-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #F0F0F0;
}

.page-login__login-card {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    margin: 40px auto 0;
    text-align: left;
    color: #333333;
}

.page-login__card-title {
    font-size: 2em;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

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

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

.page-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.page-login__form-input:focus {
    border-color: #FCBC45;
    outline: none;
}

.page-login__submit-button {
    width: 100%;
    padding: 15px;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Text color for login button */
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

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

.page-login__links {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95em;
}

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

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

.page-login__register-text {
    margin-left: 15px;
    color: #555555;
}

.page-login__section {
    padding: 60px 0;
    border-bottom: 1px solid #EEEEEE;
}

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

.page-login__explanation-section {
    background-color: #F9F9F9;
}

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

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

.page-login__additional-info-section {
    background-color: #000000; /* Dark background for additional info */
    color: #F0F0F0;
}

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

.page-login__additional-info-section .page-login__section-title {
    color: #FFFFFF;
}

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

.page-login__additional-info-section .page-login__section-description {
    color: #CCCCCC;
}

.page-login__process-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
}

.page-login__process-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-login__process-step-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-login__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-login__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

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

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

.page-login__cta-button--secondary {
    background-color: transparent;
    color: #FCBC45;
    border: 2px solid #FCBC45;
}

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

.page-login__faq-section {
    background-color: #FFFFFF;
}

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

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

.page-login__faq-item[open] {
    background-color: #FFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

.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);
}

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 2.8em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-login {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-login__main-title {
        font-size: 2.2em;
    }
    .page-login__intro-description {
        font-size: 1em;
    }
    .page-login__login-card {
        padding: 30px;
        max-width: 90%;
    }
    .page-login__card-title {
        font-size: 1.8em;
    }
    .page-login__form-input {
        width: calc(100% - 20px); /* Re-calculate for smaller padding */
    }
    .page-login__links {
        flex-direction: column;
        gap: 10px;
    }
    .page-login__register-text {
        margin-left: 0;
    }
    .page-login__section {
        padding: 40px 0;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__section-description {
        font-size: 0.95em;
    }
    .page-login__process-item,
    .page-login__security-item {
        padding: 20px;
    }
    .page-login__process-step-title,
    .page-login__security-tip-title {
        font-size: 1.4em;
    }
    .page-login__security-list {
        grid-template-columns: 1fr;
    }
    .page-login__cta-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__cta-button {
        width: 100%;
    }
    .page-login__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-login__faq-toggle {
        right: 20px;
    }
    /* Ensure content images are responsive and don't overflow */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.8em;
    }
    .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__login-card {
        padding: 25px;
    }
    .page-login__card-title {
        font-size: 1.5em;
    }
    .page-login__submit-button {
        font-size: 1em;
        padding: 12px;
    }
    .page-login__forgot-password,
    .page-login__register-text,
    .page-login__register-link {
        font-size: 0.9em;
    }
    .page-login__process-step-title,
    .page-login__security-tip-title {
        font-size: 1.2em;
    }
    .page-login__cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-login__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-login__faq-toggle {
        font-size: 1.2em;
    }
    .page-login__faq-answer {
        padding: 0 15px 15px;
    }
}

/* Image sizing rules for content area - min 200px */
.page-login img:not(.page-login__hero-image) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* No filter on images */
.page-login img {
    filter: none; /* Ensure no CSS filters are applied */
}