/* FONTES */
@font-face {
    font-family: ArchivoBlack;
    src: url(fonts/ArchivoBlack-Regular.ttf);
}

@font-face {
    font-family: Vina-Sans;
    src: url(fonts/VinaSans-Regular.ttf);
}

/* FILTROS PARA CORES DOS SVG */
.f-wgreen {
    filter: invert(66%) sepia(83%) saturate(499%) hue-rotate(83deg) brightness(92%) contrast(79%);
}

.f-green {
    filter: invert(25%) sepia(99%) saturate(4224%) hue-rotate(110deg) brightness(92%) contrast(107%)
}

.f-blue {
    filter: invert(31%) sepia(99%) saturate(1305%) hue-rotate(192deg) brightness(91%) contrast(91%);
}

.f-calendarRed {
    filter: invert(39%) sepia(70%) saturate(685%) hue-rotate(319deg) brightness(99%) contrast(81%);
}

.f-red {
    filter: invert(15%) sepia(98%) saturate(6755%) hue-rotate(360deg) brightness(100%) contrast(116%);
}

.f-comercial-green {
    filter: invert(38%) sepia(77%) saturate(1617%) hue-rotate(118deg) brightness(94%) contrast(83%);
}

.f-brown {
    filter: invert(33%) sepia(65%) saturate(491%) hue-rotate(354deg) brightness(100%) contrast(86%);
}

.f-yellow {
    filter: invert(81%) sepia(10%) saturate(5806%) hue-rotate(2deg) brightness(107%) contrast(102%);
}

.f-numerama {
    filter: invert(47%) sepia(37%) saturate(1853%) hue-rotate(352deg) brightness(103%) contrast(95%);
}

.f-grey {
    filter: invert(50%) sepia(6%) saturate(5%) hue-rotate(314deg) brightness(100%) contrast(89%);
}

.f-grey-null {
    filter: invert(50%) sepia(5%) saturate(1619%) hue-rotate(176deg) brightness(92%) contrast(87%);
}

.border-12 {
    border-radius: 12px !important;
}

.green-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #25D366; /* Vibrant green */
  border-radius: 50%;        /* Makes it a circle */
  margin-right: 6%;
}

.display-none {
    display: none !important; 
}

.numerama-blue {
    color: #2563EB;
}

#clock {
    display: flex;
    align-items: center;
}

#last-update-container {
    display: flex;
    flex-direction: row-reverse;
    border-right: 1px solid black;
}

h2, h3, h4 {
    color: #1E293B;
}

.main {
    background-color: #F3F6FA;
    padding-top: 5% !important;
}

.cc-border-blue {
    border-top: #2563EB 5px solid !important;
}

.cc-border-grey {
    border-top: grey 5px solid;

}

.cc-border-green {
    border-top: #25D366 5px solid;
}

.cc-border-red {
    border-top: red 5px solid;
}

.card {
    border-radius: 10px;
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
}

.icon-size {
    height: 70%;
    width: 70%;
    margin-bottom: 50%;
}

.icon-size-grupo {
    width: 60%;
}

.card-title {
    font-size: 35px;
    font-weight: 700;
    color: #1E293B;
}

.card-body p {
    color: #64748B
}

select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232563EB' stroke-linecap='round' stroke-linejoin='round' stroke-width='5' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    color: #2563EB !important;
    font-weight: bold !important;
}

.linha-2 {
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    /* padding-bottom: 15px; */
}

.card-deck {
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding-bottom: 10px;
}

.card-deck-holder {
    width: fit-content; 
    background-color: white;
    height: 100%;
}

.card-agente {
    color: #64748B;
    background: #F8FAFC;
    border-radius: 10px;
}

.quantidade {
    font-size:34px;
}

