body {
    font-family: 'Montserrat', sans-serif!important;
    background-color: #f5f6fa!important;
}

.link-hover {
    position: relative;
    color: #1a1a1a;
    font-weight: 500;
}
.link-hover:hover {
    color: #1a1a1a !important;
}
.link-hover:after{
    background: #1a1a1a;
    color: #1a1a1a!important;
}
.form-check-input:checked {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

.sidebar .sidebar-menu > ul > li ul li a:hover {
    color: #f5f4f3;
}

.sidebar .sidebar-menu > ul > li ul li a.active {
    color: #f5f4f3;

    border-radius: 5px;
}
.sidebar .sidebar-menu > ul li .submenu > a.active {
    background: #cbcbca;
    color:#1c1c1c;
    border-radius: 5px;
}
.sidebar .sidebar-menu > ul li .submenu > a.active span {
    color: #f5f4f3;
}
.sidebar .sidebar-menu > ul li .submenu > a.active span:hover
{
    color: #f5f4f3;
}
.sidebar .sidebar-menu > ul li .submenu > a span:hover
{
    color: #f5f4f3;
}
.sidebar .sidebar-menu > ul li .submenu > a.active i {
    background: #1c1c1c;
    color: #f5f4f3;
}
.sidebar .sidebar-menu > ul li .submenu > a.active .menu-arrow::before {
    border-right: 2px solid #1c1c1c;
    border-bottom: 2px solid #1c1c1c;
}
.sidebar .sidebar-menu > ul > li ul li a:hover span{
    color: #f5f4f3;
}
.sidebar .sidebar-menu > ul > li ul li a:hover{
    color: #f5f4f3;
    background: rgba(255,255,255,.11);
}
.sidebar .sidebar-menu > ul > li ul li a.active {
    color: #f5f4f3;
    background: rgba(255,255,255,.11);
    border-radius: 5px;
}
.sidebar .sidebar-menu > ul > li ul li a.active i {
    background: #2e2e30;
    color: #f5f4f3;
}
.sidebar .sidebar-menu > ul > li ul li a.active span {
    color: #f5f4f3;
}
.sidebar .sidebar-menu > ul > li ul li a i{
    background: #2e2e30;
    color: #f5f4f3;
}

.page-wrapper .content{
    padding: 15px;
    background: #ffffff;
}

.flatpickr-calendar {
    z-index: 9999 !important;
}
.sidebar .sidebar-menu > ul > li ul li a span {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: #f5f4f3;
    margin-left: 10px;
}
.sidebar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: #FFF;
    margin-top: 0;
    z-index: 1001;
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
    width: 240px;
}
.header .header-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
    float: left;
    height: 56px;
    position: relative;
    text-align: center;
    width: 240px;
    z-index: 1;
    background: #2e2e30;
    padding: 0 15px;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.header .header-user .user-menu{
    background:#2e2e30;
}
.page-wrapper {
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
    margin: 0 0 0 240px;
    padding: 56px 0 0;
    position: relative;
    left: 0;
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
/* Día seleccionado, rango inicial, rango final */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background-color: #131022;
    border-color: #131022;
    color: #fff;
}
.flatpickr-day.today:hover {
    background-color: #131022;
    border-color: #131022;
    color: #FFF;
}
/* Día dentro del rango (cuando usas mode: 'range') */
.flatpickr-day.inRange {
    background-color: rgba(19, 16, 34, 0.3); /* versión más clara del mismo tono */
    color: #fff;
}

/* Hover sobre día no seleccionado */
.flatpickr-day:hover {
    background-color: #131022;
    color: #fff;
}

.flatpickr-months .flatpickr-month {
    color: #1c1c1c;
    fill: #1c1c1c;
}
.flatpickr-day.today {
    border-color: #131022;
    background-color: #131022;
    color: #FFF;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
    background: #131022;
    color: #FFF;
    border-color: #131022;
}

.flatpickr-months, .flatpickr-weekdays {
    background-color: rgba(0, 0, 0, 0.1);
}
span.flatpickr-weekday {
    color: #131022;
    font-weight: 700;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    border-radius: 0.25rem;
    border: 1px dashed #131022;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: #131022; /* Cambia este color al que necesites */
}

