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

.page-login__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px; /* Minimum height for hero section */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
}

.page-login__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-login__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 32, 44, 0.7); /* Dark overlay from main color */
    z-index: -1;
}

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

.page-login__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FFD700; /* Gold accent for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-login__login-form-wrapper {
    background: rgba(26, 32, 44, 0.9); /* Slightly transparent main color for form background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    margin: 0 auto;
}

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

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

.page-login__form-input {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 12px 10px;
    border: 1px solid #FFD700;
    border-radius: 5px;
    background-color: #333d4f;
    color: #ffffff;
    font-size: 1em;
}

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

.page-login__form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.page-login__remember-me {
    display: flex;
    align-items: center;
}

.page-login__checkbox {
    margin-right: 8px;
}

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

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

.page-login__forgot-password-link:hover {
    color: #ffe033;
}

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

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

.page-login__register-prompt {
    margin-top: 20px;
    color: #f0f0f0;
    font-size: 0.95em;
}

.page-login__register-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-login__register-link:hover {
    color: #ffe033;
}

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

.page-login__section-title {
    font-size: 2em;
    color: #1A202C;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

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

.page-login__section-text {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
    color: #333333;
}

.page-login__process-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 30px;
}

.page-login__process-item {
    display: flex;
    align-items: flex-start;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-login__process-step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700;
    margin-right: 20px;
    flex-shrink: 0;
}

.page-login__process-content {
    text-align: left;
}

.page-login__process-step-title {
    font-size: 1.5em;
    color: #1A202C;
    margin-bottom: 10px;
}

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

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

.page-login__security-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-login__security-icon {
    width: 250px; /* Minimum 200px */
    height: 187.5px; /* Maintain aspect ratio for 800x600 */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-login__security-card-title {
    font-size: 1.3em;
    color: #1A202C;
    margin-bottom: 10px;
}

.page-login__security-card-text {
    color: #555555;
    font-size: 0.95em;
}

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

.page-login__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #1A202C;
    cursor: pointer;
    list-style: none; /* Hide default marker */
}

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

.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: 0 25px 20px;
    color: #555555;
    line-height: 1.7;
    font-size: 0.95em;
}

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

@media (max-width: 768px) {
    .page-login {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-login__hero-section {
        min-height: 500px;
        padding: 30px 15px;
    }
    .page-login__hero-title {
        font-size: 2em;
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__login-form-wrapper {
        padding: 25px;
    }
    .page-login__form-input {
        width: calc(100% - 20px);
    }
    .page-login__section {
        margin: 40px auto;
        padding: 0 15px;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__process-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-login__process-step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-login__security-grid {
        grid-template-columns: 1fr;
    }
    .page-login__security-icon {
        max-width: 100%;
        height: auto;
        width: 300px; /* Ensure minimum width for smaller screens */
        height: 225px;
    }
    .page-login__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-login__faq-answer {
        padding: 0 20px 15px;
    }
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-login__hero-section {
        min-height: 400px;
    }
    .page-login__hero-title {
        font-size: 1.6em;
    }
    .page-login__hero-description {
        font-size: 0.9em;
    }
    .page-login__login-form-wrapper {
        padding: 20px;
    }
    .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__process-step-title {
        font-size: 1.3em;
    }
    .page-login__security-icon {
        width: 250px;
        height: 187.5px;
    }
}