/* ===== Custom Bootstrap Color Buttons ===== */

/* Violet */
.btn-violet {
    background-color: #7d4fc2;
    color: #fff;
    border: none;
}
.btn-violet:hover {
    background-color: #6b3bb5;
    color: #fff;
}

/* Indigo */
.btn-indigo {
    background-color: #4b0082;
    color: #fff;
    border: none;
}
.btn-indigo:hover {
    background-color: #3a0068;
    color: #fff;
}

/* Pink */
.btn-pink {
    background-color: #d60040;
    color: #fff;
    border: none;
}
.btn-pink:hover {
    background-color: #af0239;
    color: #fff;
}

/* Orange */
.btn-orange {
    background-color: #fc4706;
    color: #fff;
    border: none;
}
.btn-orange:hover {
    background-color: #e94200;
    color: #fff;
}

/* Teal */
.btn-teal {
    background-color: #00b881;
    color: #fff;
    border: none;
}
.btn-teal:hover {
    background-color: #199d75;
    color: #fff;
}

/* Cyan */
.btn-cyan {
    background-color: #0594aa;
    color: #fff;
    border: none;
}
.btn-cyan:hover {
    background-color: #0d6775;
    color: #fff;
}

/* Lime */
.btn-lime {
    background-color: #32cd32;
    color: #fff;
    border: none;
}
.btn-lime:hover {
    background-color: #28a428;
    color: #fff;
}

/* Make the button more compact */
.icon-btn {
    padding: 0.25rem 0.4rem;   /* tighter padding */
    font-size: 1rem;           /* adjust overall size */
    line-height: 1;            /* keep icon vertically centered */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-btn i {
    font-size: 1.75rem; /* was fa-2x (~2rem), use smaller */
}

.icon-btn i:hover {
    transform: scale(1.02);    /* Slightly enlarge the icon */
}

/* ======== Data tables ========= */

.normal-table {
    overflow: auto;
}

.normal-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: black;
    color: white;
}

.custom-data-table thead th {
    background-color: #180059;
    color: white;
    padding-left: 0.4rem;
}

td[data-value*="Pending"] {
  background-color: #F88379;
  
}

.sidebar li .submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sidebar .nav-link {
    font-weight: 500;
}

.sidebar .nav-link:hover {
    color: var(--bs-primary);
}

.form-control, .form-select {
    font-size: 12px;
}

.form-inline label, .form-group label {
    font-size: 13px;
    font-weight: 550;
}

/* Make DataTable pagination buttons smaller */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.2rem 0.5rem !important;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Optional: reduce spacing around the buttons */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 0.5rem;
}

.dataTables_wrapper .dataTables_paginate .ellipsis {
    padding: 0 0.3em !important;
}

.truncate {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate-50  { max-width: 50px; }
.truncate-100 { max-width: 100px; }
.truncate-150 { max-width: 150px; }
.truncate-200 { max-width: 200px; }
