.page-login {
    color: #ffffff; /* Light text for dark body background */
    background-color: #1A202C; /* Ensure consistency with body background */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

.page-login__hero-section {
    position: relative;
    padding: 80px 20px 60px;
    text-align: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-login__hero-container {
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-login__main-heading {
    font-size: 3.2em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__intro-text {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-login__login-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-login__login-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(100%); /* Maintain original color, just grayscale for background effect */
    z-index: 0;
}

.page-login__login-form {
    position: relative;
    z-index: 1;
    text-align: left;
}

.page-login__form-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 25px;
    text-align: center;
}

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

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

.page-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    background-color: rgba(26, 32, 44, 0.7);
    color: #ffffff;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

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

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

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

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

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

.page-login__submit-button {
    width: 100%;
    padding: 15px;
    background-color: #FFD700;
    color: #1A202C;
    border: none;
    border-radius: 8px;
    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__content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-login__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-login__section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.page-login__process-section {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 60px 0;
    margin-top: 60px;
}

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

.page-login__process-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-login__process-item:hover {
    transform: translateY(-5px);
}

.page-login__process-step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #FFD700;
    color: #1A202C;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-login__process-step-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-login__process-step-description {
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.5;
}

.page-login__security-section {
    padding: 60px 0;
    margin-top: 60px;
}

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

.page-login__security-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-login__security-item:hover {
    transform: translateY(-5px);
}

.page-login__security-icon {
    width: 250px; /* Min size 200px */
    height: 150px; /* Min size 200px */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-login__security-item-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-login__security-item-description {
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.5;
}

.page-login__faq-section {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 60px 0;
    margin-top: 60px;
    margin-bottom: 60px;
}

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

.page-login__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #FFD700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-login__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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: #f0f0f0;
    line-height: 1.6;
    font-size: 0.95em;
}

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

@media (max-width: 768px) {
    .page-login__main-heading {
        font-size: 2.2em;
    }
    .page-login__intro-text {
        font-size: 1em;
    }
    .page-login__login-card {
        padding: 25px;
    }
    .page-login__form-title {
        font-size: 1.5em;
    }
    .page-login__form-options {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__process-list,
    .page-login__security-grid {
        grid-template-columns: 1fr;
    }
    .page-login__process-item,
    .page-login__security-item {
        padding: 25px;
    }
    .page-login__security-icon {
        width: 200px; /* Ensure min size for mobile */
        height: 120px; /* Ensure min size for mobile */
    }
    .page-login__content-wrapper {
        padding: 30px 15px;
    }
    /* Mobile overflow prevention */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
    .page-login {
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-login__hero-section {
        padding: 60px 15px 40px;
    }
    .page-login__main-heading {
        font-size: 1.8em;
    }
    .page-login__intro-text {
        font-size: 0.9em;
    }
    .page-login__login-card {
        padding: 20px;
    }
    .page-login__form-title {
        font-size: 1.3em;
    }
    .page-login__submit-button {
        font-size: 1em;
    }
    .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-login__faq-answer {
        padding: 0 20px 15px;
    }
}