/* style/resources-f8bet-account-security.css */

/* Base styles for the page content */
.page-resources-f8bet-account-security {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css #1a1a1a */
}

/* Hero Section */
.page-resources-f8bet-account-security__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources-f8bet-account-security__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-f8bet-account-security__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-f8bet-account-security__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-resources-f8bet-account-security__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-f8bet-account-security__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* CTA Buttons */
.page-resources-f8bet-account-security__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-f8bet-account-security__btn-primary,
.page-resources-f8bet-account-security__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Ensures padding doesn't push width over 100% */
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-f8bet-account-security__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #ffffff; /* White text for contrast on red background */
    border: 2px solid #C30808;
}

.page-resources-f8bet-account-security__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-resources-f8bet-account-security__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-f8bet-account-security__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Content Area */
.page-resources-f8bet-account-security__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #1a1a1a; /* Explicitly set background for content area */
    color: #ffffff; /* Light text for dark background */
}

.page-resources-f8bet-account-security__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-resources-f8bet-account-security__sub-title {
    font-size: 1.8em;
    color: #017439; /* Brand primary color for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-f8bet-account-security__paragraph {
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for readability */
}

/* Image and Text Layout */
.page-resources-f8bet-account-security__image-text-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-resources-f8bet-account-security__image-text-layout--reverse {
    flex-direction: row-reverse;
}

.page-resources-f8bet-account-security__text-block {
    flex: 1;
}

.page-resources-f8bet-account-security__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-f8bet-account-security__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Card Grid */
.page-resources-f8bet-account-security__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-f8bet-account-security__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-resources-f8bet-account-security__card:hover {
    transform: translateY(-5px);
}

.page-resources-f8bet-account-security__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

.page-resources-f8bet-account-security__card-description {
    color: #f0f0f0;
}

/* Contact CTA */
.page-resources-f8bet-account-security__contact-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
    padding: 40px;
    background-color: rgba(1, 116, 57, 0.1); /* Light transparent brand color background */
    border-radius: 10px;
    text-align: center;
}

/* FAQ Section */
.page-resources-f8bet-account-security__faq-list {
    margin-top: 40px;
}

.page-resources-f8bet-account-security__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

details.page-resources-f8bet-account-security__faq-item > summary.page-resources-f8bet-account-security__faq-question {
    list-style: none;
}

details.page-resources-f8bet-account-security__faq-item > summary.page-resources-f8bet-account-security__faq-question::-webkit-details-marker {
    display: none;
}

.page-resources-f8bet-account-security__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #017439; /* Brand primary color for FAQ question */
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-f8bet-account-security__faq-question:hover {
    background-color: #005a2e;
}

.page-resources-f8bet-account-security__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-resources-f8bet-account-security__faq-answer {
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter transparent white for answer */
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-f8bet-account-security__hero-title {
        font-size: 2.5em;
    }
    .page-resources-f8bet-account-security__section-title {
        font-size: 2em;
    }
    .page-resources-f8bet-account-security__sub-title {
        font-size: 1.6em;
    }
    .page-resources-f8bet-account-security__image-text-layout {
        flex-direction: column;
    }
    .page-resources-f8bet-account-security__image-text-layout--reverse {
        flex-direction: column; /* Keep consistent for tablet */
    }
}

@media (max-width: 768px) {
    /* Mobile-specific adjustments */
    .page-resources-f8bet-account-security {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-f8bet-account-security__hero-section {
        min-height: 400px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset applies */
    }

    .page-resources-f8bet-account-security__hero-title {
        font-size: 2em;
    }

    .page-resources-f8bet-account-security__hero-description {
        font-size: 1em;
    }

    .page-resources-f8bet-account-security__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Buttons responsive */
    .page-resources-f8bet-account-security__btn-primary,
    .page-resources-f8bet-account-security__btn-secondary,
    .page-resources-f8bet-account-security a[class*="button"],
    .page-resources-f8bet-account-security a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-f8bet-account-security__cta-buttons,
    .page-resources-f8bet-account-security__button-group,
    .page-resources-f8bet-account-security__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        overflow: hidden !important;
    }

    .page-resources-f8bet-account-security__content-area {
        padding: 30px 15px;
    }

    .page-resources-f8bet-account-security__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-f8bet-account-security__sub-title {
        font-size: 1.4em;
    }

    .page-resources-f8bet-account-security__image-text-layout {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .page-resources-f8bet-account-security__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-f8bet-account-security__contact-cta {
        padding: 20px;
        gap: 20px;
    }

    .page-resources-f8bet-account-security__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-resources-f8bet-account-security__faq-answer {
        padding: 15px 20px;
    }

    /* Images responsive */
    .page-resources-f8bet-account-security img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-f8bet-account-security__section,
    .page-resources-f8bet-account-security__card,
    .page-resources-f8bet-account-security__container,
    .page-resources-f8bet-account-security__image-wrapper,
    .page-resources-f8bet-account-security__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}