﻿.select2 {
    width: 100% !important;
}
.logoContainer {
    font-size: 30px;
    font-weight: 800;
    color: #1E40AF;
}
    .logoContainer span {
        color: #F59E0B;
    }

.select2-container .select2-selection--single {
    height: calc(2.375rem + 2px) !important;
    padding: 0rem 0.30rem !important;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(2.375rem - 2px) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(2.375rem) !important;
    top: 2px;
}

.invoice-table {
    min-width: 1000px;
}
.setting-table {
    min-width: 600px;
}

.table-responsive {
    overflow-x: auto;
    position: relative;
}

.table thead th.sticky-col,
.table tbody td.sticky-col {
    position: sticky !important;
    right: 0;
    background: #fff; /* Keep column visible */
    z-index: 5;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1); /* Optional small shadow */
}
.footer-row .badge {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.4rem;
}

.footer-row i {
    font-size: 0.85rem;
}

.footer-row .text-body {
    font-size: 0.75rem;
}

#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.loader-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
}

.loader-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Sortable header */
th.sortable {
    position: relative;
    cursor: pointer;
    user-select: none;
    padding-right: 22px; /* space for arrows */
    white-space: nowrap;
}

    /* Icon container */
    th.sortable .sort-icons {
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        line-height: 10px;
        color: #adb5bd; /* muted */
    }

        /* Default (inactive) */
        th.sortable .sort-icons::before {
            content: "▲\A▼";
            white-space: pre;
        }

    /* Active ASC */
    th.sortable.asc .sort-icons::before {
        content: "▲";
        color: #212529;
        font-weight: 600;
    }

    /* Active DESC */
    th.sortable.desc .sort-icons::before {
        content: "▼";
        color: #212529;
        font-weight: 600;
    }

    /* Hover feedback */
    th.sortable:hover .sort-icons {
        color: #495057;
    }






