@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url(Components/Base.css);
@import url(Components/Inputs.css);
@import url(Components/CustomComponents.css);

:root {
    --primary-100: #F0F8FF;
    --primary-200: #DCEEFE;
    --primary-300: #BEE0FE;
    --primary-600: #3DA0F7;
    --primary-700: #0A77D6;
    --text-primary: #1D2433;
    --text-secondary: #1D2433CC;
    --neutral-100: #F8F9FC;
    --neutral-200: #F1F3F9;
    --neutral-300: #E1E6EF;
    --danger: #E02D3C;
    --success: #08875D;
}

#hamburger-btn{
    color: #1D2433A6;
}

.bs-canvas-close {
    display: none;
}

#mobile-navbar {
    display: none;
}

.sticky-top {
    z-index: 20;
}

.bs-offset-main {
    transition: margin .4s ease-out;
    margin-left: 250px;
}

.bs-canvas-overlay {
    opacity: 0;
    z-index: -1;
}
 
.bs-canvas-overlay.show {
    opacity: 0.85;
    z-index: 1000;
}
 
.bs-canvas {
top: 0;
width: 250px;
z-index: 1010;
overflow-x: hidden;
overflow-y: auto;
}
 
.bs-canvas-left {
left: 0;
}
 
 
.bs-canvas-anim {
transition: all .4s ease-out;
-webkit-transition: all .4s ease-out;
-moz-transition: all .4s ease-out;
-ms-transition: all .4s ease-out;
}

@media (max-width: 768px) {

    .navbar {
        display: none;
    }

    #mobile-navbar {
        display: block;
    }

    .container1 {
        max-height: 95vh;
    }
    

    .footer .user {
        display: none;
    }

    #hamburger-btn {
        display: inline-block;
    }

    .bs-canvas-close {
        display: inline-block;
    }

    .bs-canvas {
        width: 0;
    }
    .bs-offset-main {
        margin-left: 0;
    }

}


body {
    overflow-y: auto;
    font-family: "Open Sans";
    font-weight: 700;
    color: var(--text-primary);
}

.bg-primary {
    background-color: var(--primary-100) !important;
}

.btn {
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
}

.btn-danger {
    background-color: var(--danger);
    border-color: var(--danger);
    /* border-radius: 8px; */
    /* font-size: 16px;
    font-weight: 600; */
    /* padding: 12px 16px; */
}

.btn-outline-primary {
    color: var(--text-primary);
    border: 1px solid var(--neutral-300);
}

.btn-outline-primary:hover {
    color: var(--text-primary);
    background-color: var(--primary-100);
    border: 1px solid var(--primary-300);
}

#sidebar-container {
    /* height: 100vh; */
    min-width: 250px;
    /* overflow-y: auto; */
    font-size: 14px;
}

.container1 {
    height: 100vh;
    overflow-y: auto;
}

#sidebar-container .logo {
    height: 56px;
}

#sidebar-container .menu {
    margin-top: 16px;
    padding: 0px 8px;
}

#sidebar-container .menu li {
    margin: 8px 0px;
    display: block;
}

#sidebar-container .menu li a {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    border-radius: 12px;
    padding: 10px 20px;
    align-items: center;
}

#sidebar-container .menu li a span {
    margin-right: 10px;
}

#sidebar-container .menu li a:hover {
    background-color: var(--primary-200);
}

#sidebar-container .menu li a .icon {
    color: var(--text-secondary);
    margin-right: 8px;
}

#sidebar-container .menu .active_menu a {
    background-color: var(--primary-200);
}

#sidebar-container .menu .active_menu a .icon {
    color: var(--primary-600);
}

#sidebar-container .menu .active_menu a .link_name {
    color: var(--primary-700);
}

#sidebar-container .footer .user {
    margin: 8px 0px;
    padding: 10px 20px;
    font-size: 12px;
}

#sidebar-container .footer .user img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

#sidebar-container .footer .user .info .mail {
    color: var(--text-secondary);
    font-weight: 400;
}

.navbar {
    border-bottom: 1px solid #E1E6EF;
}

#nav-icon {
    color: #1D2433A6;
    font-size: 32px;
}

.nav-text {
    color: var(--text-secondary);
    font-size: 20px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50px;
    object-fit: cover;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    position: absolute;
    bottom: 8px;
    right: 0;
    border: 1px solid #FFF;
    background-color: var(--success);
}

.welcome {
    height: 80vh;
}

.welcome_msg_p {
    font-size: 36px;
}

.nav-tabs {
    border-bottom: 1px solid var(--neutral-300);
}

.nav-tabs .nav-item .nav-icon {
    font-size: 20px;
}

