:root {
    --color-primary: #009245;
    --color-primary-light: #96ddb8;
    --color-red: #ec2626;
    --color-green: #15c508;
    --color-blue: #3498db;
    --color-orange: #ef8313;
    --border-radius: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
    scroll-behavior: smooth;
    position: relative;
    font-family: "Figtree", Helvetica, sans-serif;
}

b {
    font-weight: 700;
}

a {
    color: black;
}

html {
    overflow-x: hidden;
}

body {
    background-color: #f8f9fa;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hidden {
    display: none !important;
}

.boxed {
    width: 1350px;
    padding: 0 25px;
    margin: auto;
}

input,
select,
textarea {
    height: 36px;
    padding: 0 4px;
    border-radius: var(--border-radius);
    outline: none;
    border: 1px solid #bfbfbf;
    color: black;
    background: white;
}

textarea {
    height: 77px;
    padding: 6px;
}

.c-primary {
    color: var(--color-primary);
}


[page] {
    flex: 1;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field label {
    font-size: 14px;
    font-weight: 500;
}

.field input,
.field select {
    padding: 0 10px;
    font-size: 13px;
    text-overflow: ellipsis;
}

.campos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px;
    align-items: flex-end;
}

.campos>* {
    flex: 1;
}

.botao {
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    height: 36px;
    min-width: 36px;
    border-radius: var(--border-radius);
    color: white;
    cursor: pointer;
    transition: .1s ease;
}

.botao:hover {
    background-color: white;
    color: var(--color-primary);
}

.btn-detalhes {
    background-color: #efefef;
    color: var(--color-primary);
    aspect-ratio: 1;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    width: 28px;
}

.btn-detalhes:hover {
    background-color: var(--color-primary);
    color: white;
}


.pg-detalhes,
.pg-detalhes .tabs [tab] {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 22px;
    padding: 20px;
}

.pg-detalhes>div {
    flex: 1;
}

.tabs .tab-labels {
    display: flex;
    align-items: center;
    background-color: #e9e9e9;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    width: 100%;
    overflow: hidden;
    padding: 6px;
    gap: 4px;
}

.tabs [tab] {
    /* border: 1px solid var(--color-primary); */
    border-radius: var(--border-radius);
    padding-top: 24px;
    border-top-left-radius: 0;
    width: 100%;
    padding: 0;
}

div.tabs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tabs .tab-labels>[tab-open] {
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    color: black;
    cursor: pointer;
    transition: .2s ease;
    /* border-right: 1px solid #00000063; */
    border-radius: var(--border-radius);
    background-color: #ffffff45;
    border: 1px solid #b8b8b8;
}

.tabs .tab-labels>[tab-open].tab-selecionado,
.tabs .tab-labels>[tab-open]:hover {
    color: #ffffff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}


/* Barra total */
::-webkit-scrollbar {
    width: 10px;
    height: 13px;
}

/* Fundo */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

/* Barra interna */
::-webkit-scrollbar-thumb {
    background: #9c9c9c;
    border-radius: 3px;
}

/* Barra interna on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
