/* style/login.css */

/* --- General Styles --- */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    padding-bottom: 40px; /* Add some padding to the bottom of the main content */
}

.page-login__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-login__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-login__sub-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-login__text-block {
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-login__note {
    font-style: italic;
    color: #A7D9B8; /* Text Secondary */
}

.page-login__ordered-list,
.page-login__unordered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-login__list-item {
    margin-bottom: 10px;
}

/* --- Buttons --- */
.page-login__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-login__cta-buttons--center {
    justify-content: center;
}

.page-login__btn-primary,
.page-login__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    text-align: center;
}

.page-login__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-login__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-login__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow */
    border: 2px solid #57E38D; /* Glow */
}

.page-login__btn-secondary:hover {
    background-color: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.page-login__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F; /* Background */
    overflow: hidden;
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 12px;
}

.page-login__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.page-login__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-login__main-title {
    font-size: 3.5em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-login__description {
    font-size: 1.2em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* --- Intro Section --- */
.page-login__intro-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

/* --- Guide Section --- */
.page-login__guide-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

.page-login__guide-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-login__guide-steps {
    flex: 2;
}

.page-login__guide-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-login__guide-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.page-login__step-title {
    font-size: 1.4em;
    color: #F2C14E; /* Gold */
    margin-top: 15px;
    margin-bottom: 8px;
}

/* --- Troubleshooting Section --- */
.page-login__trouble-section {
    padding: 80px 0;
    background-color: #11271B; /* Card BG */
}

/* --- Security Section --- */
.page-login__security-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-login__security-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-login__security-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.page-login__security-text {
    flex: 2;
}

/* --- Benefits Section --- */
.page-login__benefits-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

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

.page-login__benefit-card {
    background-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-login__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-login__benefit-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin: 0 auto 20px auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    min-height: 200px;
}

.page-login__card-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
}

.page-login__card-text {
    color: #A7D9B8; /* Text Secondary */
}

/* --- FAQ Section --- */
.page-login__faq-section {
    padding: 80px 0;
    background-color: #11271B; /* Card BG */
}

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

.page-login__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2E7A4E; /* Border */
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green */
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for summary */
}

.page-login__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for WebKit browsers */
}

.page-login__faq-question:hover {
    background-color: #0A5F3A; /* Slightly lighter deep green on hover */
}

.page-login__faq-qtext {
    flex-grow: 1;
}

.page-login__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #F2C14E; /* Gold */
}

.page-login__faq-item[open] .page-login__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-login__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    animation: fadein 0.3s ease-out;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Final CTA Section --- */
.page-login__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #0A4B2C; /* Deep Green */
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-login__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 3em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
    .page-login__guide-content,
    .page-login__security-content {
        flex-direction: column;
        align-items: center;
    }
    .page-login__guide-image-wrapper,
    .page-login__security-image-wrapper {
        margin-bottom: 30px;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .page-login {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-login__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    }
    .page-login__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-login__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-login__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-login__sub-title {
        font-size: 1.2em;
    }

    /* Images responsive */
    .page-login img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-login__hero-image-wrapper,
    .page-login__guide-image-wrapper,
    .page-login__security-image-wrapper,
    .page-login__benefit-icon {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* Containers responsive */
    .page-login__section,
    .page-login__card,
    .page-login__container,
    .page-login__intro-section,
    .page-login__guide-section,
    .page-login__trouble-section,
    .page-login__security-section,
    .page-login__benefits-section,
    .page-login__faq-section,
    .page-login__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

    /* Buttons responsive */
    .page-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__btn-primary,
    .page-login__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-login__benefit-card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .page-login__benefit-icon {
        max-width: 100%; /* Ensure it takes full width of card */
        min-height: 150px; /* Adjust min height for mobile if needed */
    }

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

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