/* style/login.css */
.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); /* Fixed header offset */
}

.page-login__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #0A2239; /* Dark blue background for hero content */
    color: #f0f0f0; /* Light text for dark background */
    padding-bottom: 60px; /* Add some padding at the bottom */
}

.page-login__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly transparent to let content stand out */
    z-index: 1;
}

.page-login__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.page-login__hero-content {
    max-width: 800px;
}

.page-login__main-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-login__tagline {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-login__login-form-wrapper {
    background-color: rgba(10, 34, 57, 0.9); /* Slightly transparent dark blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.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;
    color: #FFD700;
    font-weight: bold;
}

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #0A2239;
    border-radius: 5px;
    background-color: #f0f0f0;
    color: #333333;
    font-size: 1em;
}

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

.page-login__form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.page-login__login-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #FFD700; /* Gold button */
    color: #0A2239;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

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

.page-login__register-link,
.page-login__forgot-password-link {
    color: #FFD700;
    text-decoration: none;
    font-size: 0.95em;
    text-align: center;
    transition: color 0.3s ease;
}

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

.page-login__download-app-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.page-login__download-app-text {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-login__download-app-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #0A2239; /* Dark blue button */
    color: #FFD700;
    text-align: center;
    border: 2px solid #FFD700;
    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__download-app-button:hover {
    background-color: #FFD700;
    color: #0A2239;
}

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

.page-login__section-wrapper {
    margin-bottom: 60px;
}

.page-login__section-title {
    font-size: 2.2em;
    color: #0A2239; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

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

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

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

.page-login__step-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login__step-number {
    background-color: #FFD700;
    color: #0A2239;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
}

.page-login__step-title {
    font-size: 1.3em;
    color: #0A2239;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-login__step-description {
    color: #666666;
    font-size: 0.95em;
}

.page-login__security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-login__security-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.page-login__security-list {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.page-login__security-item {
    background-color: #f9f9f9;
    border-left: 5px solid #0A2239;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: #333333;
    font-size: 1em;
}

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

.page-login__faq-list {
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-login__faq-item[open] {
    background-color: #f0f8ff;
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #0A2239;
    cursor: pointer;
    list-style: none;
    outline: none;
}

.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: 15px 25px 25px;
    color: #555555;
    font-size: 1em;
    border-top: 1px solid #eee;
}

.page-login__faq-image {
    display: block;
    margin: 40px auto 0 auto;
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

    .page-login__hero-container {
        padding: 60px 20px;
    }

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

@media (max-width: 768px) {
    .page-login__main-title {
        font-size: 2.2em;
    }

    .page-login__tagline {
        font-size: 1em;
    }

    .page-login__hero-container {
        padding: 40px 20px;
    }

    .page-login__login-form-wrapper {
        max-width: 100%;
    }

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

    .page-login__security-content {
        flex-direction: column;
        text-align: center;
    }

    .page-login__security-image {
        max-width: 100%;
        width: auto;
    }

    .page-login__security-list {
        width: 100%;
    }

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

    .page-login__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-login__step-number {
        margin-bottom: 15px;
    }

    /* Ensure content images do not overflow */
    .page-login img {
        max-width: 100%;
        height: auto;
    }

    .page-login__security-image, .page-login__faq-image {
        min-width: 200px; /* Ensure min size for content images */
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.8em;
    }

    .page-login__login-button,
    .page-login__download-app-button {
        font-size: 1em;
        padding: 12px 15px;
    }

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

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

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