.dt-search {
    margin-bottom: 12px !important;
    text-align: end !important;
}

.dt-buttons {
    text-align: start !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    display: flex !important;
}

div.dt-paging ul.pagination{
    justify-content: end !important;
}

.buttons-copy {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0D6EFD;
    --bs-btn-border-color: #0D6EFD;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0769fc;
    --bs-btn-hover-border-color: #0769fc;
    --bs-btn-focus-shadow-rgb: 7, 105, 252;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0769fc;
    --bs-btn-active-border-color: #0769fc;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0D6EFD;
    --bs-btn-disabled-border-color: #0D6EFD;

}

/* Estilo para os botões de tema */
.btn-group-sm .btn-outline-secondary {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-color: #dee2e6;
}

.btn-group-sm .btn-check:checked + .btn-outline-secondary {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

/* Transição suave ao mudar tema */
/* * {
    transition: 0.1s ease, color 0.1s ease, border-color 0.1s ease;
} */

/* Ajustes para o tema escuro */
[data-bs-theme="dark"] .btn-outline-secondary {
    border-color: #495057;
    color: #dee2e6;
}

[data-bs-theme="dark"] .fc-day {
    background-color: var(--bs-body-bg) !important;
    color: #dee2e6;
    border-color: #495057;
}

[data-bs-theme="dark"] .btn-check:checked + .btn-outline-secondary {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.fc-daygrid-event-harness {
    cursor: pointer !important;
}

[data-bs-theme="dark"] div:where(.swal2-container) div:where(.swal2-popup) {
    background: #070707 !important
}

.fc-timegrid-axis {
    background-color: var(--bs-body-bg) !important;
    color: #dee2e6;
    border-color: #495057;
}

.fc .fc-scrollgrid-section-sticky > * {
    background: var(--bs-body-bg) !important;
}


[data-bs-theme="dark"]  div:where(.swal2-container) h2:where(.swal2-title) {
    color: #fff !important;
}

[data-bs-theme="dark"]  div:where(.swal2-container) div:where(.swal2-html-container) {
    color: #fff !important;
}

.bg-indicator-strategic {
    background-color: #499AFD !important;
}

.bg-indicator-tactical {
    background-color: #FE4949 !important;
}

.bg-indicator-monitoring {
    background-color: #d89c00 !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background-color: #0d6efd !important;
}

.modal {
    position: fixed !important;
}

body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}

body:not(.modal-open){
    padding-right: 0px !important;
}

.navbar > .container, .navbar > .container-fluid, .navbar > .container-lg, .navbar > .container-md, .navbar > .container-sm, .navbar > .container-xl, .navbar > .container-xxl {
    display: flex;
    flex-wrap: nowrap;
    align-items: normal;
    gap: 10px;
}

/* Remove outer border and internal lines */
.fc-theme-standard .fc-scrollgrid,
.fc-theme-standard th,
.fc-theme-standard .fc-scrollgrid-section > td {
  border-color: transparent !important;
}

/* Remove scrollbar grid border (if using scrollbars) */
.fc-theme-standard .fc-scrollgrid {
  border: none !important;
}
.fc .fc-toolbar {
    flex-wrap: wrap;
    gap: 5px;
}

.fc .fc-button-primary {
    background-color: var(--bs-dark) !important;
    border: none !important;
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
}

.dt-info {
    margin: 10px;
}

.appointment-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.appointments-scroll-area {
    height: 500px;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    scrollbar-width: auto;
}

.appointments-scroll-area::-webkit-scrollbar {
    width: 10px;
}

.appointments-scroll-area::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 8px;
}

.appointments-scroll-area::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 8px;
}

.appointments-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #868e96;
}

.appointment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slot-covered {
    background-color: #ffe8a3;
    border-color: #ffc107;
    color: #6c4b00;
}

.slot-covered-disabled {
    cursor: not-allowed;
    opacity: 0.9;
}

.slot-covered.active {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.appointment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.alert-sm {
    font-size: 0.875rem;
}

#businessCalendar .fc {
    --fc-border-color: rgba(0,0,0,.08);
    --fc-today-bg-color: rgba(255,193,7,.12);
    --fc-page-bg-color: transparent;
    --fc-small-font-size: .85em;
}

#businessCalendar .fc-toolbar-title {
    font-weight: 700;
}

#businessCalendar .fc .fc-button {
    border-radius: .5rem;
}

 .letter-spacing-1 { letter-spacing: 1px; }
    .hover-warning:hover { color: var(--bs-warning) !important; }

.gm-style-iw-chr {
    display: none !important;
}
