html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}
dx-license {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.header-logo {
    flex-shrink: 0;
    background-color: #0B2A4A; /* visible logo color */

    -webkit-mask: url('../images/FlexaLogo.svg');
    mask: url('../images/FlexaLogo.svg');
   
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 180px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}


.hide-toolbar .nested-toolbar {
    display: none !important;
}
/*.dxbl-grid-header-row {
    display: none !important;
}*/

/* ===== FLEXA SPLASH (IMAGE + LOADING BAR) ===== */

.flexa-splash {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff; /* light, clean */
} 

    /* Logo */

.flexa-splash img {
        width: 320px; /* increase width */
        max-width: 100%; /* responsive, will shrink on small screens */
        height: auto; /* maintain aspect ratio */
        margin-bottom: 28px; /* spacing from loading bar */
    }


/* Loading bar container */
.flexa-loading {
    width: 320px;
    height: 22px; /* thicker bar */
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

    /* Animated bar */
    .flexa-loading span {
        display: block;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, #2563eb, #38bdf8);
        transform: scaleX(0);
        transform-origin: left;
        animation: flexa-bar 1.6s linear infinite;
    }

/* Animation */
@keyframes flexa-bar {
    0% {
        transform: scaleX(0);
    }

    90% {
        transform: scaleX(1);
    }

    99.9% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0); /* instant jump */
    }


 
}
   .flexa-loading-text {
        margin-top: 10px; /* space above the text */
        padding-top: 8px; /* inner spacing from top */
        font-size: 18px; /* bigger text */
        font-weight: 500; /* slightly bolder (optional) */
     
    }

   /*header css*/
.header-text .dxbl-text-edit {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.header-text .dxbl-text-edit-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #222 !important;
    padding-left: 0 !important;
}
/*sub headers */
.subheader-text .dxbl-text-edit {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.subheader-text .dxbl-text-edit-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #666 !important;
    padding-left: 0 !important;
}


/*income statement razor classes*/


/* FONT (important) */
.pnl-report {
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: #fff;
    padding: 20px;
    color: #222;
}

/* HEADER */
.report-header {
    text-align: center;
    margin-bottom: 20px;
}

    .report-header .title {
        font-size: 22px;
        font-weight: bold;
    }

    .report-header .subtitle {
        font-size: 13px;
        color: #666;
    }

/* TABLE */
.pnl-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

/* SECTION HEADER (colored bar) */
.section-row th {
    background: #2e7d32;
    color: white;
    text-align: left;
    padding: 8px;
    font-size: 15px;
}

/* COLUMN HEADER */
.column-header th {
    border-bottom: 2px solid #444;
    padding: 6px;
    font-weight: 600;
}

/* ROWS */
.pnl-table td {
    padding: 6px;
    border-bottom: 1px dotted #ccc;
}

/* ACCOUNT */
.account {
    padding-left: 10px;
}

/* AMOUNT */
.amount {
    text-align: right;
    font-family: "Courier New", monospace;
    min-width: 140px;
}

/* NEGATIVE VALUES */
.neg {
    color: #c62828;
}

/* TOTAL */
.total-row td {
    font-weight: bold;
    border-top: 2px solid #000;
    background: #f1f8e9;
}

/* GROSS PROFIT */
.highlight.gross {
    background: #ffe0b2;
    font-weight: bold;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

/* NET PROFIT */
.highlight.net {
    background: #ff7043;
    color: white;
    font-weight: bold;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}

/* FOOTER */
.report-footer {
    margin-top: 20px;
    text-align: right;
    font-size: 12px;
    color: #777;
}