.nav-tabs .nav-item .nav-link {
    border-radius: 8px 8px 0px 0px;
    border: 1px solid var(--neutral-300);
    background-color: var(--neutral-100);
    color: var(--text-secondary);
    font-weight: 600;
}

.nav-tabs .nav-item .nav-link:hover {
    background-color: var(--neutral-300);
    color: var(--text-primary);
}

.nav-tabs .nav-item .nav-link.active {
    background-color: #FFFFFF;
    border-bottom: none;
    color: var(--text-primary);
}

.nav-tabs .nav-item .badge {
    background-color: var(--primary-700) !important;
    color: #FFFFFF;
}

.pagination {
    border-radius: 8px;
    /* border: 1px solid var(--neutral-300, #E1E6EF); */
    /* background: var(--neutral-300, #E1E6EF); */
}

.page-link {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 48px;
    border: 1px solid var(--neutral-300);
}

.btn-group, .btn-group span {
    color: var(--text-primary);
    font-size: 16px;
}

.page-link:hover {
    color: var(--text-primary);
    background-color: var(--neutral-300);
}

.pagination .page-link span{
    font-size: 16px;
    /* font-weight: 600;
    color: var(--text-primary); */
}

.date {
    font-size: 16px;
    font-weight: 600;
}

/* .table {
    color: var(--text-primary);
    border-bottom: 1px solid var(--neutral-300);
} */

.table tbody tr {
    height: 57.66px;
}

#tablaProcedimientos tr {
    border-bottom: 1px solid var(--primary-300, #BEE0FE);
}

table.dataTable tbody td {
    vertical-align: middle;
}

table.dataTable>thead>tr>th {
    border-bottom: 1px solid var(--primary-300);
    border-top: none;
    background-color: var(--primary-100);
    font-weight: 600;
}

table.dataTable.no-footer {
    border-bottom: 1px solid var(--neutral-300);
}

#tablaPacientes tbody tr:hover td:nth-child(1),
#tablaPacientes tbody tr:hover td:nth-child(2),
#tablaProcedimientos tbody tr:hover,
#tablaProcedimientosPacientes tbody tr:hover,
#tablaListaPacientes tbody tr:hover,
#tablaEstados tbody tr:hover,
#tablaSeleccionSecretaria tbody tr:hover,
#tablaFiltroSecretaria tbody tr:hover,
#tablaARS tbody tr:hover,
#tablaReporteMedico tbody tr:hover,
#tablaSeleccionGestor tbody tr:hover,
#tablaFiltroGestor tbody tr:hover,
#tablaCitasPaciente tbody tr:hover,
#tablaHistorialExterno tbody tr:hover,
#tablaVisitadores tbody tr:hover td:nth-child(1),
#tablaVisitadores tbody tr:hover td:nth-child(2),
#tablaVisitadores tbody tr:hover td:nth-child(3){
    background-color: var(--neutral-100);
    cursor: pointer;
}

/* .table thead th {
    border-bottom: 1px solid var(--primary-300);
    border-top: none;
    background-color: var(--primary-100);
    font-weight: 600;
} */

.table td {
    font-weight: 400;
    border-top: none;
    border-bottom: 1px solid var(--primary-200);
}

/* DATATABLE PRINCIPAL */

#tablaPrimary td.dataTables_empty {
    background-color: var(--neutral-100);
    color: var(--text-secondary);
    font-weight: 600;
    height: 45vh;
}

#tablaPrimary tbody tr:hover {
    background-color: var(--neutral-100);
    cursor: pointer;
}

#tablaPrimary_info {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 400;
}


/* DATATABLE PACIENTES EN MEDICOS */

#tablaPacientes tbody td:nth-child(3) {
    display: none;
}

#tablaPacientes tbody tr:hover td:nth-child(3) {
    display: table-cell;
    border-bottom: none;
}

#tablaPacientes td.dataTables_empty {
    background-color: var(--neutral-100);
    color: var(--text-secondary);
    font-weight: 600;
    height: 45vh;
}

#tablaProcedimientos tbody td:nth-child(4) a,
#tablaProcedimientos tbody td:nth-child(5) button,
#tablaProcedimientos tbody td:nth-child(6) button,
#tablaEstados tbody td:nth-child(4) a,
#tablaSeleccionSecretaria tbody td:nth-child(5) a,
#tablaFiltroSecretaria tbody td:nth-child(4) button,
#tablaARS tbody td:nth-child(4) a,
#tablaSeleccionGestor tbody td:nth-child(5) a,
#tablaFiltroGestor tbody td:nth-child(4) button,
#tablaVisitadores tbody td:nth-child(4) a,
#tablaHistorialExterno tbody td:nth-child(4) button,
#tablaHistorialExterno tbody td:nth-child(4) a{
    display: none;
}

