/* style/login.css */
.page-login {
    color: #333333; /* Default dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-login__hero-section {
    background-color: #000000; /* Auxiliary color for hero background */
    color: #ffffff; /* Light text for dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-login__main-title {
    font-size: 2.8em;
    color: #FFD700; /* Primary color for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-login__login-form-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    max-width: 400px;
    margin: 0 auto 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-login__login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-login__form-group {
    text-align: left;
}

.page-login__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #FFD700; /* Primary color for labels */
}

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #FFD700;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1em;
}

.page-login__form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.page-login__submit-button {
    background-color: #FFD700; /* Primary color for submit button */
    color: #000000; /* Auxiliary color for button text */
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-login__form-links {
    margin-top: 20px;
    font-size: 0.9em;
}

.page-login__form-links a {
    color: #FFD700;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.page-login__form-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-login__hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    margin-top: 40px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-login__content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-login__section-title {
    font-size: 2em;
    color: #000000; /* Auxiliary color for section titles */
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.page-login__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FFD700; /* Primary color for underline */
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-login__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
}

.page-login__entry-explanation,
.page-login__process-section,
.page-login__security-section,
.page-login__faq-section,
.page-login__cta-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eeeeee;
}

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

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

.page-login__process-item {
    background-color: #ffffff;
    border: 1px solid #FFD700;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__process-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #FFD700;
    color: #000000;
    font-size: 1.8em;
    font-weight: bold;
    border-radius: 50%;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #000000;
}

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

.page-login__process-step-description {
    color: #555555;
}

.page-login__action-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    background-color: #000000; /* Auxiliary color for CTA button */
    color: #FFD700; /* Primary color for CTA text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-login__action-button:hover {
    background-color: #333333;
    color: #e6c200;
}

.page-login__security-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.page-login__security-item {
    background-color: #ffffff;
    border-left: 5px solid #FFD700;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: #333333;
}

.page-login__security-item strong {
    color: #000000;
}

.page-login__security-image {
    display: block;
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: 40px auto 0;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-login__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-login__faq-item {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    background-color: #f0f0f0;
    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: #FFD700;
    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;
    background-color: #ffffff;
    color: #555555;
    border-top: 1px solid #eee;
}

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

.page-login__cta-section {
    background-color: #000000; /* Auxiliary color for CTA background */
    color: #ffffff; /* Light text for dark background */
    text-align: center;
    padding: 80px 20px;
}

.page-login__cta-title {
    font-size: 2.5em;
    color: #FFD700; /* Primary color for CTA title */
    margin-bottom: 20px;
}

.page-login__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.page-login__cta-button--primary {
    background-color: #FFD700; /* Primary color for primary CTA button */
    color: #000000; /* Auxiliary color for primary CTA text */
    border: 2px solid #FFD700;
}

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

.page-login__cta-button--secondary {
    background-color: transparent;
    color: #FFD700; /* Primary color for secondary CTA text */
    border: 2px solid #FFD700;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-login {
        padding-top: var(--header-offset, 80px);
    }

    .page-login__main-title {
        font-size: 2.2em;
    }

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

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

    .page-login__process-list {
        grid-template-columns: 1fr;
    }

    .page-login__process-item::before {
        top: -20px;
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

    .page-login__security-list {
        grid-template-columns: 1fr;
    }

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

    .page-login__faq-answer {
        padding: 10px 20px 15px;
    }

    .page-login__cta-title {
        font-size: 2em;
    }

    .page-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-login__hero-image,
    .page-login__security-image {
        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-form-wrapper {
        padding: 20px;
    }

    .page-login__submit-button,
    .page-login__action-button,
    .page-login__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-login__form-links a {
        margin: 0 5px;
    }
}