/* Styling for the https://pydata-sphinx-theme.readthedocs.io theme */

/* doc config start */
body {
    --sn-color-datatable-label: var(--pst-color-text-muted);
    --sn-color-datatable-btn-border: var(--pst-color-text-muted);
}

html[data-theme="light"] {
    --sn-color-bg-gray: #eee;
    --sn-color-bg-lightgray: rgba(0, 0, 0, 0.004);
    --sn-color-bg-green: #05c46b;
    --sn-color-bg-red: #ff3f34;
    --sn-color-bg-yellow: #ffc048;
    --sn-color-bg-blue: #0fbcf9;

    --sn-color-border-lightgray: rgba(0, 0, 0, 0.05);
    --sn-color-border-green: #05c46b;
    --sn-color-border-red: #ff3f34;
    --sn-color-border-yellow: #ffc048;
    --sn-color-border-blue: #0fbcf9;

    --sn-color-bar-green: #05c46b;
    --sn-color-bar-red: #ff3f34;
    --sn-color-bar-yellow: #ffc048;
    --sn-color-bar-orange: #e67e22;
    --sn-color-bar-blue: #0fbcf9;

    --sn-color-need-border: #555;
    --sn-color-need-row-border: hsla(232, 75%, 95%, 0.12);
    --sn-color-need-bg: #eee;
    --sn-color-need-bg-head: rgba(0, 0, 0, 0.1);

    --sn-color-complete-bg-head: rgba(0, 0, 0, 0.1);
    --sn-color-complete-bg-foot: rgba(0, 0, 0, 0.1);

    --sn-color-datatable-body-bg: transparent;

    --sn-color-debug-btn-border: #333;
    --sn-color-debug-btn-on-text: #f43333;
    --sn-color-debug-btn-off-text: #096285;

    --sn-color-forbidden-dead-link: #dc3545;
}

html[data-theme="dark"] {
    --sn-color-bg-gray: #333;
    --sn-color-bg-lightgray: rgba(255, 255, 255, 0.1);
    --sn-color-bg-green: #04723c;
    --sn-color-bg-red: #81201b;
    --sn-color-bg-yellow: #a97c32;
    --sn-color-bg-blue: #096285;

    --sn-color-border-lightgray: rgba(255, 255, 255, 0.2);
    --sn-color-border-green: #04723c;
    --sn-color-border-red: #81201b;
    --sn-color-border-yellow: #a97c32;
    --sn-color-border-blue: #096285;

    --sn-color-bar-green: #05c46b;
    --sn-color-bar-red: #ff3f34;
    --sn-color-bar-yellow: #ffc048;
    --sn-color-bar-orange: #e67e22;
    --sn-color-bar-blue: #0fbcf9;

    --sn-color-need-border: #888;
    --sn-color-need-row-border: hsla(232, 75%, 95%, 0.12);
    --sn-color-need-bg: #333;
    --sn-color-need-bg-head: rgba(0, 0, 0, 0.1);

    --sn-color-complete-bg-head: rgba(0, 0, 0, 0.1);
    --sn-color-complete-bg-foot: rgba(0, 0, 0, 0.1);

    --sn-color-datatable-body-bg: transparent;

    --sn-color-debug-btn-border: #888;
    --sn-color-debug-btn-on-text: #ff3f34;
    --sn-color-debug-btn-off-text: #0fbcf9;

    --sn-color-forbidden-dead-link: #dc3545;
}

/* override */
table.need.need.need> :not(caption)>*>* {
    color: var(--pst-color-text-base)
}
/* doc config end */

html[data-theme="light"] {
    --sn-architecture-bg: url(../architecture_bg-light.png);
}

html[data-theme="dark"] {
    --sn-architecture-bg: url(../architecture_bg-dark.png);
}

/** styling for the flowchart diagram on the landing page **/
svg.sn-flow-chart path.text {
    fill: var(--pst-color-text-base);
}

svg.sn-flow-chart rect.box {
    stroke: var(--pst-color-text-muted);
}

svg.sn-flow-chart path.arrow {
    fill: var(--pst-color-text-base);
}

