.page-login {
    color: #333333; /* Dark text for default white body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-login__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
    overflow: hidden;
    text-align: center;
    background-color: #4B0082; /* Royal Purple background for hero content area */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero section */
}

.page-login__hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

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

.page-login__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text readability */
    border-radius: 10px;
}

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

.page-login__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-login__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #4B0082; /* Royal Purple 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;
    border: none;
    cursor: pointer;
}

.page-login__cta-button:hover {
    background-color: #e0b800; /* Darker gold on hover */
    color: #3a0066;
}

.page-login__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
}

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

.page-login__section-title {
    font-size: 2.5em;
    color: #4B0082; /* Royal Purple for section titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-login__login-form-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.page-login__form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px 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;
    font-weight: bold;
    margin-bottom: 8px;
    color: #4B0082;
}

.page-login__form-input {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__form-input:focus {
    border-color: #FFD700;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.page-login__submit-button {
    width: 100%;
    background-color: #FFD700;
    color: #4B0082;
    padding: 15px 0;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-login__submit-button:hover {
    background-color: #e0b800;
}

.page-login__form-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95em;
}

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

.page-login__forgot-password:hover,
.page-login__register-link:hover {
    color: #FFD700;
}

.page-login__no-account-text {
    margin-left: 15px;
}

.page-login__process-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-login__process-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: left;
    counter-increment: step-counter;
}

.page-login__process-item::before {
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: 15px;
    background-color: #FFD700;
    color: #4B0082;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

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

.page-login__security-section {
    background-color: #f2f2f2;
    padding: 60px 0;
}

.page-login__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-login__security-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-login__security-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.page-login__security-item-title {
    font-size: 1.3em;
    color: #4B0082;
    margin-bottom: 10px;
}

.page-login__security-item-description {
    color: #666666;
}

.page-login__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-login__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-login__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #4B0082;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
    font-size: 1.5em;
    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;
    background-color: #fefefe;
    color: #555555;
    font-size: 1em;
    border-top: 1px solid #eee;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 3em;
    }
    .page-login__description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        min-height: 450px;
    }
    .page-login__hero-content {
        padding: 15px;
    }
    .page-login__main-title {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    .page-login__description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-login__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
    .page-login__section-description {
        font-size: 1em;
    }
    .page-login__form {
        padding: 30px;
    }
    .page-login__process-list,
    .page-login__security-grid {
        grid-template-columns: 1fr;
    }
    .page-login__security-image {
        height: 200px;
    }
    .page-login__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-login__faq-answer {
        padding: 12px 20px;
    }
    /* Ensure images do not overflow on mobile */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 2em;
    }
    .page-login__description {
        font-size: 0.9em;
    }
    .page-login__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-login__form-links {
        flex-direction: column;
        gap: 10px;
    }
    .page-login__no-account-text {
        margin-left: 0;
    }
    .page-login__security-image {
        height: 180px;
    }
}