@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Poppins", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

ol,
ul {
    list-style: none;
}

a,
a:visited {
    text-decoration: none;
    color: #fff;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    height: 100vh;
    background: radial-gradient(#054430, #07110c 80%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-attachment: fixed;
}

main {
    display: flex;
    align-items: start;
    justify-content: start;
    width: 100%;
    height: 100%;
    gap: 1rem;
}


/* ===== Details (cards grandes) ===== */
details {
    background: #00000078;
    border-radius: 12px;
    color: #ccc;
    margin-bottom: 1rem;
    position: relative;
}

.notificacao_details {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: red;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

summary.titulo_summary {
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    padding: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

summary::-webkit-details-marker {
    display: none;
}

.icone_summary {
    transition: transform .3s ease;
    transform: rotate(180deg);
    margin-right: 16px;
    font-size: 18px;
}

details[open] .icone_summary {
    transform: rotate(0deg);
}

.card_conteudo_details {
    padding: 1rem;
    overflow-x: auto;
}

/* ===== Lembretes ===== */
.container_lembretes {
    margin-right: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.div_lembretes,
.div_adicionar_lembretes {
    padding: 1rem;
    background-color: #00000078;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    width: 220px;
    height: 220px;
    position: relative;
}

.div_adicionar_lembretes {
    gap: .4rem;
    cursor: pointer;
}

.texto_lembrete {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}

.texto_adicionar_lembrete {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: grey;
}

.icone_adicionar_lembrete {
    font-size: 40px;
    color: grey;
}

.fechar_lembrete {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 18px;
    cursor: pointer;
}

.img_alfinete {
    position: absolute;
    width: 22px;
    top: 10px;
    left: 10px;
}

.div_lembretes.removendo {
    opacity: 0;
    transform: scale(.98);
    transition: opacity .25s, transform .25s;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    z-index: 999;
}

.modal-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay.is-hiding {
    opacity: 0;
    pointer-events: none;
}

.modal {
    width: min(520px, 92vw);
    background: #0f201a;
    border: 1px solid #2b4037;
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    transform: translateY(10px);
    transition: transform .25s, opacity .25s;
    opacity: 0;
    box-sizing: border-box;
}

.modal-overlay.is-visible .modal {
    opacity: 1;
    transform: translateY(0);
}

.modal-overlay.is-hiding .modal {
    opacity: 0;
    transform: translateY(10px);
}

.modal-fechar {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    color: #ccc;
    font-size: 20px;
    cursor: pointer;
}

#formLembrete {
    margin-top: .75rem;
    display: grid;
    gap: .75rem;
}

#formLembrete label {
    font-size: 14px;
    color: #cfd8d5;
}

#formLembrete input[type="text"] {
    background: #1d2d28;
    border: 1px solid #2b4037;
    color: #fff;
    padding: .7rem .9rem;
    border-radius: 8px;
    outline: none;
}

.modal-acoes {
    margin-top: .85rem;
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
}

.btn-remove {
    background: transparent;
    border: none;
    color: rgb(255, 255, 255);
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    right: 8px;
}

.btn-primario,
.btn-secundario {
    border-radius: 8px;
    padding: .6rem 1rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primario {
    background: #287785;
    color: #fff;
    border-color: #287785;
}

.btn-primario:hover {
    filter: brightness(1.05);
}

.btn-secundario {
    background: transparent;
    color: #cfd8d5;
    border-color: #2b4037;
}

.btn-secundario:hover {
    background: #1a3b33;
}

/* ===== Banner anúncio ===== */
.banner_anuncio {
    position: absolute;
    bottom: 0;
    right: 16px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #2b4037;
    padding: .5rem;
    height: 60px;
    width: 450px;
}

.img_banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.grid-anda {
    --cols:
        minmax(140px, 1.2fr) minmax(56px, .5fr) minmax(140px, 1fr) minmax(180px, 1.4fr) minmax(120px, 1fr) minmax(140px, 1fr) minmax(150px, 1fr) minmax(120px, 1fr);
    display: grid;
    grid-template-columns: var(--cols);
    background: #10231C;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    min-width: 1080px;
    border-radius: 10px;
}

.grid-anda .head {
    position: sticky;
    top: 0;
    z-index: 2;
    /* garante que o head fique acima das linhas */
    font-size: 14px;
    color: #b6c7c0;
    background: rgba(0, 0, 0, .35);
    padding: .35rem 1.1rem;
}



.grid-anda {
    grid-template-columns: var(--cols);
}

.row-grid {
    grid-template-columns: var(--cols);
}

.grid-anda .head:first-child {
    border-top-left-radius: 10px;
}

/* Último cabeçalho da primeira linha */
.grid-anda .head:last-child {
    border-top-right-radius: 10px;
}

input[type="date"],
input[type="time"] {
    background: #1d2d28;
    color: #fff;
    border: 1px solid #2b4037;
    border-radius: 8px;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.row-anda {
    grid-column: 1 / -1;
    padding: .5rem .5rem;
    overflow: auto;
}

.row-grid {
    display: grid;
    grid-template-columns: var(--cols);
    background-color: #2b4037;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .03);
    margin-bottom: 1rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.row-grid:last-child {
    margin-bottom: 0;
}

.cell {
    display: flex;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #424F4B;
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    margin: .35rem .6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.pill_modal {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #424F4B;
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.charts-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-auto-rows: 300px;
}

/* bloco expandido da linha */
.row-details {
    display: none;
    padding: 0 0 12px 0;
}

.row-details.open {
    display: block;
}

.details-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 6px 10px;
    margin: 6px 0 10px;
    border-radius: 10px;
    background: #2b3b38;
    color: #e5f5ef;
}

.texto_mostrar_mais_relatorios {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    margin: .35rem .6rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgb(216, 107, 58), rgb(182, 74, 74));
    white-space: nowrap;
    justify-content: center;
    height: 38px;
    box-sizing: border-box;
}

.details-grid {
    display: grid;
    grid-template-columns: 48px 1fr 150px 140px 360px;
    gap: 8px;
    align-items: center;
}

.details-item {
    display: contents;
    /* usa as colunas do grid pai */
}

.badge-index {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    box-sizing: border-box;
    border-radius: 999px;
    font-weight: 700;
    background: linear-gradient(90deg, rgb(216, 107, 58), rgb(182, 74, 74));
    color: #fff;
    margin: .35rem .6rem;
}

.badge-status {
    padding: 6px 10px;
    border-radius: 999px;
    text-align: center;
    background: linear-gradient(90deg, rgb(216, 107, 58), rgb(182, 74, 74));
    color: #ffe9e6;
    height: 38px;
    box-sizing: border-box;
}

.badge-date {
    padding: 6px 10px;
    border-radius: 999px;
    text-align: center;
    background: linear-gradient(90deg, rgb(216, 107, 58), rgb(182, 74, 74));
    color: #fff6df;
    height: 38px;
    box-sizing: border-box;
}

.btn-whats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #287785, #3fb03f);
    color: #dff8ee;
    height: 38px;
    box-sizing: border-box;
}

.btn_whats_relatorio {
    color: white;
    border: none;
    border-radius: 16px;
    padding: 6px 10px;
    font-size: 14px;
    margin: .35rem .6rem;
    font-weight: 500;
    flex: 1;
    box-sizing: border-box;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg, #287785, #3fb03f);
}

.btn-more {
    border-radius: 16px;
    background: #424F4B;
    color: #e8fff7;
    cursor: pointer;
    width: 100%;
    padding: 6px 10px;
    margin: .35rem .6rem;
    height: 38px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.quantidade_vendas_loja {
    border-top: 1px solid #808080ad;
    text-align: center;
    padding-top: 0.2rem;
}


.charts-grid>div {
    position: relative;
    height: 100%;
    padding: 8px 8px 16px;
    box-sizing: border-box;
}

.charts-grid canvas {
    width: 100% !important;
    height: calc(100% - 28px) !important;
}


.valor_geral_relatorio {
    background: rgba(0, 0, 0, .35);
    color: #eee;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 16px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    justify-content: center;
    box-sizing: border-box;
}

.pill--mini {
    padding: 4px 10px;
}

.pill--status {
    background: #287785;
}

.pill--tempo {
    position: relative;
    z-index: 1;
    color: white;
    padding: 5px 12px;
    border-radius: 16px;
    display: inline-block;
    text-align: center;
    background:
        linear-gradient(#424F4B, #424F4B) padding-box,
        linear-gradient(45deg, #00ff87, #60efff) border-box;
    border: 2px solid transparent;
    background-clip: padding-box, border-box;
}

.pill--carteira {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #eee;
    font-size: 13px;
    padding: 10px;
    margin: .35rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    box-sizing: border-box;
    background: linear-gradient(90deg, #287785, #3fb03f);
}

.pill--aceitar {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #eee;
    font-size: 13px;
    height: 32px;
    width: 32px;
    margin: .35rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    box-sizing: border-box;
    background: linear-gradient(90deg, #287785, #3fb03f);
}

.pill--aceitar i {
    font-size: 18px;
}

.pill--fechar {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #eee;
    font-size: 13px;
    height: 32px;
    width: 32px;
    margin: .35rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    box-sizing: border-box;
    background: linear-gradient(90deg, #b3332f, #b9643f);
}

.pill--fechar i {
    font-size: 18px;
}


.pill--lixeira {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #eee;
    font-size: 13px;
    padding: 10px;
    margin: .35rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    background: linear-gradient(90deg, #b3332f, #b9643f);
}

.pill--garantia {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #eee;
    font-size: 13px;
    margin: .35rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    box-sizing: border-box;
    background: linear-gradient(90deg, #b3332f, #b9643f);
}

.pill--transferir {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #eee;
    font-size: 13px;
    padding: 10px;
    margin: .35rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    box-sizing: border-box;
    background: linear-gradient(90deg, #488D91, #1E4976);
}

.container_valores_estoque {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.checkbox_pedidos_tabela {
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    margin: .35rem .6rem;
    cursor: pointer;
}

.checkbox_pedidos_head {
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    cursor: pointer;
}

.checkbox_pedidos_head:checked {
    appearance: none;
    -webkit-appearance: none;
    background-color: rgb(29, 29, 29);
    border: 2px solid white;
}

.checkbox_pedidos_tabela:checked {
    appearance: none;
    -webkit-appearance: none;
    background-color: rgb(29, 29, 29);
    border: 2px solid white;
}

.input_informacoes_estoque {
    background-color: #424F4B;
    border-radius: 16px;
    flex: 1;
    border: none;
    outline: none;
    color: white;
    padding: 0.4rem;
}

.btn_xml_estoque {
    background-color: #424F4B;
    padding: 0.4rem;
    border-radius: 16px;
    cursor: pointer;
}

.checkImposto {
    appearance: none;
    -webkit-appearance: none;
    width: 19px;
    height: 19px;
    border: 2px solid #2c2c2c;
    border-radius: 4px;
    background-color: #2c2c2c;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.checkImposto:checked {
    background-color: #2cb66f;
    border-color: transparent;
}

.checkImposto:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.div_check_imposto_despesa {
    background-color: #424F4B;
    border-radius: 16px;
    border: none;
    outline: none;
    color: white;
    align-items: center;
    padding: 0.4rem;
    display: flex;
    gap: 0.4rem;
}

.div_informacoes_entrada_estoque {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.div_informacoes_ordem_servico{
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 0.8rem; 
    margin-top: 0.8rem;
}

.div_dois_ordem_servico{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.steps {
    grid-column: 1 / -1;
    position: relative;
    margin: .2rem .6rem 0 .6rem;
    background: #22352D;
    border-radius: 10px;
    padding: .5rem .6rem .8rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .6rem;
    min-width: 1080px;
}

.step {
    font-size: 12px;
    color: #cfd8d5;
    opacity: .9;
}

.step.active {
    color: #fff;
}

.icone_carteira {
    width: 32px;
    height: 32px;
}

.step.done {
    color: #a0e1a0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #aeb7b3;
    opacity: .5;
}

.dot.done {
    background: #55d66a;
    opacity: 1;
}

.div_bolinha {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .2rem;
}

.progress-track {
    position: absolute;
    left: .6rem;
    right: .6rem;
    bottom: .5rem;
    height: 6px;
    border-radius: 999px;
    background: #3b4b43;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: var(--pct, 0%);
    background: linear-gradient(90deg, #3fb03f, #287785);
}

.btn_adicionar_estoque {
    background-color: #3fb040;
    cursor: pointer;
}

.btn_subtrair_estoque {
    cursor: pointer;
    background-color: #287785;
}

.titulo_details_sessoes {
    text-align: center;
    font-weight: 400;
    font-size: 18px;
}

.carrossel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .6rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .06));
    border-radius: 14px;
    padding: .6rem;
    margin-bottom: .8rem;
}

.car-track {
    display: flex;
    gap: .8rem;
    overflow-x: auto;
    padding: .2rem .2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.car-track::-webkit-scrollbar {
    display: none;
}

.car-btn {
    position: static;
    width: 42px;
    height: 72px;
    border-radius: 12px;
    background: #1a2a24;
    color: #cfe3dd;
    border: 1px solid rgba(255, 255, 255, .08);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.car-btn[disabled] {
    opacity: .35;
    cursor: not-allowed;
}


@media (max-width: 800px) {
    .car-card {
        min-width: 240px;
    }

    .car-btn {
        height: 56px;
        width: 38px;
    }
}

.car-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    position: relative;
    min-width: 280px;
    max-width: 340px;
    min-height: 120px;
    background: #0f201a;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 0.6rem;
    background: linear-gradient(135deg, #1A3D34, #215A4A);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.car-cta {
    background: #287785;
    color: #fff;
    border: 1px solid #287785;
    border-radius: 999px;
    padding: .2rem 0.8rem;
    cursor: pointer;
    width: 100%;
}

.car-card--brown {
    background: linear-gradient(135deg, #821D1C, #834E2B);
}

.car-card--bluegreen {
    background: linear-gradient(135deg, #837431, #834F2B);
}

.car-card--dark {
    background: #14231d;
}

.car-title {
    font-size: 16px;
    margin-bottom: .8rem;
    font-weight: 400;
}

.car-meta {
    font-size: 13px;
    opacity: .95;
    margin-bottom: .25rem;
    display: flex;
    gap: .4rem;
}

.texto_manutencao {
    color: #39a054;
    font-weight: 600;
}

.img_preventivas {
    width: 48px;
    position: absolute;
    right: 8px;
    top: 8px;
}

.car-rodape {
    margin-top: .25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: .9;
    font-size: 12px;
    gap: 0.25rem;
}

.texto_preventivo {
    color: rgb(216, 203, 19);
    font-weight: 600;
}

.car-track,
.car-card,
.car-card * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.car-card button,
.car-card a,
.car-card input,
.car-card textarea {
    user-select: auto;
    -webkit-user-select: auto;
}

.car-card img {
    -webkit-user-drag: none;
    pointer-events: none;
}

.car-track {
    touch-action: pan-y;
}

.card_clientes {
    background: #00000078;
    border-radius: 12px;
    color: #ccc;
    margin-bottom: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.titulo_pagina_clientes {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.card_cliente_details {
    padding: 0;
    overflow-x: auto;
}

.div_buscar_cliente {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex: 1;
}


.div_btns_clientes {
    display: flex;
    gap: 0.8rem;
}

.texto_input_buscar {
    font-size: 18px;
    font-weight: 400;
}

.card_topo_clientes {
    margin-bottom: 1rem;
}

.input_buscar_cliente {
    background-color: #424F4B;
    border-radius: 16px;
    min-width: 180px;
    border: none;
    outline: none;
    color: white;
    padding: 0.4rem;
    resize: none;
    box-sizing: border-box;
}

.input_tempo_servico {
    position: relative;
    z-index: 1;
    color: white;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 13px;
    display: inline-block;
    text-align: center;
    background: linear-gradient(#424F4B, #424F4B) padding-box, linear-gradient(45deg, #00ff87, #60efff) border-box;
    border: 2px solid transparent;
    background-clip: padding-box, border-box;
}

.div_inputs_ordem {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 0.8rem;
}

.btns_acoes_clientes {
    background-color: #2b4037;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    border-radius: 10px;
    color: white;
    padding: 0.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.img_btns_clientes {
    width: 18px;
    font-size: 18px;
    height: 18px;
}

.div_titulo_clientes {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn_adicionar_cliente {
    background: linear-gradient(90deg, #287785, #3fb03f);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    align-self: flex-end;
}

.btn_informacoes_colaborador {
    background: linear-gradient(90deg, #287785, #3fb03f);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    min-width: 140px;
    padding: 0.4rem;
    box-sizing: border-box;
}

.div_inputs_cadastro {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.div_input_buscar_cliente {
    background-color: #2b4037;
    padding: 0.3rem 0.6rem 0.3rem 0.3rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-sizing: border-box;
}

.div_input_pecas_servicos {
    background-color: #2b4037;
    padding: 0.3rem 0.6rem 0.3rem 0.3rem;
    border-radius: 16px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.div_input_informacoes_estoque {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.valores_tabela_fluxo {
    display: flex;
    justify-content: space-between;
    background-color: #424F4B;
    padding: 0.6rem 1rem;
    border-radius: 16px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    min-width: 1080px;
    box-sizing: border-box;
}

.valores_geral_fluxo {
    display: flex;
    justify-content: space-between;
    background-color: #2b4037;
    padding: 0.6rem 1rem;
    border-radius: 16px;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    box-sizing: border-box;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.tabela_fluxo_caixa {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.btn_fluxo_caixa {
    color: white;
    border: none;
    border-radius: 16px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.fluxo_entradas {
    background: linear-gradient(90deg, #287785, #3fb03f);
}

.fluxo_saidas {
    background: linear-gradient(90deg, #8D322D, #8D5F3A);
}

.fluxo_saldo {
    background: linear-gradient(90deg, #3B8586, #0D3766);
}

.div_valores_geral {
    flex: 1;
}

.div_geral_relatorios {
    display: flex;
    gap: 0.6rem;
    width: 100%;
}

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

.div_topo_linha_fluxo {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.div_linha_topo_fluxo {
    display: flex;
    text-align: center;
    gap: 0.8rem;
}

.div_data_topo_fluxo {
    display: flex;
    flex-direction: column;
}

.btn_acoes_fluxo_caixa {
    opacity: 0.5;
    transition: all 0.3s;
}

.btn_acoes_fluxo_caixa.ativo {
    opacity: 1;
    background: #2b4037;
    color: #fff;

}

.btn_fluxo_caixa_topo {
    background-color: #2b4037;
    font-size: 14px;
    font-weight: 400;
    border-radius: 14px;
    cursor: pointer;
    align-items: center;
    color: white;
    height: 100%;
    padding: 0.2rem 1.5rem;
    box-sizing: border-box;
}

.div_btn_topo_altura {
    height: 100%;
}

.is-first {
    border-top-left-radius: 10px;
}

.is-last {
    border-top-right-radius: 10px;
}

.categoria {
    display: inline-flex;
    align-items: center;
    position: relative;
    gap: .4rem;
    background: rgb(43, 64, 55);
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    padding-right: 26px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    flex: 1;
    min-width: fit-content;
}

.input_adicionar_fornecedor {
    background: #1d2d28;
    border: 1px solid #2b4037;
    color: #fff;
    padding: .7rem .9rem;
    border-radius: 8px;
    outline: none;
    flex: 1;
    box-sizing: border-box;
}

.modal_limite_altura {
    height: 80%;
    overflow: auto;
}

.modal_limite_altura_fornecedor {
    max-height: 80%;
    width: 65%;
    overflow: auto;
}

.div_inputs_fornecedor {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    flex-direction: column;
}

.div_linha_adicionar_fornecedor {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.div_linha_item_fornecedor {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.btn_adicionar_fornecedor {
    background: linear-gradient(90deg, #287785, #3fb03f);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    align-self: flex-end;
    width: 100%;
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff88;
    border-radius: 50%;
    background-color: #1a3b33;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: background 0.2s;
}

.texto_modal_adicionar_despesa {
    font-size: 14px;
    color: #cfd8d5;
}

#formDespesa {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.6rem;
}

.div_inputs_modal_fluxo_adicionar {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.input_adicionar_despesa_fluxo {
    background: #1d2d28;
    border: 1px solid #2b4037;
    color: #fff;
    padding: .5rem;
    border-radius: 8px;
    flex: 1;
    outline: none;
}

.texto_input_estoque {
    width: max-content;
}

input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
}

.div_inputs_estoque {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.container_inputs_estoque {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.6rem;
}


.btn_escolher_logo:hover {
    background-color: #3b5f4d;
}

.btn_escolher_logo {
    background-color: #2b4037;
    color: #ccc;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
    width: 100px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
    flex-direction: column;
}

.btn_foto_colaborador {
    background-color: #2b4037;
    color: #ccc;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    aspect-ratio:  4 / 3;
    height: 100%;
    box-sizing: border-box;
    max-width: 300px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.texto_total_comissoes {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #424F4B;
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    white-space: nowrap;
    width: 193px;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    box-sizing: border-box;
    margin-right: 9.6px;
}

.div_btn_comissoes_modal {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.div_btn_comissoes_usuario_modal {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.btn_comissoes_modal {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
}

.btn_comissoes_normal {
    background: #424F4B;
}

.card_grafico {
    background: #0f1f1a;
    border: 1px solid #1f352d;
    border-radius: 16px;
    padding: 16px 16px 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.grafico_header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.grafico_header h3 {
    color: #e7f5ef;
    font-weight: 700;
    letter-spacing: .2px;
}

.grafico_wrap {
    position: relative;
    height: 300px;
    width: 100%;
}


.btn_comissoes_cor {
    background: linear-gradient(90deg, #287785, #3fb03f);
}

.div_total_comissoes {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.btn_foto_colaborador:hover {
    background-color: #3b5f4d;
}

.preview_logo {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

.btn_qr_code {
    gap: .4rem;
    background: #424F4B;
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
    justify-content: center;
    box-sizing: border-box;
}

.btn_leitor {
    background: linear-gradient(90deg, #287785, #3fb03f);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.div_topo_linha_relatorios {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn_alterar_relatorio {
    background: linear-gradient(90deg, #287785, #3fb03f);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn_pedidos_adicionar {
    align-items: center;
    gap: .4rem;
    background: #424F4B;
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

@media(max-width: 1400px) {
    .container_img_estoque {
        flex-direction: column;
    }
}

.div_linha_entrada_produtos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid #444;
}

.div_linha_entrada_produtos:last-child {
    border-bottom: 0px;
}

.div_colaboradores {
    background-color: #2b4037;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .03);
    padding: 0.6rem;
    gap: 0.8rem;
    display: flex;
    min-width: 500px;
    align-items: center;
    box-sizing: border-box;
}

.div_informacoes_colaboradores {
    background: #00000078;
    border-radius: 12px;
    color: #ccc;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.div_informacoes_relatorios {
    background: #00000078;
    border-radius: 12px;
    color: #ccc;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    justify-content: center;
    width: 100%;
    height: 110px;
    box-sizing: border-box;
    margin-top: 0.4rem;
}

.icone_relatorio {
    font-size: 64px;
    color: white;
}

.img_colaborador {
    border-radius: 10px;
    height: 180px;
    width: 180px;
}

.div_texto_comissoes_colaboradores {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.btn_comissoes_colaboradores {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #424F4B;
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    margin: .35rem .6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
}

/* bloco expandido */
.pedido-details {
    display: none;
    padding: 10px 12px;
}

.pedido-details.open {
    display: block;
}

.pedido-details .details-title {
    font-weight: 700;
    margin: 0 0 8px 0;
    opacity: .9;
}

/* grid dos itens (edite colunas se quiser) */
.pedido-details-grid {
    display: grid;
    gap: 8px;
    align-items: center;
    grid-template-columns: 90px 120px 1fr 140px 140px 30px 50px;
}

.mostrar {
    display: none;
}

/* botão Mostrar mais dentro da célula */
.pedido-toggle {
    margin-left: 8px;
    cursor: pointer;
    border: 0;
    outline: 0;
    background: transparent;
    color: #d9d9d9;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.pedido-toggle i {
    transition: transform .2s ease;
}

.pedido-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}




.container_card_colaboradores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1rem;
}

.btn_comissoes_colaboradores:hover {
    background-color: #2b4037;
}

.div_valores_relatorios {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container_imagem_colaboradores{
    display: flex; 
    flex-direction: column-reverse;
    width: 100%; 
    gap: 1rem;
    flex-wrap: wrap;
}

.div_status_pedidos {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    align-items: center;
}

.btn_status_pedidos {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    margin: .35rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    flex: 1;
    box-sizing: border-box;
    min-width: 165px;
}

.btn_cor_todos {
    background: linear-gradient(to right, rgb(110, 110, 110), rgb(75, 75, 75));
}

.btn_cor_nao_cotados {
    background: linear-gradient(to right, #803128, #806036);
}

.btn_cor_cotados {
    background: linear-gradient(to right, #026468, #3E7F38);
}

.btn_cor_pedidos {
    background: linear-gradient(to right, #2E817F, #013360);
}

.status-cotado {
    background: linear-gradient(to right, #026468, #3E7F38);
}

.status-nao-cotado {
    background: linear-gradient(to right, #803128, #806036);
}

.status-pedidos {
    background: linear-gradient(to right, #2E817F, #013360);
}

.btn_status_pedidos {
    opacity: 0.4;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn_status_pedidos.btn_ativo {
    opacity: 1;
}

.item_pedidos {
    background-color: #00000078;
}

.row_grid_pedidos {
    display: grid;
    grid-template-columns: var(--cols);
    background-color: #2b4037;
    border-radius: 12px;
    margin-bottom: 1rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.row_grid_pedidos_modal {
    display: grid;
    grid-template-columns: var(--cols);
    background-color: #2b4037;
    border-radius: 12px;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.calendar-day {
    background: #1e2f29;
    color: #fff;
}

.calendar-container {
    background: linear-gradient(to bottom, #0a1e18, #132e26);
}

.icone_voltar_superior {
    width: 32px;
}

.checkbox_switch {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 50px;
    height: 30px;
    border-radius: 25px;
    background: linear-gradient(90deg, #FF3432, #FF6449);
    transition: background .3s;
    outline: none;
    cursor: pointer;
}

.checkbox_switch::after {
    content: 'N';
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    height: 1.65rem;
    width: 1.65rem;
    background-color: rgb(255, 255, 255);
    transition: left .3s;
}

.checkbox_switch:checked {
    background: linear-gradient(90deg, #4ABE7D, #7BD05B);
}

.checkbox_switch:checked::after {
    left: 70%;
    content: 'S';
    display: flex;
    align-items: center;
    justify-content: center;
}

.perm-list {
    display: flex;
    flex-direction: column;
    padding: 0 1rem 1rem 1rem;
    gap: 0.4rem;
}

.perm-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.icone_permissoes {
    transition: transform .3s ease;
    transform: rotate(180deg);
    font-size: 18px;
}

details[open] .icone_permissoes {
    transform: rotate(0deg);
}

.texto_opcao_permissoes {
    background: #424F4B;
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    box-sizing: border-box;
    flex: 1;
}

.texto_opcao_todas_permissoes {
    background: linear-gradient(90deg, #287785, #3fb03f);
    color: #eee;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    box-sizing: border-box;
    flex: 1;
}

.card_ordem_servico_details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0rem 1rem 1rem 1rem;
}

.texto_dados_ordem {
    width: max-content;
}

.container_details_ordem_servico {
    margin-top: 1rem;
}

/* --- Modal do Dia --- */
.day-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .75rem;
    color: #fff;
}

.day-modal-header h3 {
    margin: 0;
    font-weight: 500;
}

.day-modal-actions {
    display: flex;
    gap: .5rem;
}

.time-group {
    border: 1px solid #2b4037;
    border-radius: 10px;
    padding: .6rem .7rem;
    background: #0c1915;
}

.time-header {
    font-size: .95rem;
    color: #b6c7c0;
    margin-bottom: .35rem;
}

.time-items {
    display: grid;
    gap: .35rem;
}

.item {
    background: #14231e;
    border: 1px solid #22372f;
    border-radius: 8px;
    padding: .5rem .6rem;
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    cursor: pointer;
}

.item:hover {
    background: #1a2a24;
}

.item-main {
    display: grid;
    gap: .25rem;
}

.item-title {
    font-weight: 500;
}

.item-meta {
    font-size: .8rem;
    color: #cfd8d5;
    white-space: pre-line;
}

.badge {
    font-size: .7rem;
    border: 1px solid #2b4037;
    padding: .15rem .4rem;
    border-radius: 999px;
    align-self: flex-start;
}

.badge.service {
    border-color: #287785;
    color: #cfe9ef;
}

@media(max-width: 550px){
    .div_lembretes,
    .div_adicionar_lembretes{
        height: 160px;
    }
}