.table.dataTable{
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.table-responsive .dataTables_wrapper .dataTables_filter{
    margin-bottom: 0;
}

div.dataTables_wrapper div.dataTables_info{
    padding-top: 7px;
}

div.dataTables_wrapper div.dataTables_paginate{
    display: flex;
    align-items: center;
    justify-content: end;
}

.datatable-icons a{
    padding: 3px 8px;
}

.datatable-icons a:not(:last-child){
    margin-right: 5px;
}

.detail-view div{
    border-bottom: 1px solid lightgrey;
    padding: 10px 0;
}

.detail-view div:first-child{
    padding-top: 0;
}

.detail-view div:last-child{
    border-bottom: none;
    padding-bottom: 0;
}

.detail-view div label{
    font-weight: bold;
    margin-bottom: 5px;
}

.detail-view div p{
    margin: 0;
}

.tagline{
    font-size: 10px;
    color: red;
    margin: 2px 0;
}

body{
    background: #F3F5F7;
}

/* Theme-based preloader – table area only (topbar + advance filter stay visible) */
.data-table-card-wrap {
    position: relative;
    min-height: 200px;
}
.preloader.preloader-table-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--bs-border-radius, 0.375rem);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-wrapper {
    position: relative;
}
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-inner {
    text-align: center;
}
.preloader-inner-dots .preloader-text {
    margin-top: 0;
}
.preloader-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border: 4px solid var(--bs-gray-200, #eaeff4);
    border-top-color: var(--bs-primary, #5d87ff);
    border-radius: 50%;
    animation: preloader-spin 0.8s linear infinite;
}
.preloader-text {
    font-size: 0.875rem;
    font-weight: 500;
}
@keyframes preloader-spin {
    to { transform: rotate(360deg); }
}

.topbar{
    background: #5E86F7;
}

#main-wrapper{ background-color: #ffffff}

.body-wrapper{padding-top: calc(40px + 30px) !important;}

.left-sidebar .fixed-profile {
    position: fixed;
    bottom: 0;
    z-index: 0;
    width: 270px;
    max-width: 100%;
    margin-top: auto;
}

/* Show full name in sidebar - prevent truncation */
.left-sidebar .fixed-profile .side-name-trunc,
.left-sidebar .fixed-profile .john-title h6 {
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    word-break: break-word;
}