#tablaProcedimientos tbody tr:hover td:nth-child(4) a,
#tablaProcedimientos tbody tr:hover td:nth-child(5) button,
#tablaProcedimientos tbody tr:hover td:nth-child(6) button,
#tablaEstados tbody tr:hover td:nth-child(4) a,
#tablaSeleccionSecretaria tbody tr:hover td:nth-child(5) a,
#tablaFiltroSecretaria tbody tr:hover td:nth-child(4) button,
#tablaARS tbody tr:hover td:nth-child(4) a,
#tablaSeleccionGestor tbody tr:hover td:nth-child(5) a,
#tablaFiltroGestor tbody tr:hover td:nth-child(4) button{
    display: table-cell;
    /* border-bottom: none; */
}

#tablaVisitadores tbody tr:hover td:nth-child(4) a,
#tablaVisitadores tbody tr:hover td:nth-child(4) button,
#tablaHistorialExterno tbody tr:hover td:nth-child(4) a,
#tablaHistorialExterno tbody tr:hover td:nth-child(4) button{
    display: inline-block;
}

#tablaProcedimientos .descripcion{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.confirm-pausar {
    padding: 10px;
    color: #FFF;
    border-radius: 8px;
}

.confirm-pausar:hover {
    color: #FFF;
}

.confirm-pausar span {
    font-size: 20px;
}

/* #tablaPacientes_info,
#tablaProcedimientos_info {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 400;
} */

.dataTables_info {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 400;
}

.dataTables_wrapper .dataTables_paginate {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 300;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 4px;
    border: none;
    background-color: var(--neutral-200);
    margin-right: 8px;
    margin-bottom: 8px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: #FFF !important;
    background-color: var(--primary-700);
    border: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: var(--neutral-300);
    background: var(--neutral-300);
    border: none;
    color: var(--text-secondary) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background-color: var(--primary-700);
    border: none;
}

.modal-title {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
}

.modal-header .icon {
    border-radius: 100px;
    width: 32px;
    height: 32px;
}

.modal-header .icon.warning {
    background: var(--warning-100, #FFF8EB);
    color: #B25E09;
}

.modal-header .icon.primary {
    background: var(--primary-100);
    color: var(--primary-700);
}

.modal-header .icon.danger {
    background: #FEF1F2;
    color: var(--danger);
}

.modal-header .icon.success {
    background: #EDFDF8;
    color: var(--success);
}

.modal-header .icon span {
    font-size: 20px;
}

.modal-content {
    border-radius: 8px;
}

.modal-body {
    font-weight: 400;
}

.modal-footer {
    border-top: none;
}

.modal-body p {
    color: var(--text-secondary);
    font-weight: 300;
}

.modal-body form label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
}

.modal-body form textarea,
.modal-body form select {
    resize: none;
    border-radius: 8px;
    border: 1px solid var(--neutral-300, #E1E6EF);
}

.form-control {
    border-radius: 8px;
    border: 1px solid var(--neutral-300);
}

.btn-primary {
    background-color: var(--primary-700);
}

.badge-primary {
    background-color: var(--primary-700);
}


#moreDetailModal .modal-header {
    border-bottom: none;
}

#moreDetailModal .info {
    margin-bottom: 32px;
}

#moreDetailModal h6 {
    font-weight: 700;
    font-size: 14px;
}

#moreDetailModal p {
    font-weight: 400;
    font-size: 16px;
}

form label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
}

#tablaProcedimientosPacientes td.dataTables_empty,
#tablaListaPacientes td.dataTables_empty {
    background-color: var(--neutral-100);
    color: var(--text-secondary);
    font-weight: 600;
    height: 50vh;
}

.image-upload {
    border: 1px solid rgba(145, 158, 171, 0.32);
    position: relative;
    margin-bottom: 35px;
    border-radius: 5px;
}

.image-upload:hover {
    background: #f5f5f5;
}

.image-upload input[type=file] {
    width: 100%;
    opacity: 0;
    height: 100px;
    position: relative;
    z-index: 9;
    cursor: pointer;
}

.image-upload .image-uploads {
    text-align: center;
    width: 100%;
    padding: 20px 0;
    border-radius: 5px;
    position: absolute;
    top: 0;
}

.image-upload .image-uploads h4 {
    font-size: 14px;
    font-weight: 500;
    color: #212B36;
}

.image-upload.image-upload-new input[type=file] {
    height: 258px;
}

.image-upload.image-upload-new .image-uploads {
    height: 100%;
    flex-direction: column;
}

.selected-image {
    display: none;
    background-size: cover;
    width: 100%;
    height: 300px;
}

.dropdown, .dropdown-item {
    border-bottom: 1px solid var(--primary-300);
}