@import url('boot.css');
@import url('../plugins/bootstrap/css/bootstrap.min.css');
@import url('../font/font-awesome/css/all.min.css');

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
*{
    padding: 0px;
    margin: 0px;
}


:root {
    --primary: #0A5AFF;
    --secondary: #002A90;
    --info: #00FFFF;
    --danger: #FF6450;
    --light: #f6f6f6;
    --success: #AFFF0A;
    --success2: #128C7E;
    --warning: #FFB30A;
    --yellow: #FFE50A;

    --border-radius: 15px;
}

::placeholder{
    color: #BBB9CB;
}

.bg-primary{ background-color: var(--primary) !important; }
.badge-primary{ background-color: var(--primary) !important; }
.text-primary{ color: var(--primary) !important; }


.btn-primary{
    border-color: var(--primary);
    background: var(--primary);
}
.btn-outline-primary{
    border: 2px solid #E0DDF6;
    color: var(--primary);
}

.btn-secondary{
    border-color: var(--secondary);
    background: var(--secondary);
}
.btn-secondary:hover{
    border-color: var(--primary);
    background: var(--primary);
}
.btn-outline-secondary{
    border: 2px solid #E0DDF6;
    color: var(--secondary);
}
.text-secondary{ color: var(--secondary) !important; }

html{
    font-size: 16px;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    position: relative;
    background: transparent;
}

:target {
    scroll-margin-top: .8em;
}

