﻿/* ================= PAGE-LEVEL SCROLLBAR (#6AB9A7) ================= */
.container-fluid::-webkit-scrollbar {
    width: 8px;
}

.container-fluid::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.container-fluid::-webkit-scrollbar-thumb {
    background-color: #6AB9A7;
    border-radius: 4px;
}

.container-fluid {
    scrollbar-color: #6AB9A7 #f1f1f1;
    scrollbar-width: thin;
}

/* ================= HEADER ================= */
.pricing-docs-header {
    background: transparent;
    padding: 12px 28px 0 28px;
}

.pricing-docs-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
}

    .pricing-docs-header-left .form-label {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .pricing-docs-header-left .form-select {
        background-color: #FFFFFF;
        font-size: 16px;
        width: 100%;
    }

/* ================= NOTIFICATION BANNER ================= */
.pricing-docs-notification {
    background-color: #DAEDFF;
    padding: 14px 28px;
    margin: 12px 0 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
}

/* ================= BODY ================= */
.pricing-docs-body {
    display: flex;
    height: calc(100vh - 190px);
}

/* ================= TREE CONTAINER ================= */
.pricing-docs-tree {
    flex: 0 0 700px;
    overflow-y: auto;
}

/* ================= DOCUMENT CARD ================= */
.pricing-doc-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 44px;
    overflow-y: auto;
}

.pricing-doc-icon {
    font-size: 72px;
    margin-bottom: 18px;
}

.pricing-doc-name {
    font-size: 18px;
    font-weight: 700;
}

.pricing-doc-meta {
    font-size: 13px;
    color: #6c757d;
    margin-top: 4px;
}

.pricing-doc-section {
    margin-top: 18px;
    font-size: 13px;
}

/* ================= DOWNLOAD BUTTON ================= */
.pricing-doc-card .acordia-btn-primary {
    width: auto !important;
    align-self: center;
    margin-top: 12px;
}

.pricing-doc-download-btn {
    background-color: #6a89a7;
    color: #f1f1f1;
    border: none;
}

    .pricing-doc-download-btn:hover {
        background-color: #567393;
        color: #f1f1f1;
    }

/* ================= TREE VIEW (child components) ================= */
/* ::deep is required to penetrate CSS isolation into child components */
::deep .pricing-tree-root,
::deep .pricing-tree-children {
    list-style: none;
    padding-left: 14px;
    margin: 0;
}

::deep .pricing-tree-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 4px;
}

    ::deep .pricing-tree-item:hover {
        background: #f4f6f8;
    }

    ::deep .pricing-tree-item.selected {
        background-color: #2563eb;
        color: white;
    }

        ::deep .pricing-tree-item.selected .pricing-tree-chevron {
            color: white;
        }

    ::deep .pricing-tree-item.parent {
        font-weight: 700;
    }

    ::deep .pricing-tree-item.active {
        background: #e9ecef;
    }

::deep .pricing-tree-chevron {
    width: 16px;
    margin-right: 6px;
    color: #6b7280;
}

::deep .pricing-tree-text {
    user-select: none;
}

::deep .no-bullets {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
