/**
 * Custom CSS for Fentanyl Analogues product
 */

/* Figure styling */
.mrgn-tp-md {
    margin-top: 15px;
}

.mrgn-bttm-md {
    margin-bottom: 15px;
}

/* Download button styling */
.downloadData {
    margin-left: 10px;
}

/* Figure wrapper styling */
[id*="fig"]-wrapper {
    width: 100%;
    overflow-x: auto;
}

/* SVG container styling */
[id*="fig"]-container {
    width: 100%;
    height: auto;
}

/* Line legend text adjustments */
.legend-group tspan {
    font-size: 12px;
    font-weight: bold;
}

.n-axis-title {
    font-size: 18px !important;
}
.n-axis-title tspan {
    font-size: 18px !important;
}
.c-axis-title {
    font-size: 18px !important;
}

/* Data table styling */
table.dataTable thead .bg-primary {
    background-color: #26374A;
    color: white;
}
table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc {
    background-color: #26374A;
    color: white;
}
table.dataTable thead .sorting_asc {
    background-image: url(/src/img/sorting-icons/sort_asc.png)!important;
    padding-right: 15px;
}
table.dataTable thead .sorting_desc {
    background-image: url(/src/img/sorting-icons/sort_desc.png)!important;
    padding-right: 15px;
}
table.dataTable thead .sorting {
    background-image: url(/src/img/sorting-icons/sorting_both.png)!important;
    padding-right: 15px;
}
table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center right;
}
table.dataTable thead .sorting-cnt {
    white-space: nowrap;
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .downloadData {
        display: block;
        margin-top: 10px;
        margin-left: 0;
    }
}
