/* style/login.css */

/* Base styling for the login page content */
.page-login {
    color: #ffffff; /* Light text for dark body background */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-login__hero-section {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.9), rgba(255, 215, 0, 0.7)); /* Using primary and secondary colors */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-login__hero-title {
    font-size: 3em;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-login__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-login__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.page-login__btn--primary {
    background-color: #FFD700; /* Primary color */
    color: #1E90FF; /* Secondary color for text */
    border: 2px solid #FFD700;
}

.page-login__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

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

.page-login__btn--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.page-login__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.page-login__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.page-login__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Primary color */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-login__section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.page-login__section-grid--reversed {
    grid-template-columns: 1fr 1fr; /* Default order for desktop */
}

.page-login__text-content {
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-login__text-content p {
    margin-bottom: 20px;
}

.page-login__image-wrapper {
    text-align: center;
}

.page-login__image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
    object-fit: cover;
}

.page-login__numbered-list,
.page-login__bullet-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.page-login__numbered-list li,
.page-login__bullet-list li {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-login__numbered-list li:hover,
.page-login__bullet-list li:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-login__numbered-list li strong {
    color: #FFD700;
    margin-right: 10px;
    flex-shrink: 0;
}

.page-login__bullet-list li::before {
    content: '•';
    color: #FFD700;
    font-size: 1.5em;
    line-height: 1;
    margin-right: 10px;
    flex-shrink: 0;
}

/* FAQ Section */
.page-login__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-login__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.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;
    font-size: 1.05em;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-login__hero-title {
        font-size: 2.5em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
    .page-login__section-grid {
        grid-template-columns: 1fr;
    }
    .page-login__section-grid--reversed {
        grid-template-columns: 1fr;
    }
    .page-login__image-wrapper {
        order: -1; /* Image first on mobile for reversed grid */
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        padding: 60px 20px;
    }
    .page-login__hero-title {
        font-size: 2em;
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__btn {
        padding: 12px 25px;
        font-size: 1em;
        min-width: unset;
        width: 100%;
    }
    .page-login__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__content-area {
        padding: 40px 15px;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__text-content {
        font-size: 1em;
    }
    .page-login__image-wrapper img {
        max-width: 100%;
        height: auto;
    }
    .page-login__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-login__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-login__hero-title {
        font-size: 1.8em;
    }
    .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__numbered-list li,
    .page-login__bullet-list li {
        padding: 12px 15px;
        font-size: 0.95em;
    }
}