﻿
body.soft3d-minimal {
    background-color: inherit; /* keep default background */
}

    /* Panels / Cards / Paper */
    body.soft3d-minimal .mud-paper,
    body.soft3d-minimal .mud-card,
    body.soft3d-minimal .mud-expansionpanel {
        border-radius: 8px;
        box-shadow: 2px 2px 6px rgba(0,0,0,0.1), -2px -2px 6px rgba(255,255,255,0.15);
    }

    /* Buttons */
    body.soft3d-minimal .mud-button {
        border-radius: 8px;
        box-shadow: 2px 2px 5px rgba(0,0,0,0.1), -2px -2px 5px rgba(255,255,255,0.15);
        transition: all 0.15s ease-in-out;
    }

        body.soft3d-minimal .mud-button:hover {
            box-shadow: inset 1px 1px 3px rgba(0,0,0,0.1), inset -1px -1px 3px rgba(255,255,255,0.15);
        }

    /* Inputs / TextFields / Selects */
    body.soft3d-minimal .mud-textfield,
    body.soft3d-minimal .mud-select,
    body.soft3d-minimal .mud-autocomplete {
        border-radius: 6px;
        box-shadow: inset 1px 1px 3px rgba(0,0,0,0.05), inset -1px -1px 3px rgba(255,255,255,0.1);
    }

    /* Sliders / Progress bars */
    body.soft3d-minimal .mud-slider .mud-slider-thumb,
    body.soft3d-minimal .mud-progress-linear .mud-progress-bar {
        border-radius: 8px;
        box-shadow: 1px 1px 3px rgba(0,0,0,0.1), -1px -1px 3px rgba(255,255,255,0.1);
    }

    /* Tabs */
    body.soft3d-minimal .mud-tabs,
    body.soft3d-minimal .mud-tab {
        border-radius: 6px 6px 0 0;
        box-shadow: 1px 1px 4px rgba(0,0,0,0.05), -1px -1px 4px rgba(255,255,255,0.1);
    }

    /* Tables */
    body.soft3d-minimal .mud-table th,
    body.soft3d-minimal .mud-table td {
        border-radius: 4px;
        box-shadow: inset 1px 1px 2px rgba(0,0,0,0.03), inset -1px -1px 2px rgba(255,255,255,0.05);
    }

    /* Expansion panel content */
    body.soft3d-minimal .mud-expansionpanel-content {
        border-radius: 6px;
        box-shadow: inset 1px 1px 2px rgba(0,0,0,0.05), inset -1px -1px 2px rgba(255,255,255,0.05);
    }

    /* Soft 3D / Neumorphic Progress Bar for MudBlazor */
    body.soft3d-minimal .mud-progress-linear {
        border-radius: 22px;
        background-color: #e0e5ec; /* subtle track color */
        box-shadow: 2px 2px 5px rgba(0,0,0,0.05), inset -2px -2px 5px rgba(255,255,255,0.4);
        overflow: hidden; /* make rounded corners clip inner bars */
    }

.mud-progress-linear.horizontal.mud-progress-linear-large {
    height: 28px;
}

    body.soft3d-minimal .mud-progress-linear-bars {
        background: linear-gradient(to right, rgba(255,255,255,0.3), rgba(0,0,0,0.1));
        box-shadow: 1px 1px 4px rgba(0,0,0,0.2), inset -1px -1px 4px rgba(255,255,255,0.5);
        border-radius: 22px;
        transition: transform 0.3s ease-in-out;
    }