.com-chamados {
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.com-chamados p {
    color: black;
}

.com-chamados .quantidade {
    color: #2563EB;
    font-weight: 700;
}

.sem-chamados .quantidade {
    color: #94A3B8;

}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-center small {
    font-weight: 700;
}

.size-40 {
    height: 40% !important;
}

.card-group {
    width: 150px;
    /* max-width: 190px; */
    height: 70%; 
}

.card-chat {
    height: 160px;
}

.col-chat {
    margin: 0;
}

.mt-2 {
    margin-left: 1.5%;
}

.card-title {
    white-space: nowrap;
}


.linha-3 {
    margin-top: 1.5%;
}

.important-data {
    margin-top: 2%;
    /* margin-bottom: 12%; */
}

#daily-data div {
    background: white;
} 

.chat-data-table {
    width: 100%;
    text-align: center;
}

.min-daily-data {
    min-height: 100px !important;
}



.min-graph {
    height: 210px !important;
}

.size-65 {
    height: 65%;
}

.size-50 {
    height: 50%;
}

.linha-4 {
    margin-top: 1%;

}

.title {
    margin-top: 1.1%;
    margin-bottom: 1.1%;
    margin-left: 2%;
    font-size:large;
}

.fs-2 {
    color: #007bff;
}

li.nav-item {
    margin-left: 5%;
}

a.nav-link {
    font-size: medium;
}

a.nav-link.active:hover {
     text-shadow: 0px 0px 1px black;
}

a.nav-link.inactive:hover {
    color: grey;
    pointer-events: none;
}

#table-chamados-dia-body tr td {
    background-color: inherit;
    color: inherit;
    font-size: calc(100% - 3px);
}



/* GRUPOS CSS */
.grupo-suporte {
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.grupo-suporte h5 {
    color: #2563EB;
}

.grupo-suporte p > small {
    color: #2563EB;
    white-space: nowrap;
}

.grupo-financeiro {
    background: #FFFBEB;
    border-color: #FDE68A;
}

.grupo-financeiro h5 {
    color: #B08E06
}

.grupo-financeiro p > small {
    color: #B08E06
}

.grupo-comercial {
    background: #F0FDF4;
    border-color: #BBF7D0;
}

.grupo-comercial h5 {
    color: #16A34A;
}

.grupo-comercial p > small {
    color: #16A34A;
}

.grupo-implementacao {
    background: #FFF7ED;
    border-color: #FED7AA;
}

.grupo-implementacao h5 {
    color: #F97316;
}

.grupo-implementacao p > small {
    color: #F97316;
}

.sem-grupo {
    background: #f0efef;
    border-color: #c6c7c9;
}

.sem-grupo h5, p > small {
    color: #69798f;
}

#primeiro-fila {
    color: red !important;
}

/* CHAMADAS CSS */

#waiting-list td {
    background-color: inherit;
    font-size: calc(100% - 3px);

}

.chamados-green {
    background-color: #F0FDF4;
    color: black;
    border-left:#16A34A 5px solid;
}

.chamados-green #tempo {
    color: #16A34A;
    font-weight: bold;
}

.chamados-orange {
    background-color: #FFFBEB;
    color: black;
    border-left: #ff9d2c 5px solid;
}

.chamados-orange #tempo {
    color: #D97706;
    font-weight: bold;

}

.chamados-red {
    background-color: #FEF2F2;
    color: black;
    border-left: #DC2626 5px solid;
}

.chamados-red #tempo {
    color: #DC2626;
    font-weight: bold;
}

#cliente {
    overflow: hidden;
    width: 38%;
    text-overflow: ellipsis;
    line-clamp: 2;
}

#agente {
    width: 15% !important;
}

#grupo {
    width: 16% !important;
    text-align: center;
}

#inicio {
    width: 10% !important;
    text-align: left;
}

#tempo {
    width: 10% !important;
    text-align: center;
}





/* CHAT DATA CSS */

.periodo-att {
    width: auto;
    margin-top: 2%;
    margin-left: 2%;
}

.main-data {
    border-color: #E2E8F0 !important;
    background-color: white;
    padding: 4%;
}

#table-conversa tr td {
    color: inherit;
    background-color: inherit;
    /* font-size: calc(100% - 5px); */
}

#table-atendimento tr td {
    color: inherit;
    background-color: inherit;
    width: 16%;
    /* font-size: calc(100% - 5px); */
}

