@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');
@import url('https://fonts.googleapis.com/css2?family=Nunito');

body {
    font-family: 'Nunito', sans-serif;
    color: #000;
    margin: 50px 0 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

button {
    cursor: pointer;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #efefef;
}
  
::-webkit-scrollbar-thumb {
    background-color: #ccc;
} 
  

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    text-decoration: none;
    cursor: pointer;
}

h2 i.material-symbols-outlined {
    color: inherit;
    rotate: -90deg;
    transition: rotate .2s ease-in-out;
}

#buttons_header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px 5px 10px;
}

#buttons_header i {
    rotate: none;
    margin-right: 5px;
}

#buttons_header button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 5px 10px 5px 10px;
    border: none;
    border-radius: 5px;
    font-weight: 800;
    background-color: rgb(255,136,0);
    color: #fff;
}

header.conteudo {
    position: relative;
    top: 0;
    left: 0;
    padding: 10px;
    width: auto;
    background-color: rgb(9, 88, 179);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
    min-height: 46px;
    overflow-wrap: normal;
}

header.conteudo div.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

select, button, input, textarea {
    width: 140px;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 2px;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    margin: 2px;
}

input[type="radio"] {
    width: 15px;
    height: 15px;
}

h1 {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

main{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow-wrap: normal;
    position: absolute;
    top: 0;
    left: 0;
    line-height: normal;

}

body main div.section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    overflow: auto;
    overflow-wrap: normal;
    position: relative;
    scroll-behavior: smooth;
    flex: 1;
    
}

main div.section div.content {
    border: 1px solid #0000002c;
    border-radius: 5px;
    margin: 10px;
    padding: 20px;
    display: grid;
    grid-template-columns: 15fr 1fr;
    grid-template-rows: 1fr auto;
}

h2 {
    display: flex;
    justify-content: start;
    align-items: center;
    margin: 0 0 5px 0;
    width: fit-content;
    transition: color .2s ease-in-out;
}

h2:hover {
    color: rgba(255, 120, 0, 1);
    cursor: pointer;
}

div.content h2 {
    grid-area: 1 / 1 / 1 / 1;
    }

div.counter {
    grid-area: 1 / 2 / 1 / 2;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

div.counter span {
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000009;
    border-radius: 15px;
    font-weight: 800;
    font-size: 12px;
}

div.list {
    grid-area: 2 / 1 / 2 / 3;
    width: 100%;
    height: 0px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
    justify-content: center;
    overflow-x: auto;
    transition: height .5s ease-in-out;
}

div.lead {
    border: 1px solid #0000002c;
    border-radius: 5px;
    width: 45%;
    height: 180px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 155, 0, .1);
    padding: 20px;
    margin: 5px;
    transition: border .1s ease-in-out;
    /* overflow-x: auto; */
}

div.lead:hover {
    border: 1px solid rgba(255, 120, 0, 1);
}

div.resume {
    height: 100%;
    margin-right: 20px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
div.lead .data-values div {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    width: 100%;
}

div.lead .data-values div span, dialog div.resume-lead div.label span {
    display: inherit;
    justify-content: start;
    align-items: center;
    margin-right: 10px;
}

i.whatsapp {
    display: flex;
}

span.whatsapp {
    cursor: pointer;
    text-decoration: none;
    transition: text-decoration .5s ease-in-out;
}

span.whatsapp:hover {
    text-decoration: underline;
}

i.whatsapp::before {
    background-image: url(https://sdr.parreiraimoveis.com.br/svg/whatsapp.svg);
    content: '';
    width: 15px;
    height: 15px;
    margin-left: 5px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    text-align: center;
    align-items: center;
    align-items: center;
}



div.data-values {
    width: 70%;
}

div.data-values div {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    margin-bottom: 5px;
    padding-bottom: 5px;
}

div.data-values div:last-child {
    border: none;
}

main div.section img {
    height: 110px;
    width: 110px;
    cursor: pointer;
    transition: height .3s ease-in-out, width .3s ease-in-out;
}

main div.section img:hover {
    height: 120px;
    width: 120px;
}

dialog {
    outline: none;
    outline-style: none;
    outline-color: transparent;
}

dialog::backdrop {
    backdrop-filter: blur(5px);
    box-decoration-break: none;
    box-shadow: 10 10 1 #000;
}

dialog#loading {
    border: none;
    border-radius: 5px;
    width: 200px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    z-index: 10;
}

dialog.simple {
    z-index: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: max-content;
    width: 80vw;
    border: none;
    border-radius: 5px;
    overflow: hidden;
}

label {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    margin: 4px;
}

label select, label input {
    width: 350px;
}

dialog form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    width: 100%;
    height: 100%;
}

.simple .dlg_andamento, .dlg_andamento form {
    width: 100%;
}

div#radio {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

dialog.simple header {
    padding: 10px 20px 10px 20px;
    margin: 0;
    justify-content: start;
    width: 94%;
}

dialog.grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: .4fr 4fr;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 1;
    width: 85vw;
    height: 85vh;
    border: none;
    border-radius: 5px;
}

dialog.action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 1;
    width: fit-content;
    height: fit-content;
    border: none;
    border-radius: 5px;
}

dialog.action div {
    display: inherit;
    justify-content: center;
    align-items: center;
    flex-direction: inherit;
    gap: 10px;
}