.flatpickr-time .arrowUp:after,
.flatpickr-time .arrowDown:after {
    border-top-color: #131022;  /* Flecha hacia arriba */
    border-bottom-color: #131022; /* Flecha hacia abajo */
}

.flatpickr-time .arrowUp:after:hover,
.flatpickr-time .arrowDown:after:hover {
    border-top-color: #131022;  /* Flecha hacia arriba */
    border-bottom-color: #131022; /* Flecha hacia abajo */
}
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg {
    fill: #131022;
}
.flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg {
    width: 1.25rem;
    height: 1.25rem;
    padding: 0.25rem;
    fill: #131022;
}

.form-select option:checked {
    background-color: rgba(var(#131022), 0.2);
    color: #131022;
}
::selection {
    background: #131022;
    color: #FFF;
    text-shadow: none;
}
::-webkit-scrollbar-thumb {
     background: #131022;
 }


#OperationTable tbody tr.selected-row {
    background-color: #d0ebff !important;
    --bs-table-bg: #d0ebff !important;
}

#DataTableContent tbody tr.selected-row {
    background-color: #d0ebff !important;
    --bs-table-bg: #d0ebff !important;
}
.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #1a1a1a!important;
}
:root {
    --animate-duration: .1s;  /* Duración por defecto para todas las animaciones Animate.css */
}
.scroll-box {
    height: 90vh;      /* o una altura fija: height: 300px */
    overflow-y: auto;       /* solo scroll vertical si es necesario */
    padding: 10px;          /* opcional para espaciar el contenido */
    border: 1px solid #ccc; /* opcional para dar contorno */
}

.ui-autocomplete {
    z-index: 99999 !important;
    background-color: white;
    max-height: 300px;
    width: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ccc;
    position: absolute;
}

.ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
    background-color: #1a1a1a !important; /* Color de fondo */
    color: #fff !important;               /* Color del texto */
}
.account-bg-alltheway {
    background-image: url('/assets/img/authentication/all_the_way_login.webp'); /* Ajusta según ruta real */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100vh;
}

.dataTables_paginate .pagination li.active a.page-link, #dataTables_paginate .pagination li.active a.page-link {
    background: #1a1a1a;
    border-color: #1a1a1a;
    border-radius: 5px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}


::-webkit-scrollbar {
    width: 12px;       /* Ancho vertical */
    height: 12px;      /* Alto horizontal */
}

.alert-info {
    background-color: #d0ebff;
    color: #1a1a1a;
    border-color: rgba(30, 203, 226, 0.1);
}

ul.timeline_list {
    list-style-type: none;
    position: relative;
}
ul.timeline_list:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}
ul.timeline_list > li {
    margin: 20px 25px;
    padding-left: 20px;
}
ul.timeline_list > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #22c0e8;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

.flatpickr-calendar {
    z-index: 1055 !important; /* Bootstrap modal z-index es 1050 */
}

.flatpickr-time .numInputWrapper {
    max-height: 150px;
    overflow-y: auto;
    scrollbar-width: thin;
}

/*
.table thead tr th {
    font-weight: 600;
    font-size: 9px;

}
.table_operacion thead tr th {
    font-weight: 600;
    padding:2px 0px !important;
    background: #dee2e6;
    color: #222222;
    text-align: left;


}
.table_operacion th{
    padding: 0px 0px !important;
    font-size: 10px!important;
}
.table_operacion td{
    padding: 0px !important;
    font-size: 9px!important;
    border: 1px solid #222222;
}

.table_operacion{
    width: inherit;
    margin-bottom: 1rem;
    color: #222222;
    vertical-align: top;
    border-color: #dee2e6;
    border-collapse: collapse;

}

.truncate {
    max-width:50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}*/
.tooltip-inner {
    background-color: #000; /* color de fondo */
    color: #fff;            /* color de texto */
    font-size: 14px;        /* tamaño de letra */
    padding: 6px 12px;      /* espacio interno */
    max-width: 300px;       /* ancho máximo */
    text-align: center;     /* alineación */
    border-radius: 8px;     /* bordes redondeados */
}

.tooltip .tooltip-arrow::before {
    border-top-color: #000; /* color de la flecha */
}

.bg-light{
    background: #e8e8e8!important;
    border: 1px solid #2e2e30!important;
    color: #0A0A0A!important;
}
.bg-green{
    background: #88E788!important;
}


