/*
    CSS OVERRIDES
    Overide the theme's CSS styles
*/



@media print
{
    @page { margin: 0.0cm; }
    body { margin: 1.6cm; }

    .no-print, .no-print *
    {

        display: none !important;
    }


    thead {
        display: table-header-group; /* Ensures headers repeat on every page */
        border-bottom: 1px solid black; /* Adds a clear separation */
    }

    tfoot {
        display: table-row-group;
    }

    thead {
        display: table-header-group; /* Ensures headers repeat on every page */
    }

    table {
        page-break-inside: auto;
    }

    /* Prevent `tfoot` from repeating */
    tfoot tr {
        page-break-before: avoid;
    }




}


/*SYSTEM STUFFS*/
.developer{
    background-color: #ffbba6;
}



/*hide all secured elements*/
[class*="secured-"]{
    display: none;
}





/*MOJAX STYLES*/
.mojax-table {
    width: 100%;
    font-size: small;
}
.mojax-table td{
    padding: 1px 2px 1px 10px;
}

#myTable_filter{
    margin-top: -40px;
}

#back-to-top{
    bottom: 50px;
}

.mojax-clearSearch-btn{
    padding: 2px;
    margin-top: -26px;
    text-align: end;
}
/*END MOJAX STYLES*/

.nav-subpage-context-link {
    color: var(--vz-vertical-menu-item-active-color);
}

html[data-sidebar-size=sm] .navbar-menu .nav-subpage-context {
    display: none !important;
}


/*EGIPF APP SURFACES*/
.egip-elevated-card,
.egip-filter-card,
.egip-table-card,
.egip-tile-card,
.egip-stat-card {
    background: #ffffff;
    border: 1px solid #d7dee8 !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .055);
}

.egip-filter-card {
    border-left: 4px solid #0ab39c !important;
}

.egip-workspace-toolbar {
    background: #ffffff;
    border: 1px solid #d7dee8;
    border-left: 4px solid #0ab39c;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
    padding: 12px 14px;
}

.egip-tile-card {
    border-radius: 8px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.egip-tile-card:hover {
    border-color: rgba(10, 179, 156, .65) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .09);
    transform: translateY(-1px);
}

.egip-stat-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    border-radius: 8px;
    position: relative;
}

.egip-stat-card::before {
    background: #0ab39c;
    border-radius: 8px 0 0 8px;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 3px;
}

.egip-stat-card.egip-stat-primary::before { background: #405189; }
.egip-stat-card.egip-stat-info::before { background: #299cdb; }
.egip-stat-card.egip-stat-warning::before { background: #f7b84b; }
.egip-stat-card.egip-stat-danger::before { background: #f06548; }
.egip-stat-card.egip-stat-secondary::before { background: #6c757d; }

.egip-soft-metric,
.egip-soft-icon {
    background: #f7fafc !important;
    border: 1px solid #dde5ef;
}

.egip-section-header.card-header {
    align-items: center;
    background: #eef5f8;
    border-bottom: 1px solid #d1dee8;
    min-height: 40px;
    padding: 8px 12px;
}

.egip-section-header.card-header .btn {
    font-size: 12px;
    line-height: 1.2;
    padding: 3px 8px;
}

.egip-soft-metric {
    padding: 8px;
}

.egip-table thead th {
    background: #e8f1f8 !important;
    border-bottom: 1px solid #c8d4e1 !important;
    color: #1f2f46;
    font-weight: 700;
}

.egip-table tbody tr {
    background: #ffffff;
}

.egip-table tbody tr:hover {
    background: #f8fbfd;
}



.egip-page-title {
    background: #ffffff;
    border: 1px solid #d7dee8;
    border-left: 4px solid #0ab39c;
    border-radius: 0;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .045);
    padding: 14px 16px;
}
/*END EGIPF APP SURFACES*/


/*phpformgenerator*/
.phpformgen_form .form-group {
    margin-bottom: 10px;

}
.phpformgen_form .form-label{
    padding-bottom: 2px;
    margin-bottom: 0px;

}



.live_stat_icon{
    text-align: right;

    margin-top: -0px;
    margin-right: 4px;
    margin-bottom: -25px;
    margin-left: 0px;
    display: block;
}




.order-stat-ordered {
    background-color: #ffc107;
    animation:blinkMe 0.4s infinite;
}

.order-stat-processing {
    background-color: #0dcaf0;
    animation:blinkMe 0.8s infinite;
}

.order-stat-ready {
    background-color: #198754;
    animation:blinkMe 0.8s infinite;
}


.order-stat-served {
    background-color: #212529;
}

.order-stat-cancelled {
    background-color: #6c757d;
}
