/* =========================================================
   ViVa Support - Knowledge Base Styling
   Dark / Orange Professional Support Theme
========================================================= */

/* =========================================================
   GLOBAL
========================================================= */

html,
body {
    background: #0f172a !important;
    color: #e5e7eb;
}

html.dark {
    color-scheme: dark;
}

/* =========================================================
   MAIN CONTENT WRAPPER
========================================================= */

.page-content,
.ck-content,
.post-content,
.content,
.page-body {
    max-width: 900px;
    margin: auto;
    line-height: 1.9;
    font-size: 17px;
}

/* =========================================================
   ARTICLE CONTAINER
========================================================= */

.page-content {
    background: #1e293b;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

/* =========================================================
   HEADINGS
========================================================= */

.page-content h1,
.ck-content h1 {
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
}

.page-content h2,
.ck-content h2 {
    font-size: 30px;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #f59e0b;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 10px;
}

.page-content h3,
.ck-content h3 {
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
}

/* =========================================================
   PARAGRAPHS
========================================================= */

.page-content p,
.ck-content p {
    margin-bottom: 20px;
    color: #d1d5db;
}

/* =========================================================
   LISTS
========================================================= */

.page-content ul,
.ck-content ul {
    list-style: disc !important;
    padding-left: 25px !important;
    margin-bottom: 25px;
}

.page-content ol,
.ck-content ol {
    list-style: decimal !important;
    padding-left: 25px !important;
    margin-bottom: 25px;
}

.page-content li,
.ck-content li {
    margin-bottom: 12px;
    color: #d1d5db;
}

/* =========================================================
   STRONG / BOLD
========================================================= */

.page-content strong,
.ck-content strong {
    color: #ffffff;
    font-weight: 700;
}

/* =========================================================
   LINKS
========================================================= */

.page-content a,
.ck-content a {
    color: #f59e0b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-content a:hover,
.ck-content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* =========================================================
   HORIZONTAL LINE
========================================================= */

.page-content hr,
.ck-content hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 40px 0;
}

/* =========================================================
   CODE BLOCKS
========================================================= */

.page-content code,
.ck-content code {
    background: #0b1220;
    color: #f59e0b;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 15px;
    font-family: Consolas, monospace;
}

/* =========================================================
   TABLES
========================================================= */

.page-content table,
.ck-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.page-content th,
.page-content td,
.ck-content th,
.ck-content td {
    border: 1px solid rgba(255,255,255,0.08);
    padding: 14px;
    text-align: left;
}

.page-content th,
.ck-content th {
    background: rgba(255,255,255,0.05);
    color: #ffffff;
}

/* =========================================================
   IMAGES
========================================================= */

.page-content img,
.ck-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/* =========================================================
   TIP BOX
========================================================= */

.kb-tip {
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid #f59e0b;
    padding: 18px 20px;
    margin: 25px 0;
    border-radius: 10px;
    color: #fde68a;
}

/* =========================================================
   WARNING BOX
========================================================= */

.kb-warning {
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid #ef4444;
    padding: 18px 20px;
    margin: 25px 0;
    border-radius: 10px;
    color: #fecaca;
}

/* =========================================================
   INFO BOX
========================================================= */

.kb-info {
    background: rgba(59, 130, 246, 0.08);
    border-left: 4px solid #3b82f6;
    padding: 18px 20px;
    margin: 25px 0;
    border-radius: 10px;
    color: #bfdbfe;
}

/* =========================================================
   BLOCKQUOTE
========================================================= */

.page-content blockquote,
.ck-content blockquote {
    border-left: 4px solid #f59e0b;
    padding-left: 20px;
    margin: 30px 0;
    color: #cbd5e1;
    font-style: italic;
}

/* =========================================================
   MOBILE OPTIMIZATION
========================================================= */

@media (max-width: 768px) {

    .page-content,
    .ck-content,
    .post-content,
    .content,
    .page-body {
        padding: 25px;
        font-size: 16px;
    }

    .page-content {
        border-radius: 12px;
    }

    .page-content h1,
    .ck-content h1 {
        font-size: 32px;
    }

    .page-content h2,
    .ck-content h2 {
        font-size: 26px;
    }

    .page-content h3,
    .ck-content h3 {
        font-size: 22px;
    }

}

/* =========================================================
   SMOOTH TRANSITIONS
========================================================= */

.page-content,
.page-content a,
.page-content img,
.page-content table,
.page-content code {
    transition: all 0.2s ease;
}
/* =========================================================
   ViVa Support KB - Prose Override
========================================================= */

.prose {
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.9 !important;
    color: #d1d5db !important;
}

/* =========================================================
   HEADINGS
========================================================= */

.prose h1 {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 30px !important;
    line-height: 1.2 !important;
}

.prose h2 {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #f59e0b !important;
    margin-top: 50px !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.prose h3 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-top: 35px !important;
    margin-bottom: 15px !important;
}

/* =========================================================
   PARAGRAPHS
========================================================= */

.prose p {
    margin-bottom: 22px !important;
    color: #d1d5db !important;
}

/* =========================================================
   STRONG
========================================================= */

.prose strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* =========================================================
   LINKS
========================================================= */

.prose a {
    color: #f59e0b !important;
    text-decoration: none !important;
    transition: 0.2s ease;
}

.prose a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* =========================================================
   LISTS
========================================================= */

.prose ul {
    list-style: disc !important;
    padding-left: 25px !important;
    margin-bottom: 25px !important;
}

.prose ol {
    list-style: decimal !important;
    padding-left: 25px !important;
    margin-bottom: 25px !important;
}

.prose li {
    margin-bottom: 12px !important;
    color: #d1d5db !important;
}

/* =========================================================
   BLOCKQUOTE
========================================================= */

.prose blockquote {
    border-left: 4px solid #f59e0b !important;
    padding-left: 20px !important;
    color: #cbd5e1 !important;
    font-style: italic !important;
}

/* =========================================================
   CODE
========================================================= */

.prose code {
    background: #0b1220 !important;
    color: #f59e0b !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
}

/* =========================================================
   TABLES
========================================================= */

.prose table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 30px 0 !important;
}

.prose th,
.prose td {
    border: 1px solid rgba(255,255,255,0.08) !important;
    padding: 14px !important;
}

.prose th {
    background: rgba(255,255,255,0.05) !important;
    color: #ffffff !important;
}

/* =========================================================
   IMAGES
========================================================= */

.prose img {
    border-radius: 14px !important;
    margin: 30px 0 !important;
    box-shadow: 0 0 20px rgba(0,0,0,0.25) !important;
}

/* =========================================================
   CUSTOM KB BLOCKS
========================================================= */

.kb-tip {
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid #f59e0b;
    padding: 18px 20px;
    margin: 25px 0;
    border-radius: 10px;
    color: #fde68a;
}

.kb-warning {
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid #ef4444;
    padding: 18px 20px;
    margin: 25px 0;
    border-radius: 10px;
    color: #fecaca;
}

.kb-info {
    background: rgba(59, 130, 246, 0.08);
    border-left: 4px solid #3b82f6;
    padding: 18px 20px;
    margin: 25px 0;
    border-radius: 10px;
    color: #bfdbfe;
}

/* =========================================================
   ARTICLE CARD IMPROVEMENT
========================================================= */

article {
    box-shadow: 0 0 30px rgba(0,0,0,0.25);
    transition: 0.2s ease;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .prose {
        font-size: 16px !important;
    }

    .prose h1 {
        font-size: 32px !important;
    }

    .prose h2 {
        font-size: 26px !important;
    }

    .prose h3 {
        font-size: 22px !important;
    }

}