/**
 * GPU-M Log Analyzer - FAQ Styles
 * Author: Bogdan Anton - GraphixLAB CH
 * Contact: contact@graphixlab.ch
 * Copyright © 2025 GraphixLAB CH. All rights reserved.
 */

/* FAQ Section */
.faq {
    max-width: 50%;
    margin: 40px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.faq h1 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 15px;
    background: #2f68bd;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #2f68bd;
}

.faq-answer {
    display: none;
    padding: 15px;
    font-size: 16px;
    background: #ffffff;
    border-left: 4px solid #2f68bd;
    text-align: left;
}

/* Dark Mode */
.dark-mode .faq {
    background: #09121e;
    color: white;
}

.dark-mode .faq-question {
    background: #0d1b2d;
    color: white;
}

.dark-mode .faq-question:hover {
    background: #26539b;
}

.dark-mode .faq-answer {
    background: #09121e;
    color: white;
    border-left: 4px solid #2f68bd;
}

.faq-question.active {
    background: #2f68bd;
    color: white;
}

.dark-mode .faq-question.active {
  background: #2f68bd;
  color: white;
  border-radius: 0px;
}