
.box-body {
    width: 100%;
}


.vdv_tab-content {
    font-size: 14px;
}

.vdv_tab-content.active {
    display: block;
}



.ava_calendar-container {

    }

.ava_vet_name {
    font-size: 14px;
    font-weight: bold;
    color: #444748;
}

.ava_visit_count_value {
border-radius: 36px;
    background: #6918B6;
    color: white;
    padding: 0px 7px 2px 7px;
    font-size: 14px;
    font-weight: bold;
}

.ava_tabs {
    display: flex;
    cursor: pointer;

}
.ava_tab {
    padding: 10px;
    border: 1px solid #ccc;
    background: #FBF4FF;
}

.ava_tab p {
    margin: 0;
    padding: 12px;
}
.ava_tab-content {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    max-height: 700px; /* Altura máxima */
        overflow-y: auto; /* Habilitar scroll si es necesario */
}
.ava_tab-content.active {
    display: block;

}

.ava_tab.active {
    background: #EFDBFF;
    color: #6918B6;

}


.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Ícono flotante de WhatsApp */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px; /* Opcional: espacio alrededor */
    width: 100%;
}

.filter-selectors-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    height: 40px;
}


.create-btn {
    justify-self: end;
    border-radius: 15px;
    padding: 6px 10px;
    background-color: #c49be4;
}

.custom-nav-icon {
    width: 28px;
}

.visit-icon {
    font-size: 22px;
}

.statistics-header {
        /* gap: 0px; */
    width: 100%;
    justify-content: center;
    display: flex;
    margin: 0 50px;
    flex-wrap: wrap;

}

.greetings-row {
    margin-bottom: 10px !important;
}

.greetings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    color: #6918B6;
    font-weight: 600;
}

.page-title {
    font-size: 24px;
    color: #6918B6;
    font-weight: 600;
}

/* Contenedor del selector */
.filter-container {
    max-width: 25%; /* Mantener 2 columnas */
    min-width: 25%; /* Mantener 2 columnas */
    width: 25%; /* Establecer un ancho fijo */
}

/* Selector de Select2 */
.select2-container {
    width: 100% !important; /* Ocupa todo el ancho del contenedor */
}


/* Asegurar que el dropdown tenga el mismo ancho */

.whatsapp-float {
    background: #f8f9fa69;
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 60px;
    right: 20px;
    border-radius: 50%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Imagen dentro del botón */
.whatsapp-float img {
    width: 60%;
    height: 60%;
}




.navbar-nav li::marker {
    content: none;
}

.value-line {
    display: flex;
    justify-content: center;
    padding: 0;
}

.percentage-value-line {
    display: flex;
    justify-content: end;
    padding: 0;
}

.row {
    margin: 0;
}

.custom-card {
    background-color: #FAFAFA;
    border-radius: 16px;
    padding: 20px 8px;
    border: 1px solid #80808014;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-title {
    color: #6c757d;
    height: 16px;
    font-size: 14px;
    margin-bottom: 8px;
    text-align: center;
}

.custom-value {
    font-size: 28px;
    font-weight: 600;
    color: #343a40;
    margin: 0;
}


.custom-percentage {
    font-size: 12px;
    color: #8bc34a;
    display: inline-block;
    margin: 0 10px !important;
    align-self: center;
}

.custom-percentage .arrow {
    font-size: 12px;
}

.custom-subtext {
    font-size: 12px;
    color: #adb5bd;

    margin: auto;

}

.dashboard-container {
    padding: 0px;
}

.next-visit-card , .clinical-history-card{
    min-height: 315px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.next-visit-label {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Estilo para el selector */
#filter-selector {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    width: auto;
    display: inline-block;
}

/* Centrado y alineación del selector */
.filter-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;

}


.schedule-panel {
    padding: 0 0 0 6px;
}

.schedule-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.next-visit-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.next-visit-title, .clinical-history-title, .schedule-title {

        color: #6918B6;
    font-size: 18px;
    margin-bottom: 0;
    text-align: start;
    font-weight: bold;
    align-self: center;
}

.next-visit-content {
    text-align: left;
    border: 2px #C4C7C8;
    border-style: solid;
    border-radius: 10px;
    padding: 10px;
}

.clinical-history-content, .schedule-content {
    text-align: left;
}

.next-visit-date, .next-visit-details, .next-visit-pet, .next-visit-address {
    font-size: 14px;
    margin: 4px 0;
}

.next-visit-status {
    font-size: 16px;
    display: inline-block;
}

.next-visit-owner-info {
    padding: 6px 0;
    font-size: 18px;
    font-weight: bold;
    text-align: start;
    margin: 0;
}
.next-visit-actions {

    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px #C4C7C8 solid;/* Borde morado */
    padding: 10px 10px 0 10px;
    height: 65px;
}

.icon-container {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    flex-wrap: nowrap;
    flex-direction: column;

}

.icon-item {
    border: solid 1px;
    border-radius: 20px;
    padding: 0px;
    width: 40px;
    height: 40px;
    text-align: center;
}

.icon-container i {
    color: #6a0dad; /* Color de icono negro */
    font-size: 24px;
}

.icon-container a {
    color: #4C3700 !important;
}

.badge-pending {
    background-color: #FFE7BB; /* Amarillo */
    color: #402D00;
}

.badge-completed {
    background-color: #C9E8E8; /* Verde */
    color: #105352;
}

.badge-cancelled {
    background-color: #F3D4D1; /* Rojo */
    color: #70241D;
}

.badge-no_report {
    background-color: #C8DBFF; /* Gris */
    color: #313031;
}

.badge-in_progress {
    background-color: #EFDBFF; /* Gris */
    color: #2B0053;
}



.next-visit-address p, .next-visit-pet p, .next-visit-fee p, .next-visit-details p {
    display: flex;
    align-items: center;
}

.next-visit-address svg, .next-visit-pet svg, .next-visit-fee svg, .next-visit-details svg {
    margin-right: 8px; /* Espacio entre el icono y el texto */
}


.next-visit-address, .next-visit-pet, .next-visit-fee, .next-visit-details {
    font-size: 14px;
    display: flex;
    align-items: center;
    margin: 4px 0;
    flex: 1 1 100%; /* Por defecto, ocupa el 100% del ancho en pantallas grandes */
}

.btn {
    margin-right: 4px;
    border: 0px;
}

.btn-primary:hover {
    background: transparent;
}

.dropup .dropdown-toggle::after {
    display: none;
}

.clinical-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.clinical-history-pet-name {
    font-weight: bold;
}

.clinical-history-date {
    color: #888;
    font-size: 12px;
}

.schedule-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.schedule-time {
    font-weight: bold;
}

.schedule-status {
    color: #007bff;
}

.schedule-more-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.col-12 {
    padding: 0;
}


.clinic-history-card {
    width: 100%;
    max-width: 300px;
    border: 1px solid #c49be4;
    padding: 10px;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 400px;
}

.clinic-history h3 {
    color: #6a0dad;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.visits-list {
    display: flex;
    flex-direction: column;
    max-height: 300px;    /* Altura máxima de 300px */
    overflow-y: auto;
}

.visit-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.visit-owner-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    background-color: #6a0dad;
}

