

@media (max-width: 768px) {


    .SearchPagerFooter .btn-group {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem;
        height: auto;
    }

    .SearchPagerFooter p,
    .SearchPagerFooter span,
    .SearchPagerFooter select {
        margin: 0;
        padding: 0.15rem;
        flex-shrink: 0;
    }

    .SearchPagerFooter .btn-group > div {
        width: auto;
        text-align: center;
    }

    SearchPageFooter {
        font-size: 0.8rem;
    }

    th {
        font-size: 0.80rem;
    }

    tr,
    tr .btn {
        font-size: 0.80rem;
    }

    .SearchPagerHead {
        font-size: 0.80rem;
    }

    .input-Searchbar .form-control {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
        height: auto;
    }

    .input-Searchbar .btn-group,
    .input-Searchbar .btn {
        font-size: 0.8rem !important;
        padding: 0.1rem 0.3rem 0.1rem 0.3rem !important;
    }
    /* .form-control {
        font-size: 0.60rem;
        padding: 0.2rem 0.4rem;
        height: auto;
    }*/
    .CardSortHeader {
        font-size: 0.8rem;
    }

    .BottomNavBar {
        font-size: 0.8rem;
    }

        .BottomNavBar select {
            font-size: 0.80rem;
            padding: 0.1rem 0.3rem;
            width: 4rem;
            margin: 0.2rem;
        }

    .product-image {
        width: 60%;
        height: auto;
        max-width: 220px;
    }

    .card-item {
        width: 140px !important;
        height: 300px !important;
    }

        .card-item .card-header {
            min-height: 48px !important;
        }

            .card-item .card-header,
            .card-item .card-header .text-truncate,
            .card-item .card-header .text-wrap {
                font-size: 0.8rem !important;
            }

        .card-item .card-body,
        .card-item .card-footer {
            font-size: 0.8rem !important;
            padding: 0.5rem !important;
        }

            .card-item .card-footer .btn {
                font-size: 0.8rem !important;
                padding: 0.25rem 0.5rem !important;
                line-height: 1.2 !important;
            }
    @media (max-width: 400px) {
        .navbar-brand img {
            width: 80px;
        }

        .navbar-brand {
            font-size: 0.85rem;
        }
    }



}

.CardShadow-medium {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.15);
}

.custom-card {
    background-color: #eceef1;
    border: 1px solid #1a3c6e; /* deep navy blue */
    border-radius: 0.65rem;
    box-shadow: 0 4px 12px rgba(26, 60, 110, 0.15);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
    .custom-card:hover {
        box-shadow: 0 6px 20px rgba(26, 60, 110, 0.25);
        transform: translateY(-2px);
    }


.ExternalLoginDivider {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}





    .label {
        font-weight: 500;
        color: #6c757d;
        font-size: 0.9rem;
    }



    .UserBadge {
        font-size: 0.8rem !important;
        font-weight: bold !important;
        color: blue;
        padding: 0.1rem !important;
        position: relative;
        background-color: none !important;
        border-block-color: black;
        border-radius: 0.5rem !important;
        min-width: fit-content !important;
        max-width: 0.5rem !important;
    }
    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        white-space: nowrap;
        line-height: 40px !important;
    
    }
    .IndexDivWallPaper {
        bottom: 40px !important;
    }

.no-data-message {
    padding: 1em;
    text-align: center;
    font-style: italic;
    color: #777;
    border: 1px dashed #ccc;
    margin-top: 1em;
}





.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 12px;
    padding: 0;
}

body {
    margin-bottom: 60px;
}


.loader, .loader:before, .loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    animation-fill-mode: both;
    animation: bblFadInOut 1.8s infinite ease-in-out;
}

.loader {
    color: #0026ff;
    font-size: 7px;
    position: relative;
    text-indent: -9999em;
    transform: translateZ(0);
    animation-delay: -0.16s;
}

    .loader:before,
    .loader:after {
        content: '';
        position: absolute;
        top: 0;
    }

    .loader:before {
        left: -3.5em;
        animation-delay: -0.32s;
    }

    .loader:after {
        left: 3.5em;
    }

@keyframes bblFadInOut {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em
    }

    40% {
        box-shadow: 0 2.5em 0 0
    }
}

