/* ==========================================================================
   TempMailX - Dedicated FAQ Page Stylesheet (faq.css)
   ========================================================================== */

.ql-editor {
    padding: 24px 10px !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

/* H1 SADE TEMİZ BAŞLIK */
.ql-editor h1 {
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #111827 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    margin-top: 10px !important;
    margin-bottom: 16px !important;
}

html.dark .ql-editor h1,
.dark .ql-editor h1 {
    color: #ffffff !important;
}

/* H2 KATEGORİ BAŞLIKLARI */
.ql-editor h2 {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #111827 !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2) !important;
}

html.dark .ql-editor h2,
.dark .ql-editor h2 {
    color: #ffffff !important;
    border-bottom-color: rgba(96, 165, 250, 0.25) !important;
}

/* PARAGRAFLAR & LİNKLER */
.ql-editor p {
    color: #4b5563 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

html.dark .ql-editor p,
.dark .ql-editor p {
    color: #9ca3af !important;
}

.ql-editor a:not(.tmx-primary-btn):not(.tmx-outline-btn) {
    color: #2563eb !important;
    font-weight: 600 !important;
}

html.dark .ql-editor a:not(.tmx-primary-btn):not(.tmx-outline-btn),
.dark .ql-editor a:not(.tmx-primary-btn):not(.tmx-outline-btn) {
    color: #60a5fa !important;
}

/* FAQ ACCORDION KART KUTULARI */
.ql-editor details.tmx-faq-details,
details.tmx-faq-details {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

html.dark .ql-editor details.tmx-faq-details,
html.dark details.tmx-faq-details,
.dark .ql-editor details.tmx-faq-details,
.dark details.tmx-faq-details {
    background: #1f2937 !important;
    border-color: #374151 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}

/* SORU BAŞLIĞI (<summary>) */
.ql-editor summary.tmx-faq-summary,
summary.tmx-faq-summary {
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    color: #111827 !important;
    padding: 18px 22px !important;
    cursor: pointer !important;
    list-style: none !important;
    list-style-type: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    user-select: none !important;
}

html.dark .ql-editor summary.tmx-faq-summary,
html.dark summary.tmx-faq-summary,
.dark .ql-editor summary.tmx-faq-summary,
.dark summary.tmx-faq-summary {
    color: #f3f4f6 !important;
}

.ql-editor summary.tmx-faq-summary::-webkit-details-marker,
summary.tmx-faq-summary::-webkit-details-marker,
.ql-editor summary.tmx-faq-summary::marker,
summary.tmx-faq-summary::marker {
    display: none !important;
    content: "" !important;
}

/* SAĞ ARTIS / EKSİ İKONU */
.ql-editor summary.tmx-faq-summary::after,
summary.tmx-faq-summary::after {
    content: "+" !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    margin-left: 12px !important;
    transition: transform 0.2s ease !important;
}

html.dark .ql-editor summary.tmx-faq-summary::after,
html.dark summary.tmx-faq-summary::after,
.dark .ql-editor summary.tmx-faq-summary::after,
.dark summary.tmx-faq-summary::after {
    color: #60a5fa !important;
}

details[open].tmx-faq-details summary.tmx-faq-summary::after {
    content: "−" !important;
}

details[open].tmx-faq-details {
    border-color: #2563eb !important;
}

html.dark details[open].tmx-faq-details,
.dark details[open].tmx-faq-details {
    border-color: #60a5fa !important;
}

/* CEVAP ALANI (<div class="tmx-faq-answer">) */
.ql-editor div.tmx-faq-answer,
div.tmx-faq-answer {
    padding: 16px 22px 20px 22px !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    color: #4b5563 !important;
    border-top: 1px solid rgba(229, 231, 235, 0.7) !important;
}

html.dark .ql-editor div.tmx-faq-answer,
html.dark div.tmx-faq-answer,
.dark .ql-editor div.tmx-faq-answer,
.dark div.tmx-faq-answer {
    color: #d1d5db !important;
    border-top-color: #374151 !important;
}

html.dark .ql-editor div.tmx-faq-answer li,
.dark .ql-editor div.tmx-faq-answer li {
    color: #d1d5db !important;
}