﻿body {
}


.label-text {
    font-size: 16px; /* all lables alos grids  header*/
    font-weight: bold;
}

.form-label {
    font-size: 16px; /* all grid recordes and values */
    /*    font-family: 'Handel Gothic', sans-serif;
*/
}

.pop-font-size {
    font-size: 10px;
}

.font-table-size {
    font-size: 10px;
}



.validation-error {
    font-size: 0.8em;
    font-weight: bold;
    color: red;
}

.required-indicator {
    color: red;
    font-weight: bold;
}


.form-control.selectdropdown {
    font-size: 12px;
}


.custom-select-wrapper {
    position: relative;
    display: inline-block;
}

    .custom-select-wrapper select {
        width: 100%;
        padding-right: 30%;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 4px;
        font-size: 80%;
    }

    .custom-select-wrapper::after {
        content: "\f078";
        font-family: "Font Awesome 5 Free";
        font-weight: 600;
        position: absolute;
        top: 50%;
        right: 5%;
        transform: translateY(-50%);
        font-size: 1em; /* Reduce the size of the icon */
        pointer-events: none;
    }

#datatable {
    width: 100%;
    border-collapse: collapse;
}

.dataTables_wrapper {
    overflow: auto;
    Allow scrolling if necessary
}

.container_align {
    margin-left: 0px;
    margin-top: 0px;
    overflow: hidden;
    padding: 10px;
    background-color: #FFF;
}

.btn-color {
    background-color: #18cb96;
}

.text-danger {
    color: red;
}

.error-msg {
    display: none;
}


/*@font-face {
    font-family: 'Handel Gothic';
    src: url('/fonts/HandelGothicRegular.woff2') format('woff2'), url('/fonts/HandelGothicRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}*/



#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #ddd;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 22.8s linear infinite;
}


.loader {
    animation: spin 1s linear infinite;
}

.highlight-default-grid {
    border: 3px solid #007bff !important; /* Blue border for default godown */
}

.highlight-card {
    background-color: #f0f8ff; /* Light blue background for highlighting */
    border: 2px solid#18cb96; /* Border color for emphasis */
    font-weight: bold; /* Make text bold */
}


/*.grid-hover-table tbody tr {
    transition: all 0.2s ease;
}*/

/* Mouse hover */
/*.grid-hover-table tbody tr:hover {
        outline: 2px solid #18cb96;
      
        cursor: pointer;
    }*/

/* Active row (keyboard navigation) */
/*.grid-hover-table tbody tr.active-row {
        outline: 2px solid #18cb96;
       
    }
.grid-hover-table:focus {
    outline: 1px solid transparent; 
}*/


/* ===== TABLE BASE FIX ===== */
.grid-hover-table {
    border-collapse: separate !important;
    border-spacing: 0;
}

    /* ===== SMOOTH TRANSITION ===== */
    .grid-hover-table tbody tr td {
        transition: all 0.2s ease;
    }

    /* ===== HOVER + ACTIVE ROW ===== */
    .grid-hover-table tbody tr:hover td,
    .grid-hover-table tbody tr.active-row td {
        border-top: 2px solid black;
        border-bottom: 2px solid black;
        background-color: #f9f9f9;
    }

        /* LEFT BORDER */
        .grid-hover-table tbody tr:hover td:first-child,
        .grid-hover-table tbody tr.active-row td:first-child {
            border-left: 2px solid black;
        }

        /* RIGHT BORDER */
        .grid-hover-table tbody tr:hover td:last-child,
        .grid-hover-table tbody tr.active-row td:last-child {
            border-right: 2px solid black;
        }


    /* ===== ONLY ACTIVE ROW → TEXT BIG ===== */
    .grid-hover-table tbody tr.active-row td {
        font-size: 16px;
        font-weight: 600;
    }


#productGrid.edit-mode tbody tr td input.grid-input.text-price,
#productGrid.edit-mode tbody tr td input.grid-input.text-quantity {
    font-weight: 600 !important;
}

/* ===== ACTIVE ROW → EXTRA BOLD ===== */
#productGrid.edit-mode tr.active-row input.text-price,
#productGrid.edit-mode tr.active-row input.text-quantity {
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* ===== REMOVE DEFAULT TABLE FOCUS ===== */
.grid-hover-table:focus {
    outline: none;
}

.ui-autocomplete {
    font-size: 17px;
}

.ui-menu-item-wrapper {
    font-size: 17px;
    padding: 8px 12px;
}