.IndexDivWallPaper {
    position: fixed;
    background: linear-gradient(to right,#809fff,#ccd9ff);
    top: 60px;
    padding: 0px;
    left: 0;
    right: 0;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
    box-sizing: border-box;
    bottom: 60px;
    /*height: 100vh;*/
    /*width: 100vw;*/
    display: flex;
    flex-direction: column;
    z-index: -1;
    overflow-x: hidden;
}

.IndexDiv {
    position: fixed;
    background: linear-gradient(to right,#809fff,#ccd9ff);
    top: 8%;
    min-height: 90%;
    min-width: 100%;
    z-index: -1;
}


.IndexDivTable {
    position: center;
    background: linear-gradient(to right,#809fff,#ccd9ff);
    top: 8%;
    left: 0;
    right: 0;
    min-height: 85%;
    min-width: 100%;
    z-index: -1;
    padding-bottom: 10px;
}

.IndexLinkText {
    color: white;
    font-weight: normal;
    text-decoration: none;
    margin-top: 5px;
}

.SearchPagerHead {
    position: sticky;
    margin-top: 3px;
    margin-left: 0px;
    margin-right: 0px;
    z-index: 1020;
}

.SearchPagerFooter {
    position: sticky;
    margin-top: 4px;
    z-index: 1020;
    margin-left: 0px;
    margin-right: 0px;
}

.fixedInputWidth {
    width: 4.5rem; /* Just enough for 3–4 digits */
    text-align: center;
}


.user-badge-link {
    text-decoration: none;
}

.user-badge-box {
    width: 50px;
    height: 35px;
    background-color: #ffffff;
    color: #000;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s ease;
}

    .user-badge-box:hover {
        transform: scale(1.05);
    }

.user-badge-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.user-badge-text {
    font-size: 0.9rem;
    line-height: 1;
}
.user-initials-only {
    font-weight: bold;
    color: #fff;
    background-color: transparent;
    font-size: 1rem;
    padding: 4px;
}

    .TableRow {
    background-color: whitesmoke;
    opacity: 90%;
}

.ButtonRounding-sm {
    border-radius: 10px;
}

.ButtonRounding-lg {
    border-radius: 25px;
}

.CardRounding-sm {
    border-radius: 30px;
}

.CardRounding-lg {
    border-radius: 40px;
}

.slim-number {
    max-width: 120px;
    padding-right: 0.5rem;
    text-align: right;
}

.slim-text {
    max-width: 160px;
    padding-right: 0.5rem;
    text-align: left;
}


.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 13px;
        width: 13px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.input-icon-wrapper {
    position: relative;
}

    .input-icon-wrapper input {
        padding-right: 3.0rem; /* Creates space for icon */
    }

    .input-icon-wrapper .input-icon {
        position: absolute;
        right: 0.75rem; /* Adjust for horizontal positioning */
        top: 70%;
        transform: translateY(-50%);
        cursor: pointer;
        color: black;
        font-size: 1.25rem;
        z-index: 10;
    }

    .input-icon-wrapper a:hover i {
        color: dimgrey; /* Darker shade for hover */
        transform: scale(1.1);
        transition: transform 0.2s ease, color 0.2s ease;
    }
/*  _____________________________Pager ______________*/
.page-link {
    color: black !important;
}

.page-item.active .page-link {
    z-index: auto;
    color: #fff;
    background-color: red !important;
    border-color: red;
}
/*-----------------------Option Buttons---------------------------
    .editButton,
.infoButton,
.deleteButton {
    border-radius: 50rem; /* rounded-pill */
padding-left: 1rem; /* px-3 */
padding-right: 1rem;
display: flex;
align-items: center;
gap: 0.25rem; /* space between icon and text (me-1) */
font-weight: 500;
}

.editButton {
    color: #0d6efd;
    border: 1px solid #0d6efd;
    background-color: transparent;
}

.infoButton {
    color: #0dcaf0;
    border: 1px solid #0dcaf0;
    background-color: transparent;
}

.deleteButton {
    color: #dc3545;
    border: 1px solid #dc3545;
    background-color: transparent;
}

    .editButton:hover,
    .infoButton:hover,
    .deleteButton:hover {
        background-color: rgba(0,0,0,0.05);
    }



/*--------------end color-profile option buttons------------------

---------------Chart---------------------------------------------*/
.stock-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.card-body canvas {
    width: 100% !important;
}

.input-with-label {
    display: flex;
    align-items: center;
    gap: 8px; /* space between input and label */
}

.barcode-type-label {
    font-size: 0.85em;
    font-style: italic;
    color: #666;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .barcode-type-label.visible {
        opacity: 1;
    }