dialog.action header, .action header div {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

dialog.action header {
    margin-bottom: 10px;
}

dialog.action div.section {
    display: flex;
    flex-direction: column;
}

dialog.action button {
    cursor: pointer;
    width: 100%;
}

.grid header {
    grid-area: 1/1/1/1;
    width: 100%;
}

dialog header div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

dialog h3 {
    padding: 0;
    margin: 0;
}

dialog.grid .dlg_div {
    grid-area: 2/1/2/1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex: 1;
} 

dialog.grid .dlg_div .content {
    padding: 5px;
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: .5fr 1.5fr;
    grid-template-rows: 3fr 1fr;
    justify-content: start;
    align-items: start;
    gap: 15px;
    overflow: auto;
}

dialog.grid footer {
    grid-area: 3 / 1 / 3 / 1;
    width: 100%;
    height: 100%;
}

dialog.simple .dlg_div {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: start;
    align-items: start;
    overflow: auto;
}

dialog img {
    width: 40%;
    justify-self: start;
    align-self: center;
}

dialog .resume-lead {
    grid-area: 1 / 1 / 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 100%;
    font-size: 12px;
    overflow-x: auto;
}

dialog .data-values-lead {
    grid-area: 1 / 2 / 3 / 2;
    background-color: #f5f5f5;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    border-radius: 5px;
    border: 1px solid #dfdfdf;
}

dialog .data-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: auto;
    /* padding: 20px; */
}

dialog div.label {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding-bottom: 5px;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

dialog div.label:last-child {
    border: none;
}

div#buttons_action {
    grid-area: 2/1/2/1;
    height: 100%;
    width: 100%;
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

dialog div#buttons_action button {
    width: 100%;
    height: 100%;
    font-family: 'Nunito', sans-serif;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 4px;
    cursor: pointer;
    transition: border .2s ease-in-out;
}

dialog div#a button:hover {
    border: 1px solid rgba(255, 120, 0, 1);
}

.data-list div {
    justify-self: center;
    align-self: flex-start;
    width: 100%;
    height: 100%;
}

dialog .list-action {
    display: flex;
    background-color: #fff3e7;
    margin: 10px;
    width: auto;
    height: auto;
    padding-right: 25px;
    border: 1px solid #3e3e3e;
    border-radius: 5px;
}

.dlg_andamento {
    display: flex;
}

dialog[name="andamento_button"] {
    z-index: 3;
}

/* Estilização do filtro */
div#filtro {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    display: grid;
    grid-template-rows: auto 3em;
}

@keyframes f-show {
    0% {
        opacity: 0;
        z-index: 10;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}
@keyframes f-close {
    100% {
        z-index: -10;
        opacity: 0;
        display: none;
    }
    50% {
        opacity: .5;
    }
    from {
        opacity: 1;
        z-index: 1;
    }
}

#filtro.acima {
    animation: f-show .1s ease forwards;
}

#filtro.abaixo {
    animation: f-close .1s ease forwards;
}

div.f_header {
    /* position: relative; */
    border-bottom: 2px solid rgb(9, 88, 179);
}

div.block {
    display: block;
    height: 100%;
    overflow-y: auto;
}

div.flex {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
}

fieldset {
    border-radius: 4px;
    border: 3px solid rgba(0, 0, 0, .1);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 25px;
}

legend {
    font-weight: 800;
    color: rgb(9, 88, 179);;
}

div.input_box {
    position: relative;
    min-width: 200px;
}

div.input_box input,
div.input_box button,
div.input_box select {
    /* background-color: #ccc; */
    padding: 5px;
    width: 100%;
    height: auto;
    margin: 0;
    outline: none;
    outline-style: none;
    outline-color: transparent;
}

div.input_box input {
    border: none;
    border-radius: 0;
    border-bottom: 1.2px solid rgb(0, 0, 0);
    transition: border-bottom .4s ease-in-out;
    /* transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1); */
}

div.input_box input:focus {
    border-bottom: 1.2px solid rgb(9, 88, 179);
}

div.input_box select:focus {
    border: 1.2px solid rgb(9, 88, 179);
}

.f_label {
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 700;
    font-size: 14px;
    pointer-events: none;
    transition: top .2s ease-in-out, color .2s ease-in-out, font-size .2s ease-in-out;
}

.input_box_checkbox {
    display: grid;
    grid-template-rows: auto auto;
    gap: 2px;
}

.f_input_checkbox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    width: auto;
    gap: 10px;
}

.f_input_checkbox .input_box {
    display: flex;
    width: max-content;
}

.input_box_checkbox .f_label {
    position: none;
}

.input_box_checkbox .input_box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

div.input_box input:focus ~ .f_label,
div.input_box input:valid ~ .f_label {
    top: -20px;
    font-size: 12px;
    color: rgb(9, 88, 179);
}

div.input_box select {
    margin-top: 10px;
}

.f_label_select {
    position: absolute;
    top: -15px;
    left: 0;
    font-weight: 700;
    font-size: 14px;
}

div.f_footer {
    display: block;
    border-top: 2px solid rgb(9, 88, 179);
}

.f_buttons {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.f_buttons button {
    width: 100px;
    font-weight: 800;
    background-color: #fff;
    border-radius: 4px;
}

.f_buttons button:last-of-type {
    background-color: rgb(9, 88, 179);
    color: #fff;
    border: 1px solid rgb(9, 88, 179);
}

/* Visualização das tabs */
.tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    justify-content: start;
    padding: 5px 10px 5px 10px;
    background-color: rgba(0, 0, 0, .05);
}

.tab {
    background-color: #fff;
    border: 1px solid rgb(9, 88, 179);
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color .2s ease-in-out, color .2s ease-in-out, font-weight .2s ease-in-out;
    outline: none;
    width: auto;
    padding: 2px 7px 2px 7px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab div.tab_div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    pointer-events: none;
}

.tab div.material-symbols-outlined {
    height: 100%;
    margin-left: 5px;
    font-size: 1em;
    font-weight: inherit;
    color: inherit;
}

.active {
    background-color: rgb(9, 88, 179);
    color: #fff;
    font-weight: 800;
}