/* _content/RealtracMyShopCosts/Components/MachineTab.razor.rz.scp.css */


.machine-check-row[b-0qhh6xkjgw] {
    margin-bottom: 16px;
}

.machine-check-label[b-0qhh6xkjgw] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #4d463d;
    cursor: pointer;
    user-select: none;
}

.machine-check-input[b-0qhh6xkjgw] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #8e8e8e;
    cursor: pointer;
}

/* _content/RealtracMyShopCosts/Pages/CostAnalysis.razor.rz.scp.css */
.cost-analysis-page[b-wl9iioavki] {
    /*
       Your TopBar has min-height: 42px plus vertical padding/flex wrapping.
       54px is a safe starting point.
       If it overlaps, bump this to 58px or 64px.
    */
    --cost-page-top-offset: 54px;
    --cost-page-top-offset-mobil: 74px;
    /*
       Approx height of the Machine / Employee / Overhead / Realtrac Data tab row.
    */
    --cost-tabs-height: 46px;
    --sticky-gap: 12px;
    padding: 10px 12px 16px 12px;
    background: #f3f1eb;
    min-height: 100%;
    box-sizing: border-box;
}


/* Individual tab */
/* Top tab row */
.top-tabs[b-wl9iioavki] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid #cfc8bc;
    padding-bottom: 8px;
    margin-bottom: 0;
    position: sticky;
    top: var(--cost-page-top-offset);
    z-index: 1100;
    background: #f3f1eb;
    padding-top: 8px;
}

/* Individual tab */
.top-tab[b-wl9iioavki] {
    appearance: none;
    border: 1px solid #bdb5a8;
    background: linear-gradient(to bottom, #faf9f6 0%, #ece8df 100%);
    color: #222;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    position: relative;
    min-height: 34px;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

    .top-tab:hover[b-wl9iioavki] {
        background: linear-gradient(to bottom, #ffffff 0%, #f0ece4 100%);
        border-color: #aFA696;
    }

    .top-tab.active[b-wl9iioavki] {
        background: linear-gradient(to bottom, #ffe2b8 0%, #F3B363 100%);
        border-color: #b86f13;
        color: #3f2a0d;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 0 0 1px rgba(184,111,19,0.18);
        z-index: 2;
    }

    .top-tab:focus-visible[b-wl9iioavki] {
        outline: 3px solid rgba(243,179,99,0.35);
        outline-offset: 2px;
    }

/* Content area */
.tab-content-shell[b-wl9iioavki] {
    border-top: none;
    background: #f3f1eb;
    padding-top: 10px;
}

.tab-panel[b-wl9iioavki] {
    background: #fffdf8;
    border: 1px solid #d8d1c4;
    border-radius: 8px;
    padding: 18px;
    min-height: 300px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.03);
}

    .tab-panel h3[b-wl9iioavki] {
        margin: 0 0 8px 0;
        font-size: 18px;
        color: #2a2a2a;
    }

    .tab-panel p[b-wl9iioavki] {
        margin: 0;
        color: #5b5b5b;
        font-size: 14px;
    }

/*
   CSS isolation note:
   MachineTab / EmployeeTab are child components, so use ::deep to style
   their internal elements from CostAnalysis.razor.css.
*/
[b-wl9iioavki] .sections-tab-layout {
    align-items: start;
}

/* Sticky left workstation / employee list */
[b-wl9iioavki] .sections-sidebar {
    position: sticky;
    top: calc(var(--cost-page-top-offset) + var(--cost-tabs-height) + var(--sticky-gap));
    align-self: start;
    max-height: calc(100vh - var(--cost-page-top-offset) - var(--cost-tabs-height) - var(--sticky-gap) - 16px);
}

/* Let the inner object list scroll while sidebar stays parked */
[b-wl9iioavki] .entity-object-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Mobile / stacked layout */
@media (max-width: 900px) {
    [b-wl9iioavki] .sections-sidebar {
        position: relative;
        top: auto;
        max-height: 360px;
    }

    .top-tabs[b-wl9iioavki] {
        top: var(--cost-page-top-offset);
    }
}

@media (max-width: 640px) {
    .top-tabs[b-wl9iioavki] {
        gap: 4px;
        top: var(--cost-page-top-offset-mobil);
    }

    .top-tab[b-wl9iioavki] {
        font-size: 12px;
        padding: 8px 12px 7px 12px;
    }
}
/* _content/RealtracMyShopCosts/Pages/Index.razor.rz.scp.css */

/* Mud input theme tweaks for dark card */
[b-gh4zof5nxg] .rtc-form-panel .mud-input-label,
[b-gh4zof5nxg] .rtc-form-panel .mud-input,
[b-gh4zof5nxg] .rtc-form-panel .mud-input-slot,
[b-gh4zof5nxg] .rtc-form-panel .mud-input-adornment {
    color: #fff !important;
}

[b-gh4zof5nxg] .rtc-form-panel .mud-input-outlined-border {
    border-color: rgba(255,255,255,0.35) !important;
}

[b-gh4zof5nxg] .rtc-form-panel .mud-input-control:hover .mud-input-outlined-border {
    border-color: rgba(255,255,255,0.6) !important;
}

[b-gh4zof5nxg] .rtc-form-panel .mud-input > input,
[b-gh4zof5nxg] .rtc-form-panel .mud-input-slot > input,
[b-gh4zof5nxg] .rtc-form-panel input.mud-input-root,
[b-gh4zof5nxg] .rtc-form-panel .mud-input-root {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

[b-gh4zof5nxg] .rtc-form-panel .mud-input-adornment,
[b-gh4zof5nxg] .rtc-form-panel .mud-input-adornment .mud-icon-root,
[b-gh4zof5nxg] .rtc-form-panel .mud-input-adornment button,
[b-gh4zof5nxg] .rtc-form-panel .mud-input-adornment button .mud-icon-root {
    color: #fff !important;
    fill: #fff !important;
}

[b-gh4zof5nxg] .rtc-form-panel input:-webkit-autofill,
[b-gh4zof5nxg] .rtc-form-panel input:-webkit-autofill:hover,
[b-gh4zof5nxg] .rtc-form-panel input:-webkit-autofill:focus,
[b-gh4zof5nxg] .rtc-form-panel textarea:-webkit-autofill,
[b-gh4zof5nxg] .rtc-form-panel textarea:-webkit-autofill:hover,
[b-gh4zof5nxg] .rtc-form-panel textarea:-webkit-autofill:focus,
[b-gh4zof5nxg] .rtc-form-panel select:-webkit-autofill,
[b-gh4zof5nxg] .rtc-form-panel select:-webkit-autofill:hover,
[b-gh4zof5nxg] .rtc-form-panel select:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(20, 20, 20, 0.95) inset !important;
    box-shadow: 0 0 0px 1000px rgba(20, 20, 20, 0.95) inset !important;
    border-radius: 4px !important;
    transition: background-color 9999s ease-in-out 0s;
}