.visit-details {
    flex: 1;
}

.visit-owner-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0;
}

.visit-date {
    font-size: 12px;
    color: #777;
    margin-bottom: 0;
}



#calendar {
    margin: 0 !important;
    min-height: 700px;
}
/* -------------------------------------------------------------------------------------------------*/

/* Contenedor principal */

.search-and-filters-container {
    display: flex;
    flex-direction: column;

    box-sizing: border-box;
    width: 100%;
}

.search-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
/* Divs principales */

.config-container {
    border-right: rgba(128, 128, 128, 0.47) 1px solid;
    flex: 1;
    min-width: 50px;
    max-width: 38px;
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-bar {
    border-right: rgba(128, 128, 128, 0.47) 1px solid;
    flex: 2;
    min-width: 250px;
    align-self: center;
    text-align: center;

}

.form-control.search-bar-item {
    align-self: center;
    border: 0px;
    font-size: 16px;
    color: #6918B6;
}

.items-container {
    border-right: rgba(128, 128, 128, 0.47) 1px solid;
    flex: 2;
    min-width: 170px;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 10px;
}

.items-container-details {
    display: flex;
    font-size: 16px;
    color: #6918B6;
}

.paginate-container {
    border-right: rgba(128, 128, 128, 0.47) 1px solid;
    display: flex;
    justify-content: space-between;
    flex: 1;
    align-items: center;
    min-width: 150px;
    padding: 0 10px;
    text-align: center;
    min-width: 185px;

}

.pagination {
    margin: 0px !important;
}

.custom-filter-container {
    flex: 2;
    min-width: 150px;
    text-align: center;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

/* Contenedor de filtros (100% ancho en escritorio) */
.filters-container {

    width: 100%;
    min-width: 100%;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    overflow-x: auto; /* Habilita el scroll horizontal */
    white-space: nowrap; /* Evita que los elementos se envuelvan a la siguiente línea */
}

.filter-actions {
    display: flex;
    justify-content: flex-start;
    gap: 15px;

}

.filters {
    margin: 0;
    background: none;
    border: none;
    font-size: 18px;
    color: #6918B6;
    cursor: pointer;
}


.btn_remove_filter {
    margin: 0;
    background: none;
    border: none;
    font-size: 18px;
    color: #6918B6;
    cursor: pointer;
}

.btn_remove_filter {
    color: #f3d1fb; /* Azul más oscuro al pasar el cursor */
}
.filters:hover {
    color: #f3d1fb; /* Azul más oscuro al pasar el cursor */
}

/* Tooltip (ayuda contextual) */
.filters[title] {
    position: relative;
}

.filters[title]:hover::after {
    content: attr(title);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.filters[title]:hover::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.dropdown-menu {
    padding: 0;
}

.dropdown-item {
    padding: 2px;
    display: unset;
    width: auto;

}

.list-dots.show {
    display: flex;
    height: 40px;
    align-items: center;
    bottom: 70%;
}

.dropdown-item i {
    color: #510093;
    font-size: 20px;
    margin: 0 8px;

}

.dropdown-item:hover i {
    color: #6f42c1; /* Cambia el color del icono al pasar el ratón */
}

.arrow {
    cursor: pointer;
    transition: color 0.2s;
}

.arrow:hover {
    color: #6c63ff; /* Cambia el color al pasar el mouse */
}

.paginate_button {
 font-size: 16px;
}

.custom-filter {
    display: flex;
    width: 100%;
}
.custom-filter-item {
    display: flex;
    margin: 0 10px 10px 10px;

}

.select-dropdown {
    max-width: 100%; /* Limita el ancho máximo */
    width: 100%; /* Asegura que tome el ancho del contenedor */
    box-sizing: border-box; /* Incluye padding y borde dentro del ancho */
}

.dropdown-menu {
    max-width: 100%; /* Evita que sea más grande que su contenedor */
    overflow: auto; /* Permite scroll si el contenido es muy grande */
    white-space: nowrap; /* Evita que el texto se corte */
    position: absolute; /* Asegura que el dropdown no altere el diseño */
    z-index: 1050; /* Asegura que esté por encima de otros elementos */
}

.select2-container {
    width: 100% !important;
}

.select2-dropdown {
    max-width: 100%;
    overflow-x: auto;
}

.actions-list.dropdown-menu {
    max-width: 200px; /* Ajusta el ancho máximo del menú si es necesario */
    overflow: hidden; /* Evita que el contenido del menú desborde */
}

.dropdown-menu.dropup {
    transform: translateY(-100%); /* Asegura que el menú se abra hacia arriba */
}

.dropdown-menu-end {
    right: 0; /* Alínea el menú con el borde derecho */
    left: auto; /* Evita el desbordamiento a la izquierda */
}







@media (max-width: 768px) {
    .statistics-header {
        margin: 0;
    }
    .select-dropdown {
        width: 100%;
        font-size: 14px;
    }

    .dropdown-menu {
        font-size: 14px;
    }
    .vdv_col {
        margin: 0 ;
        padding: 0;
    }
}


/* Responsivo: Forzar 100% del ancho para filter-container en escritorio */
@media (min-width: 768px) {
    .filter-container {
        flex: 0 0 100%;
    }

    .custom-filter-container {
        display: none;
    }
}

@media (max-width: 768px) { /* Para pantallas pequeñas, como teléfonos */
    .filter-actions-container {
        display: none;
    }

    .items-container {
        display: none;
    }


    .next-visit-address, .next-visit-pet, .next-visit-fee, .next-visit-details {
        flex: 1 1 50%; /* Ocupa el 50% del ancho en dispositivos móviles */
    }

    .next-visit-title-row {
        margin: 16px 0;
    }

    .value-line {
    display: flex;
    justify-content: center;
    padding: 0;
    }

    .percentage-value-line {
        display: flex;
        justify-content: end;
        padding: 0;
    }

    .row {
        margin: 0;
    }

    .custom-card {
        background-color: #FAFAFA;
        border-radius: 16px;
        padding: 6px 6px;
        text-align: start;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
        height: 100px;
        display: flex;
        flex-direction: column;
    }

    .custom-title {
        color: #6c757d;

        font-size: 14px;
        margin-bottom: 8px;
    }

    .custom-value {
        font-size: 22px;
        font-weight: 600;
        color: #343a40;
        margin: 0;
    }


    .custom-percentage {
        font-size: 12px;
        color: #8bc34a;
        display: inline-block;
        margin: 0 10px !important;
        align-self: center;
    }

    .custom-percentage .arrow {
        font-size: 12px;
    }


}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0 auto;
    max-width: 80%;
    color: #7E35CB;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.info-item {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(33.33% - 1rem); /* Tres columnas en pantallas grandes */
    min-width: 150px; /* Tamaño mínimo por item */
    box-sizing: border-box;
}

.info-item strong {
    font-weight: bold;
}

.info-item span {
    margin-top: 0.5rem;
}
/* Ajustes para pantallas grandes */
@media (min-width: 992px) {
    .info-item {
        flex: 1 1 calc(33.33% - 1rem); /* Tres columnas en pantallas grandes */
    }
}
