﻿/* FAQ Section Styling */
/* Section headers with icons */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

    .section-header i {
        font-size: 1.5rem;
        margin-right: 0.75rem;
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

        .section-header i.info-icon {
            background-color: #e6f2ff;
            color: #0d6efd;
        }

        .section-header i.feature-icon {
            background-color: #e6fff0;
            color: #198754;
        }

        .section-header i.advice-icon {
            background-color: #fff8e6;
            color: #ffc107;
        }

/* FAQ container styling */
.faq-enhanced-content .faq-category {
    margin-bottom: 2rem;
}

.faq-enhanced-content .faq-item {
    background-color: #fff;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,.125);
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
}

/* Question button styling */
.faq-enhanced-content .faq-question button {
    background-color: #f8f9fa;
    color: #212529;
    font-weight: 500;
    padding: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .faq-enhanced-content .faq-question button:hover {
        background-color: #e9ecef;
    }

    .faq-enhanced-content .faq-question button:focus {
        box-shadow: none;
        outline: none;
        text-decoration: none;
    }

    .faq-enhanced-content .faq-question button i {
        color: #0d6efd;
        transition: transform 0.2s ease;
    }

    .faq-enhanced-content .faq-question button[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

/* Answer section styling */
.faq-enhanced-content .faq-answer {
    border-top: 1px solid rgba(0,0,0,.125);
    background-color: #fff;
}

    .faq-enhanced-content .faq-answer p {
        margin-bottom: 1rem;
        color: #212529;
    }

    .faq-enhanced-content .faq-answer ul,
    .faq-enhanced-content .faq-answer ol {
        margin-bottom: 1rem;
        padding-left: 1.5rem;
    }

    .faq-enhanced-content .faq-answer li {
        margin-bottom: 0.5rem;
    }

    .faq-enhanced-content .faq-answer h4 {
        color: #343a40;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
        font-size: 1rem;
    }

    .faq-enhanced-content .faq-answer .alert {
        margin-top: 1rem;
        margin-bottom: 1rem;
        border-radius: 0.5rem;
    }

    .faq-enhanced-content .faq-answer .table {
        margin-bottom: 1rem;
    }

        .faq-enhanced-content .faq-answer .table th {
            background-color: #f8f9fa;
            font-weight: 600;
            color: #495057;
        }

    .faq-enhanced-content .faq-answer .btn-sm {
        border-radius: 0.25rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

/* Emphasis styling */
.faq-enhanced-content strong {
    font-weight: 600;
}

.faq-enhanced-content .text-success {
    color: #198754 !important;
}

.faq-enhanced-content .text-danger {
    color: #dc3545 !important;
}

.faq-enhanced-content .text-primary {
    color: #0d6efd !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .faq-enhanced-content .faq-question button {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .faq-enhanced-content .faq-answer {
        padding: 0.5rem;
    }

    .section-header i {
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }
}
