body {  font-family: "Inter", serif; }

#sidebar .theme-brand div.theme-logo img {width: auto; height: auto; filter: invert(1); max-width: 100%; }
#sidebar .shadow-bottom {display: none;}

table tr.over { cursor: pointer; }

.table .editable-column a.dropdown-toggle, .table .editable-column a.editable { border-bottom: 1px dashed #333 !important; }

body:before {display: none;}
.glightbox-clean .gslide-title{margin-bottom: 0; font-weight: 600; }
.glightbox-clean .gclose,.glightbox-clean .gnext,.glightbox-clean .gprev{display: none;}
.inline-inner .popup-title {display: flex; justify-content: space-between; padding: 20px; border-bottom: 1px solid #dee2e6; background-color: #0e1726;}
.inline-inner .popup-title .card-title{margin: 0; color: #bfc9d4 !important;}
.inline-inner .popup-title .btn-close{filter: invert(1);}
.inline-inner .popup-body{padding: 20px;}
.inline-inner .popup-body .btn {position: absolute; right: 20px; bottom: 20px;}

/*select 2 css */
.select2-container--default .select2-selection--single{border-radius: 6px !important; border: 1px solid #bfc9d4 !important; height: auto !important;}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height: 22px !important; padding: 0.75rem 1.25rem !important;}
.select2-container--default .select2-selection--single .select2-selection__arrow{height: 46px !important; width: 40px !important;}
.select2-container .select2-selection--multiple{border-radius: 6px !important; border: 1px solid #bfc9d4 !important; height: auto !important; padding: 0.37rem 1.25rem !important;}
.select2-container--default .select2-selection--multiple .select2-selection__rendered{padding: 0 !important;}


div.dataTables_wrapper .table-responsive {overflow: visible;}

h1, h2, h3, h4, h5, h6 { color: #3b3f5c;}

.alert-dismissible { display: flex; align-items: center; }

.custom-table .custom-table-thead th {background: rgba(234, 241, 255, 0.74);}
.custom-table tbody tr td {padding: 0.375rem 0.5rem; border: 1px solid #e0e6ed; font-size: 13px; white-space: inherit;}
.custom-table tbody tr:hover td{background-color:#f0f0f0;}
.custom-table input, .custom-table select, .custom-table textarea {border: 1px solid #bfc9d4; border-radius: 0.375rem; color: #3b3f5c; padding: 8px 10px;}
.custom-table .action {width: 1.5rem; height: 1.5rem; border-radius: 0.175rem; display: inline-flex; align-items: center; justify-content: center; color: #fff; margin: 0 0.15rem;}
.custom-table .action.plus {background-color: rgba(0, 171, 85,1);}
.custom-table .action.minus {background-color: rgb(231, 81, 90,1);}
.form-control:disabled:not(.flatpickr-input), .form-control[readonly]:not(.flatpickr-input) {color:#333; }

#sidebar ul.menu-categories ul.submenu > li.active:before {background-color: transparent;}
#sidebar ul.menu-categories li.menu ul.submenu > li.active a:before {background-color: #fff !important;}

.widget-content-area { padding: 20px; }
/* .list-group.list-group-media .list-group-item .media .media-body h6{font-size: 14px !important;}
.list-group.list-group-media .list-group-item .media .media-body p{font-size: 14px !important;} */

.dashboard-card-item{flex-wrap: wrap; justify-content: space-between;}
.widget.widget-wallet-one .list-group .list-group-item{padding-left: 10px !important; padding-right: 10px !important;}
.widget.widget-wallet-one .list-group .list-group-item:hover {background: #f0f0f0;}

.fc .fc-addEventButton-button { display: none !important; }
.event-fc-color { pointer-events: none; }

.fc-event-leave { background-color: #000 !important; color: #FFF; }
.fc-event-half-leave { background-color: #9b9999 !important; color: #FFF; }
.fc-event-CC0000 { background-color: #CC0000 !important; color: #FFF; }
.fc-event-birthday { background-color: #027CBA !important; color: #FFF; }
.fc-event-4427D5 { background-color: #4427D5 !important; color: #FFF; }
.fc-event-join { background-color: #FF33FF !important; color: #FFF; }
.fc-event-relieve { background-color: #33FFFF !important; color: #3366FF; }
.fc-event-upcoming-invoice { background-color: #4CAF50 !important; color: #FFF; }
.fc-event-missed-invoice { background-color: #b45f06 !important; color: #FFF; }
.fc-event-6A1B9A { background-color: #6A1B9A !important; color: #FFF; }
.fc-event-283593 { background-color: #283593 !important; color: #FFF; }
.fc-event-past-followup { background-color: red !important; color: #FFF; }
.fc-event-upcoming-followup { background-color: green !important; color: #000 !important; }

/* Ensure event titles wrap */
.fc-event, .fc-event-main {
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* For older browsers */
    overflow-wrap: break-word; /* Modern alternative */
}

/* Additional customization */
.fc-event {
    padding: 5px; /* Add padding for better readability */
}

.user-profile img { width:90px; height: 90px; object-fit: cover; object-position: top; }
.searchable-container .searchable-items.list .items .item-content .user-profile,
.searchable-container .searchable-items.list .items .item-content .user-email{width: 35%;}
.searchable-container .searchable-items.list .items .item-content .user-phone,
.searchable-container .searchable-items.list .items .item-content .user-location{width: 15%;}

.avatar img { object-fit: cover; object-position: top; }

table tbody tr.thead { color: #515365; letter-spacing: 1px; }
table tbody tr.thead th { background: rgba(234, 241, 255, 0.74); }

.nav.nav-tabs li.nav-item a.nav-link {border: none;font-weight: 500;padding: 8px 14px;letter-spacing: 1px;color: #506690;background: transparent; }
.nav.nav-tabs li.nav-item a.nav-link.active {border-bottom: 1.6px solid #4361ee;color: #4361ee;font-weight: 600;
}
.hr-policy .tab-content>.tab-pane ul li{letter-spacing: 0; margin-bottom: 7px; font-size: 14px; color: #3b3f5c;}
.hr-policy .tab-content>.tab-pane ul li:last-child{margin-bottom: 0;}
.hr-policy .tab-content>.tab-pane p{color: #3b3f5c; letter-spacing: 0;}
.hr-policy .tab-content>.tab-pane .card .card-title{color: #3b3f5c;}

@media (-webkit-min-device-pixel-ratio: 1.25) {
    .dashboard-card-item{flex-direction: column;}
    .searchable-container .searchable-items.grid .items {flex: 0 0 33.33% !important; max-width: 33.33% !important;}
}

.navbar .navbar-item .nav-item.dropdown.notification-dropdown .dropdown-menu {min-width: 20rem;}
.navbar .navbar-item .nav-item.dropdown.notification-dropdown .dropdown-menu .notification-scroll {overflow: hidden; overflow-y: auto;}

@media (max-width: 991px) {
    .navbar .search-animated {width: 70%; margin-left: 1rem;}
    .fc-toolbar-chunk:not(:first-child) {margin-top: 1rem !important;}
    .fc .fc-toolbar.fc-header-toolbar {margin-bottom: 1.25rem !important;}
    .searchable-container .searchable-items.grid .items {max-width: 100% !important; flex: 0 0 100% !important;}
    .nav-tabs, .nav.nav-pills {flex-wrap: nowrap; white-space: nowrap; overflow: hidden; overflow-x: auto;}
    .nav-tabs .nav-item {padding-bottom: 0.5rem;}
    div.dataTables_wrapper .table-responsive {overflow: hidden; overflow-x: auto;}
}

.portfolio .card {--mb: 1.5rem; height: calc(100% - var(--mb)); margin-bottom: var(--mb);}
.portfolio .card .card-img-top img {aspect-ratio: 4/3;}
.portfolio .card .card-body {padding: 1rem;}
.portfolio .card .card-body .card-title {line-height: normal;}

.has-overlay:before {content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.4);}
.play-icon:before {content: ''; position: absolute; left: 1rem; bottom: 1rem; width: 32px; height: 32px; background: url('../images/play-button.png') center center / cover no-repeat; filter: invert(1);}

@media (min-width: 1400px) {
    .header-container .navbar {margin: 0;}
    #content .middle-content {padding: 0 !important;}
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {max-width: 96%;}
    .sidebar-wrapper {max-width: 1600px; max-width: 96%;}
    .layout-boxed #content > .footer-wrapper {max-width: 1600px !important; max-width: 96% !important;}
}