/*
    TABLE OF CONTENTS
    _________________________________________


    - IMPORTS
    - ROOT CONTENT
    - GENERAL CSS
    - APP LOADER
    - WASM LOADING PAGE
    - BLAZOR DEFAULT ERROR
    
    _________________________________________
    
*/


/* -------------------------------------------------------------
----------------------------------------------------------------

    ROOT CONTENT

----------------------------------------------------------------
------------------------------------------------------------- */


:root {
    --intro-overlay-color: rgba(0, 0, 0, 0.7);
}


/* -------------------------------------------------------------
----------------------------------------------------------------

    GENERAL CSS

----------------------------------------------------------------
------------------------------------------------------------- */

html,
body {
    min-height: 100vh !important;
    max-width: 100% !important;
    height: 100% !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
}

app {
    min-height: 100% !important;
    height: 100% !important;
    width: 100% !important;
}

.clayout {
    min-height: 100vh !important;
    height: 100% !important;
}

.main {
    min-height: 100vh !important;
    height: 100% !important;
}

.no-wrap {
    white-space: nowrap !important;
}

.h-100 {
    height: 100%;
}

.mh-100 {
    min-height: 100%;
}

.w-100 {
    width: 100%;
}

.w-50 {
    width: 50%;
}

.fw-bold {
    font-weight: bold;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.text-nowrap {
    text-wrap: nowrap !important;
}

.apexcharts-canvas svg {
    background: transparent !important;
}


/* ------------------------------------------------------------------
---------------------------------------------------------------------

    APP LOADER

---------------------------------------------------------------------
--------------------------------------------------------------------- */


.app-loader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.app-loader img {
    max-width: 375px;
    margin-bottom: 38px;
}

.app-loader p {
    font-size: 1.4rem;
    margin: 0;
}

.app-loader i {
    margin-right: 10px;
}


/* ------------------------------------------------------------------
---------------------------------------------------------------------

    PAYROLL TABLE

---------------------------------------------------------------------
--------------------------------------------------------------------- */



.payroll-table .mud-table-root,
.payroll-table .payment-cell {
    border-bottom: 1px solid var(--mud-palette-table-lines) !important;
}

.payroll-input {
    margin: 0;
    border-radius: 0;
    border: none;
}

.payroll-input .mud-input-outlined-border {
    border-radius: 0 !important;
    border-left: none !important;
    border: none !important;
}

.payroll-input.payroll-input-first .mud-input-outlined-border {
    /*border-left: none !important;*/
}

.payroll-table .payroll-table-cell {
    padding: 0;
    min-width: 150px !important;
}

.payroll-table-cell.cell-lg {
    min-width: 175px !important;
}

.payroll-table-cell.cell-sm {
    min-width: 100px !important;
}

.strikethrough {
    background: linear-gradient(to top left, rgba(0,0,0,0) 0%, rgba(0,0,0,0) calc(50% - 0.8px), var(--mud-palette-table-lines) 50%, rgba(0,0,0,0) calc(50% + 1px), rgba(0,0,0,0) 100%);
}

.active-link {
    color: var(--mud-palette-primary) !important;
    background-color: color-mix(in srgb, var(--mud-palette-primary), transparent 90%);
}