body{
    font-size: 1rem;
    line-height: 1.4rem;
    height: 100%;
    font-weight: 400;
    z-index: 0;
    position: relative;
    background-color: #fff;
    color: #04103B;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

a{
    color: #04103B;
}
a:hover{
    color: #04103B;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6{
    margin: 0px;
    font-weight: 400;
    letter-spacing: -0.4px;
    /*font-family: "Work Sans", sans-serif;*/

}
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong,
.h1 strong, .h2 strong, .h3 strong, .h4 strong, .h5 strong, .h6 strong {
    font-weight: 700;
}

small{
    font-size: 0.8rem;
    line-height: 1.2em;
}

.btn{
    font-size: 0.875rem;
    line-height: 24px;
    border-radius: 4px;
    padding-left: 16px;
    padding-right: 16px;
    font-weight: 500;
    height: 40px;
}


.max-line-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.max-line-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.max-line-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/*REMOVE AS MARGINS NO MOBILE*/
@media (max-width: 576px) {
    .mobile-no-margin {
        margin-right: -14px !important;
        margin-left: -14px !important;
        border-radius: 0px !important;
        border-left: 0px !important;
        border-right: 0px !important;
        overflow-x: hidden !important;
    }
}


.sidebar{
    width: 271px;
    flex-shrink: 0;
    background: #04103B;
    color: #fff;
    padding: 20px 24px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 6;
}
.sidebar-menu ul {
    width: 100%;
    margin-top: 15px;
    list-style: none;
}
.sidebar-menu ul li{
    margin-bottom: 12px;
}
.sidebar-menu ul li a{
    width: 100%;
    display: flex;
    flex-direction: row;
    font-size: 1rem;
    padding: 12px 14px;
    font-weight: 500;
    line-height: 20px;
    gap: 10px;
    color: rgba(14, 16, 37, 0.60);
    border-radius: 5px;
    color: #fff;
}
.sidebar-menu ul li a i{
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
}

.sidebar-menu ul li a.active{
    color: #04103B !important;
    background-color: #fff;
    font-weight: 700;
}

@media (max-width: 768px){
    .sidebar{
        display: none;
    }
}


main{
    flex: 1 1 auto;
    min-width: 0;
    height: 100vh;

    overflow-y: auto;   /* rolagem vertical interna */
    -webkit-overflow-scrolling: touch;
}

.main-content{
    /*padding-top: 30px;
    padding-bottom: 30px;*/
    padding: 15px;
}

.navbar{
    margin-bottom: 15px;
}

@media(max-width: 576px){
   .navbar{
       position: fixed;
       box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
       top: 0;
       right: 0;
       left: 0;
       z-index: 1030;
       display: flex;
       background: #fff;
   }
    .navbar .header-usuario-link img{
        width: 30px;
        height: 30px;
    }
    .main-content{
        padding-top: 80px;
    }
}

main h1,
.navbar h1{
    font-weight: 700;
    font-size: 2rem;
}
.navbar .dropdown-menu-head .avatar img{
    width: 40px;
    height: 40px;
}

.card-dashboard{
    border: 0px;
    border-radius: 12px;
    background: #EBF3FE;
}
.card-dashboard .card-body{
    padding: 40px;
}
.card-dashboard h2{
    font-weight: 700;
    color: #04103B;
    font-size: 1.31rem;
}
.card-dashboard .saldo{
    font-weight: 700;
    color: #04103B;
    font-size: 1.31rem;
}

.card-dashboard-lista{
    border-radius: 12px;
}


.page-title .title{
   font-size: 1.6rem;
}
.page-title .title strong{
    font-weight: 700;
}
.page-title h2{
    font-size: 1.4rem;
    font-weight: 700;
}


.card-atendimento{
    border-radius: 15px;
    border: 1px solid #EBE8FF;
    background: #FFF;
}
.card-atendimento .card-body{
    padding: 15px;
}



.card-especialidades{
    position: relative;
    margin-top: 15px;
    border-radius: 15px;
}
.card-especialidades:before{
    background-image: url(../img/todas-espec2.png) ;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    position: absolute;
    width: 50%;
    height: calc(100% + 16px);
    top: -13px;
    right: 0px;
    z-index: 1;
}
.card-especialidades-laboratorio:before{
     background-image: url(../img/exames1.png) !important;
}
.card-especialidades .card-body{
    padding: 20px 28px 20px 28px;
    color: #fff;
}
.card-especialidades .card-title{
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.bg-secondary {
    background-color: #002A90 !important;
}
.bg-primary {
    background-color: #0A5AFF !important;
}


.saldo-extrato{
    border: 1px solid #eee;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}
.saldo-extrato strong{
    font-weight: 700;
    font-size: 1.4rem;
    margin-left: 8px;
}


.card-atendimento-table{
    overflow: hidden;
}
.card-atendimento-table table{
    margin-bottom:0px;
}
 .dt-layout-cell.dt-layout-full {
        border: 1px solid #ddd;
        border-radius: 12px;
        overflow: hidden;
    }
    .dataTable{
        border: 0px !important;
    }
    .card-atendimento-table th,
    .dataTable th{
        font-size: 0.875rem;
	    text-wrap: nowrap;
        color: #71717A;
        font-weight: 500;
        border-top: 0px !important;
    }
.card-atendimento-table td,
    .dataTable td{
        font-size: 0.875rem;
        vertical-align: middle;
    }
.dataTable td strong{
    font-weight: 600 !important;
}
.dataTable td .avatar{
   border-radius: 50%;
}
    .badge-black{
            padding: 4px 12px;
        font-weight: 400;
        font-size: 12px;
        color :#fff;
        background: #0f172A;
        border-radius: 15px;
    }



.dataTable .dropdownLink>.btn{
    border: 1px solid #d4e1e3;
    color: #738689;
    padding: 0.3rem 0.75rem;
}

.dataTable .dropdown-menu{
    padding: 0px;
    border: 1px solid #f7f3f3;
    border-radius: 8px;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}
.dataTable .dropdown-menu a{
    font-weight: 600;
    font-size: 0.86rem;
    padding: 0.5rem 1rem;
}
.dataTable .dropdown-menu a i{
    margin-right: 4px;
}

.form-group label{
     margin-bottom: 2px;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group select.form-control,
.form-group input.form-control{
    border-radius: 8px;
    border: 1px solid #d9d2d4;
    background: #FFF;
    height: 38px;
    font-size: 0.875rem;
    box-shadow:  0 1px 2px 0 #0000000d;
}


.form-group textarea.form-control{
    border-radius: 8px;
    border: 1px solid #d9d2d4;
    background: #007bff08;
    font-size: 0.875rem;
    min-height: 38px;

}
.form-group .input-group{
    box-shadow:  0 1px 2px 0 #0000000d;
    border-radius: 8px;
    border: 1px solid #d9d2d4;
    overflow: hidden;
}
.form-group .input-group .input-group-text{
    background: #fff;
    border: 0px !important;
}
.form-group .input-group input[type=text]{
    border: 0px !important;
}


.nav-pills-perfil  .nav-link{
    background: #fff;
    border: 0px;
    font-weight: 600;
    padding: 12px 1rem;
    border-radius: 8px;
}

.nav-pills-perfil .nav-link.active, .nav-pills-perfil .show>.nav-link{
    background: #f4f4f5;
    color: #000
}

.card-perfil{
    border-radius: 8px;
}


.nav-link-pagamento{
    text-align: center;
    width: 138px;
    min-height: 80px;
    padding: 15px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #E2E8F0;
    margin-right: 15px;
    color: #020617 !important;
}
.nav-link-pagamento span{
    display: block;
    font-size: 0.87rem;
    margin-top: 4px;
}
.nav-link-pagamento.active{
    border-color: #006DFF !important;
    background: #EBF0FE !important;
}

.atend-codigo{
    border:  2px dashed #ddd;
    border-radius: 15px;
    display: inline-block;
    padding: 16px 16px;
    text-align: center;
}
.atend-codigo span{
    font-size: 0.9rem;
}
.atend-codigo strong{
    font-size: 1.6rem;
    margin-top: 4px;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef !important;
    opacity: 1;
}

.datepicker td,
.datepicker th {
    width: 30px !important;
    height: 30px !important;
    font-size: 14px;
}


.card-totalizadores{
    border-radius: 15px;
    border: 1px solid #D3CBFB;
}
.card-totalizadores i{
    font-size: 1.2rem;
}
.card-totalizadores .valor{
    font-weight: 700;
    font-size: 2rem;
    margin-top: 12px;
}

.card-atendimentos{
    border-radius: 15px;
    border: 1px solid #D3CBFB;
}
.card-atendimentos .card-body{
    padding: 8px 12px;
}



/*COLORS*/

.badge2 {
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 8px;
    padding: 6px 12px;
}
.badge2.badge-primary{
    color: #5E88FE;
    background: #5e88fe36;
}
.badge2.badge-danger{
    color: #EF4444;
    background: #EF444436;
}
.badge2.badge-info{
    color: #0EA5E9;
    background: #0EA5E936;
}
.badge2.badge-success{
    color: #22c55E;
    background: #22c55E36;
}
.badge2.badge-warning{
    color: #F59E0B;
    background: #F59E0B36;
}

.avatarmin2{
    border-radius: 50%;
}

.card-cad-atendimento{
    border: 1px solid #D3CBFB;
    border-radius: 15px;
    overflow: hidden;
}
.btn-caixa {
    font-size: 13px;
    padding: 5px 10px;
}

tr.desativado td .text-muted,
tr.desativado td{
    background: #efefef;
    color: #aaa;
}


    .bootstrap-select>.dropdown-toggle{
        border: 1px solid #d9d2d4;
    }

#tituloLista .list-group-item{
    border: 1px solid #eee;
    border-radius: 15px;
}
#tituloLista .list-group-item:hover{
    background: #efefef;
}

.container-checkout{
    max-width: 780px;
}
.card-atendimento-cliente{
    border-radius: 15px;
}
.btn-caixa{
 height: 32px;
}

/*AJUSTE DROWPDWON DATATABLE*/

 .dt-layout-cell.dt-layout-full {
        border: 1px solid #ddd;
        border-radius: 12px;
        overflow: hidden;
    }
    .dataTable{
        border: 0px !important;
    }
    .dataTable th{
	      font-size: 15px;
	    text-wrap: nowrap;
        color: #71717A;
        font-weight: 500;
        border-top: 0px !important;
    }
    .table td,
    .dataTable td{
        font-size: 0.875rem;
        vertical-align: middle;
    }
.dataTable td strong{
    font-weight: 600 !important;
}
.dataTable td .avatar{
   border-radius: 50%;
}

    .table-responsive,
    .dataTables_scrollBody { overflow: visible !important; }

    .dt-scroll-body {
  overflow: visible !important;
}

.dt-scroll-body .dropdown-menu {
  position: absolute !important;
  z-index: 9999 !important; /* bem acima da dt-scroll-body */
}
.dt-layout-cell.dt-layout-full{
    overflow-y: auto;
}
.dt-paging .dt-paging-button{
    font-size: 0.875rem !important;
    border-radius: 8px !important;
}
/*AJUSTE DROWPDWON DATATABLE*/

/**
.badge-counter {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.75rem;
  transform: scale(0.9);
  transform-origin: top right;
}

.notif-menu {
  width: 320px;
  max-height: 400px;
  overflow: hidden;
}

.notif-list {
  max-height: 300px;
  overflow-y: auto;
}

.notif-item:hover {
  background-color: #f8f9fa;
}*/

.badge-counter {
  position: absolute;
    top: 0px;
    right: 5px;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    font-size: 11px;
    line-height: 11px;
  transform-origin: top right;
}

#openNotif{
    position: relative;
    font-size: 1.2rem;
}

/* Painel lateral */
.notif-sidebar {
  position: fixed;
  top: 0;
  right: -320px;        /* começa fora da tela */
  width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 6px rgba(0,0,0,0.2);
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 1055;        /* acima da navbar */
}
.notif-sidebar.open {
  right: 0;
}

/* Fundo escuro */
.notif-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1050;
}
.notif-overlay.show {
  opacity: 1;
  visibility: visible;
}
.notif-item{
    font-size: 0.9rem
}
.notif-item:hover {
  background-color: #f8f9fa;
  border-radius: 4px;
  text-decoration: none;
}



.form-filtro .input-group {
    background: #f3f3f378;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 #0000000d;
    border: 1px solid #d9d2d438;
}
.form-filtro .input-group-prepend .input-group-text{
    border: 0px;
    background: transparent;
}
.form-filtro .input-group .form-control{
    background: transparent !important;
    border: 0px !important;
    box-shadow: none !important;
    height: 38px;
    font-size: 0.875rem;
}


/**/
