﻿.data-container .contact-group {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap; /* Permite que se acomoden en móviles */
}

.contact-group .icon {
    width: 20px;
    height: 20px;
}

.contact-group .info-button {
    display: inline-block;
    text-decoration: none;
    color: black;
    font-size: 14px;
}

    .contact-group .info-button:hover {
        text-decoration: underline;
    }

.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 15px 0;
}

.container-card {
    max-width: 1300px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

body {
    background-color: var(--primary_2);
}
/* Agrega una flecha al select2 en modo múltiple */
.select2-container--default .select2-selection--multiple {
    position: relative;
    padding-right: 30px !important; /* Espacio para la flecha */
}

    /* Insertar la flecha manualmente */
    .select2-container--default .select2-selection--multiple::after {
        content: "▼"; /* Símbolo de la flecha */
        font-size: 14px;
        color: #999;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        pointer-events: none;
    }

.btn-search-agentes {
    width: 50px;
    border-radius: 0px 10px 10px 0px;
    background-color: var(--primary_50);
}

    .btn-search-agentes:hover {
        color: white !important;
        transform: none !important;
        transition: none !important;
        background-color: var(--primary_50) !important;
    }

    .btn-search-agentes:active {
        color: white !important;
        transform: none !important;
        transition: none !important;
        background-color: var(--primary_50) !important;
        border-color: var(--primary_50) !important;
    }

.tab-content {
    width: 90% !important;
}

.agentes-select {
    color: var(--primary_50);
    border-radius: 20px;
    border-color: var(--primary_50);
    border: solid 2px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23086378' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

    .agentes-select:focus, #province-select:active {
        box-shadow: none !important;
        background-color: aliceblue;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23086378' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 11 6-6 6 6'/%3e%3c/svg%3e");
    }

    .agentes-select option {
        background-color: white;
    }

.form-control:focus {
    box-shadow: none !important;
    border: 2px solid var(--primary_50);
}
/*DropDown*/
.dropdown {
    text-align-last: left;
}

.dropdown-btn {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 180px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    padding: 10px 0;
}

    .dropdown-content.show {
        display: block;
    }

.dropdown-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

    .dropdown-item input[type="checkbox"] {
        margin-right: 10px;
        width: 16px;
        height: 16px;
    }

.dropdown-icon {
    margin-left: 10px;
}

.col-12 {
    margin-top: 5px;
}

.accordion-item {
    border: solid 1px var(--bs-accordion-border-color) !important;
    border-radius: 5px !important;
    margin: 10px 0px;
}

.accordion-button {
    background-color: #F7F7F7;
    border-bottom: 1px solid var(--bs-accordion-border-color) !important;
}

    .accordion-button:hover, .accordion-button:active {
        border-color: none !important;
        box-shadow: none;
    }

    .accordion-button:not(.collapsed) {
        background-color: none;
        box-shadow: none;
    }

.contact-card {
    /*border: 1px solid #e0e0e0;*/
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.contact-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

    .contact-logo img {
        max-width: 100%;
        max-height: 100%;
    }

.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.contact-type {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.contact-role {
    font-size: 14px;
    color: #333;
}

.contact-details {
    padding: 20px;
}

.details-section {
    margin-bottom: 20px;
}

    .details-section h3 {
        font-size: 16px;
        color: #333;
        margin-bottom: 10px;
        font-weight: bold;
    }

.details-item {
    margin-bottom: 15px;
}

.details-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 3px;
}

.details-value {
    font-size: 16px;
    color: #333;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #007a8c;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007a8c;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .action-btn:hover {
        background-color: #f0f8fa;
    }

    .action-btn img {
        width: 24px;
        height: 24px;
    }

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-method {
    display: flex;
    align-items: center;
    background-color: #eef6f7;
    padding: 8px;
    border-radius: 20px;
    text-decoration: none;
    color: #007a8c;
    font-size: 13px;
}

    .contact-method img {
        width: 16px;
        height: 16px;
    }

    .contact-method i {
        margin-right: 8px;
        font-size: 16px;
    }

    .contact-method:hover {
        background-color: #e0f0f2;
    }

.hide {
    display: none !important;
}
.contenedor-sinresultados {
    display: flex;
    justify-content: center; /* Centra la imagen horizontalmente */
    align-items: center; /* Centra la imagen verticalmente */
    height: 300px; /* Ajusta la altura del contenedor según lo que necesites */
    width: 100%; /* Asegura que el contenedor ocupe todo el ancho disponible */
    overflow: hidden;
}
.imagen-sinresultados {
    max-width: 100%; /* Ajusta la imagen al 100% del contenedor */
    max-height: 100%; /* Asegura que la imagen no se desborde en el alto */
    object-fit: contain;
}
@media(max-width:500px) {
    .data-container .personal-info {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
        font-size: 14px;
    }

    .personal-info p {
        font-size: 14px !important;
    }

    .data-container .personal-info .contact-info {
        display: grid;
        gap: 5px;
        justify-content: center;
        align-items: center;
        width: 100%;
        white-space: nowrap;
    }

    .data-container .info-button {
        height: 40px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-right: 90px;
        border: hidden;
        width: auto;
        display: flex;
        align-items: center;
        margin-right: 0;
    }

    .data-container .data-img img {
        margin: 0 auto;
        align-items: center;
        text-align: center;
        display: flex;
        width: 230px;
        height: 150px;
        margin-left: 10px;
    }

    .data-img {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
    }

        .data-img img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
        }

    .codigo-asesor {
        font-weight: bold;
        font-size: 14px;
        color: #333;
        margin-top: 5px;
        padding: 3px 10px;
        background: #f8f8f8;
        border-radius: 5px;
        display: inline-block;
        text-align: center;
        width: 100%;
        margin-left: 110px;
    }

    .data-container .icon {
        width: 24px; /* Ajusta el tamaño del icono */
        height: 24px;
        flex-shrink: 0; /* Evita que se reduzca */
    }

    data-container .contact-group {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap; /* Permite que se acomoden en móviles */
        height: 42px;
        width: 270px;
    }

    .contact-group .icon {
        width: 32px !important;
        height: 32px;
    }
}
/*Datatables.js*/
/* Eliminar bordes de la tabla y las celdas */
table.dataTable {
    border: none !important;
}

    table.dataTable th,
    table.dataTable td {
        border: none !important;
    }

    /* Quitar color de fondo en filas */
    table.dataTable tr {
        background-color: transparent !important;
    }

        /* Quitar color de fondo al pasar el cursor */
        table.dataTable tr:hover {
            background-color: transparent !important;
        }

    /* Quitar color de fondo de encabezados */
    table.dataTable thead th {
        background-color: transparent !important;
    }

    /* Quitar color de fondo del pie de tabla */
    table.dataTable tfoot th {
        background-color: transparent !important;
    }
    table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
        background-color: transparent !important;
    }
    table.dataTable.order-column tbody tr > .sorting_1, table.dataTable.order-column tbody tr > .sorting_2, table.dataTable.order-column tbody tr > .sorting_3, table.dataTable.display tbody tr > .sorting_1, table.dataTable.display tbody tr > .sorting_2, table.dataTable.display tbody tr > .sorting_3 {
        background-color: transparent !important;
    }
    table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
        background-color: transparent !important;
    }
    table.dataTable tbody th, table.dataTable tbody td {
        padding: 0px;
    }
.dataTables_wrapper .dataTables_paginate {
    float: none !important;
    text-align: center !important;
}
table.dataTable {
    width: 100% !important;
}
.dataTables_filter {
    float: none !important;
    text-align: inherit !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dataTables_wrapper .dataTables_filter input {
    width: 100% !important;
    display: block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 10px 0px 0px 10px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
.dataTables_wrapper .dataTables_filter input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 2px solid var(--primary_50);

}
.dataTables_filter label {
    width: 100% !important;
    margin: 0;
    display: flex;
    align-items: center;
}

.accordion-button::after {
    background-color: #E7EBED;
    border-radius: 20px;
    padding: 15px;
    background-position: center;
    color: #086378;
}
a.paginate_button.current {
    background: #074a59 !important;
    border: none !important;
    color: white !important;
}

a.paginate_button:hover {
    background: rgba(29, 133, 156, 1) !important;
    color: white !important;
}