.chat-data-table thead tr {
    background-color: #e8e8ec;
}

.chat-data-table thead th {
    background-color: inherit;
}


.agent-row-no-data {
    color:#94A3B8 !important;
}

.agent-row-data {
    color: black !important;
    background-color: white;
}

td#agente-nome {
    text-align: left;
}

/* MOST CHATS AND MOST HOURS */
 
.select-most {
    margin-left: 2%; 
    margin-bottom: 1%; 
    width: fit-content; 
    padding: 0.8%; 
    background-color: white;
    display: flex;
    align-items: center;
}

.select-most label {
    font-weight: bold;
}

.select-most select {
    margin-left: 5%;
}


/* Até 60 minutos: verde — fundo #F0FDF4, destaque #16A34A.
De 61 a 150 minutos: laranja — fundo #FFFBEB, destaque #D97706.
Acima de 150 minutos: vermelho — fundo #FEF2F2, destaque #DC2626. */


/* MAIS HORAS E CHAMADAS CSS */

.primeiro-colocado {
    background: #2563EB !important;
    border-radius: 50%;
    color: white !important; 
    font-weight: 900;
    height: 30px;
    width: 30px;
}

.segundo-colocado {
    background: #BFDBFE80 !important;
    border-radius: 50%;
    color: #2563EB !important;
    font-weight: 800;
    height: 30px;
    width: 30px;

}

.terceiro-colocado {
    background: #e8e8ec80 !important;
    border-radius: 50%;
    color: black !important;
    font-weight: bold;
    height: 30px;
    width: 30px;
}

#t-mais-chamadas td {
    font-size: calc(100% - 2px);
}

#t-mais-chamadas td {
    vertical-align: bottom;
}

#table-clientes-mais-horas td {
    font-size: calc(100% - 2px);
}

#table-clientes-mais-horas th {
    vertical-align: bottom;
}

td#num-ch{
    color: #2563EB;
    font-weight: 700;
    vertical-align: middle !important;
}

td#total-h{
    color: #D97706;
    font-weight: 700;
    vertical-align: middle !important;
}

th#num-ch, th#total-h, th#tempo-total, th#mais-antigo {
    text-align: center;
    vertical-align: bottom;
}

td#cell-n {
    vertical-align: middle;
    text-align: center;
}

td#num-ch, td#total-h, td#tempo-total, td#mais-antigo {
    text-align: center;
    width: 15%;
    vertical-align: middle;
}

td#nome {
    width:60%;
}



/* EVOLUÇÃO E GRUPOS CSS */
.charts-5 {
    border-left-color: #E2E8F0 !important;
    border-right-color: #E2E8F0 !important;
    border-bottom-color: #E2E8F0 !important;
    border-radius: 12px;
}

/* MAIOR PRODUTIVIDADE */
.maior-produtividade {
    padding: 2%;
    height: 100%;
    width: 90%;
    display: flex;
    align-items: center;
    margin-top: 6%;
    margin-bottom: 3%;
    border: #83ace2 2px solid;
    border-radius: 12px;
    background-color: #F0FDF4; 
}

.minor-title h6 {
    font-weight: 700;
}

#nome-tecnico, #menor-tempo-medio {
    color: green;
    font-size: calc(100% * 1.2)
}

#maior-tempo-medio {
    font-size: calc(100% * 1.2);
    color: #F97316;

}

.produtividade-container {
    display: flex;
    justify-content: center;
}

.tempo-setor {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mais-horas {
    padding: 2%;
    height: 100%;
    width: 90%;
    display: flex;
    align-items: center;
    margin-top: 1%;
    border: #ffe26d 2px solid;
    border-radius: 12px;
    background-color: #FFFBEB; 
}

.menos-horas {
    padding: 2%;
    height: 100%;
    width: 90%;
    display: flex;
    align-items: center;
    margin-top: 6%;
    margin-bottom: 2%;
    border: #72fe9c 2px solid;
    border-radius: 12px;
    background-color: #F0FDF4; 

}

.select-container-grupos {
    display: inline;

}

.form-select {
    width: fit-content;
    display: inline;
}