/* style/login.css */

/* Base styles for the login page content */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for default (white) body background */
    padding-bottom: 60px; /* Space for footer */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Hero Section */
.page-login__hero-section {
    background-color: #0A192F; /* Main brand color for hero background */
    color: #ffffff; /* Light text for dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-login__main-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for main title */
    font-weight: bold;
}

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

.page-login__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Accent color for CTA button */
    color: #0A192F; /* Dark text for accent button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1.1em;
    margin-top: 20px;
}

.page-login__cta-button:hover {
    background-color: #e6c200; /* Slightly darker accent on hover */
}

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

.page-login__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    display: block;
}

/* General Section Styling */
.page-login__info-section,
.page-login__process-section,
.page-login__security-section,
.page-login__faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #ffffff; /* Light background for content sections */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-login__section-title {
    font-size: 2.5em;
    color: #0A192F; /* Main brand color for section titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Cards Grid */
.page-login__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-login__card {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

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

.page-login__card-title {
    font-size: 1.5em;
    color: #0A192F;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__card-text {
    color: #666666;
    margin-bottom: 20px;
}

.page-login__card-button {
    display: inline-block;
    background-color: #0A192F; /* Main brand color for card button */
    color: #FFD700; /* Accent text for dark button */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 0.95em;
}

.page-login__card-button:hover {
    background-color: #1a2c47;
}

/* Process List */
.page-login__process-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-login__process-item {
    background-color: #f0f8ff; /* Light blue background for process items */
    border-left: 5px solid #FFD700; /* Accent border */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-login__process-step-title {
    font-size: 1.3em;
    color: #0A192F;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-login__security-item {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-login__security-item img {
    width: 250px; /* Larger image size */
     /* Maintain aspect ratio for 400x300 display */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-login__security-tip-title {
    font-size: 1.4em;
    color: #0A192F;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-login__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-login__faq-question {
    display: block;
    padding: 20px;
    background-color: #0A192F; /* Dark background for question summary */
    color: #FFD700; /* Accent text for questions */
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
}

.page-login__faq-item[open] .page-login__faq-toggle {
    content: "-";
}

.page-login__faq-answer {
    padding: 20px;
    background-color: #ffffff;
    color: #333333;
    border-top: 1px solid #eeeeee;
}

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

/* Small CTA button variant */
.page-login__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 2.5em;
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        padding: 60px 15px;
    }
    .page-login__main-title {
        font-size: 2em;
    }
    .page-login__hero-description {
        font-size: 0.95em;
    }
    .page-login__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-login__info-section,
    .page-login__process-section,
    .page-login__security-section,
.page-login__faq-section {
        margin: 30px auto;
        padding: 30px 15px;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__section-description {
        font-size: 1em;
    }
    .page-login__cards-grid,
    .page-login__security-list {
        grid-template-columns: 1fr;
    }
    .page-login__security-item img {
        max-width: 100%; /* Ensure images are responsive */
        height: auto;
        max-width: 300px; /* Prevent images from becoming too large */
    }
    /* Mobile content area images must be responsive and not cause overflow */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.8em;
    }
    .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__process-item,
    .page-login__security-item,
    .page-login__faq-item {
        padding: 15px;
    }
    .page-login__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-login__faq-toggle {
        font-size: 1.2em;
        right: 15px;
    }
}