.bg-red{
    background: #FA5053!important;
}
.bg-orange{
    background: #FFA800!important;
}
.bg-cream{
    background: #FFB2BA!important;
}

.tab-style-6 .nav-item .nav-link.active{
    background: #0A0A0A;
}
.tab-style-6 .nav-item .nav-link.active:hover{
    color: #ffffff!important;
}
.tab-style-6 .nav-item .nav-link{
    color: #0A0A0A;
}
.input_transparent{
    background: transparent;
    border: none;
}

.btn.btn-primary {
    background-color: #0F52BA;
    border: 1px solid #0F52BA;
    color: #FFF;
}

.btn.btn-primary:hover, .btn.btn-primary.active {
    background-color: #5787c5;
    border: 1px solid #5787c5;
    color: #FFF;
}
.sidebar .sidebar-inner {
    background: #2e2e30;
    width: 100% !important;
}
.header .header-left{
    background: #2e2e30;
}

.header {
    height: 56px;
    z-index: 999;
    background: #2e2e30;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    -webkit-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.header .bar-icon span {
    background-color: #f5f4f3;
    display: block;
    float: left;
    height: 3px;
    margin-bottom: 7px;
    width: 31px;
    border-radius: 2px;
    transition: all 0.5s;
}
.header #toggle_btn{
    color: #f5f4f3;
}
.header .mobile-user-menu{
    background: #2e2e30;
}
.header .mobile-user-menu {
    color: #FFF;
    display: none;
    float: right;
    font-size: 24px;
    height: 60px;
    line-height: 60px;
    text-align: right;
    width: 60px;
    z-index: 10;
    padding: 0 20px;
    position: absolute;
    top: 0;
    right: 0;
}

.avatar-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;       /* ancho */
    height: 40px;      /* alto */
    background-color: #0F52BA; /* color de fondo */
    color: white;      /* color de texto */
    font-weight: bold;
    border-radius: 50%; /* círculo */
    font-size: 14px;
    text-transform: uppercase; /* mayúsculas */
}
.header .user-info .user-letter{
    border-radius: 50%;

}
.dropdown > a{
    border: none;
}

.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    padding: 1px;
}

.nav-tabs .nav-link.active {
    border: none;
    border-bottom: 2px solid #79abff;
    background-color: transparent;
}

.icon-bg {
    background-color: #79abff;
    width: 30px;
    height: 30px;
    font-size: 14px;
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.page-header .page-title {
    font-weight: normal;
    align-items: center;
    font-size: 20px;
    line-height: 28px;
}
.form-select-sm{
    padding: 0px;
    font-size: 10px;
}
.form-input-sm{
    padding: 0px;
    font-size: 10px;
    min-height: 10px!important;
}
.sticky-top{
    z-index: 1!important;
}

#bookingsTable {
    font-size: 9px;
    font-family: Arial, sans-serif; /* opcional */
}

/* Encabezados */
#bookingsTable thead th {
    font-size: 10px;
    font-weight: normal;
}

/* Celdas */
#bookingsTable tbody td {
    font-size: 10px;
}

/* Fuente general de la tabla */
#bookingsTable,
#bookingsTable tbody td,
#bookingsTable thead th {
    font-size: 10px !important;
    font-family: Arial, sans-serif;
}

/* Encabezados fijos y centrados */
#bookingsTable thead th {
    background-color: #f8f9fa !important;
    text-align: center;
    padding: 6px !important;
}

/* Truncate en celdas y encabezados */
#bookingsTable .truncate {
    max-width: 60px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.truncate {
    max-width: 50px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
#bookingsTable, #bookingsTable tbody td, #bookingsTable thead th{
    max-width: 80px!important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
#bookingsTable td.truncate,
#bookingsTable th.truncate {
    max-width: 60px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}


@media (max-width: 991.98px) {
    .header .mobile_btn {
        color: #f5f4f3!important;
        font-size: 24px;
        height: 60px;
        line-height: 60px;
        width: 60px;
        z-index: 10;
        padding: 0 20px;
        position: absolute;
        top: 0;
        left: 0;
        display: block;
    }
}

@media (max-width: 991.98px) {
    .page-wrapper {
        margin: 0;
        padding: 60px 0 0;
    }
}