* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    display: flex;
    background: #eef2f7;
}

/* ==========================================
   SIDEBAR
========================================== */

.sidebar {
    width: 240px;
    min-height: 100vh;
    background: #022b63;
    color: white;
}

.menu-titulo {

    display: block;

    margin: 20px;

    padding: 14px;

    border-radius: 14px;

    background: linear-gradient(135deg,
            #2563eb,
            #1d4ed8);

    text-align: center;

    font-weight: 700;

    letter-spacing: .5px;

    text-decoration: none;

    color: white;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, .30);

    transition: .25s;
}

.menu-titulo:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(37, 99, 235, .40);
}

.menu-grupo {
    margin-top: 25px;
}

.menu-grupo h4 {
    padding: 10px 20px;
    color: #7dff92;
}

.menu-grupo a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
}

.menu-grupo a:hover {
    background: rgba(255, 255, 255, .10);
}

/* ==========================================
   CONTEÚDO
========================================== */
.conteudo {

    flex: 1;
   
    padding: 25px;

    min-height: 100vh;

    background-image: url('/static/img/clientes.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.topo {
    display: flex;
    align-items: center;
    gap: 20px;   

    background: white;
    border-radius: 20px;

    padding: 15px;
    margin-bottom: 20px;
}

.logo-topo img {
    width: 120px;
}

.boas-vindas h2 {
    color: #1d2b4d;
}
.boas-vindas {

    flex: 1;

    display: flex;

    flex-direction: column;

}

/* ==========================================
   DASHBOARD
========================================== */

.cards {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.card {
    flex: 1;
    
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
        backdrop-filter: blur(4px);

    padding: 20px;
   
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

.card span {
    display: block;
    margin-top: 10px;
    font-size: 32px;
    font-weight: bold;
}

.clientes {
    border-left: 8px solid #1877f2;
}

.produtos {
    border-left: 8px solid #21b300;
}
.vendas {
    border-left: 8px solid #f59e0b;  
}
.faturamento {
    border-left: 8px solid #00bfa6;
}

.banner {
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(4px);

    padding: 30px;
    margin-bottom: 20px;

    display: flex;
    flex-direction: column;
}

.banner img {
    width: 100%;
    max-width: 650px;
    border-radius: 12px;
}

.banner h2 {
    color: #0b4ba7;
    margin-top: 15px;
}

.rodape {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.box {
    flex: 1;
    min-height: 420px;

    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(4px);

    border-radius: 20px;
    padding: 20px;
}

.box h3 {
    color: #022b63;
    margin-bottom: 15px;
}

.box-conteudo {

    margin-top: 15px;

    height: 340px;

    border-radius: 12px;

    background: #f4f6f9;

    padding: 15px;

    color: #777;

    overflow-y: auto;
}
.acessos-rapidos {
   
    width: 100%;

    background: transparent;

    border-radius: 0;

    padding: 0;

    box-shadow: none;
}

.acessos-rapidos h3 {

    color: white;

    text-align: center;

    margin-bottom: 25px;

    font-size: 32px;

    font-weight: 700;

    text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.cards-acoes {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;  

    margin-bottom: 30px;
}


/* ==========================================
   CLIENTES
========================================== */

.clientes-bg,
.nota-fiscal-bg {

    min-height: auto;

    background-image: url('/static/img/clientes.png');

    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;

    position: relative;    
}

.clientes-bg::before,
.nota-fiscal-bg::before {

    content: "";

    position: absolute;
    inset: 0;
     
    background: rgba(5, 35, 90, .30);
}

.clientes-bg>* {
    position: relative;
    z-index: 2;
}

/* topo transparente */

.clientes-bg .topo,
.nota-fiscal-bg .topo {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.clientes-bg .boas-vindas h1,
.nota-fiscal-bg .boas-vindas h1 {
    color: white;
    font-size: 46px;
    margin-bottom: 5px;
}

.clientes-bg .boas-vindas span,
.nota-fiscal-bg .boas-vindas span {
    color: white;
    font-size: 16px;
}

/* cards */  

.acoes-clientes {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.card-acao {

    overflow: hidden;
    position: relative;

    width: 100%;
    min-height: 140px;

    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(4px);

    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .45);  

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    text-decoration: none;
    color: inherit;

    cursor: pointer;
    transition: .35s;

    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

.card-acao:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, .20);

}

.card-acao:hover .icone {

    transform: scale(1.12) rotate(-5deg);   

}
.icone {

    font-size: 28px;

    margin-bottom: 8px;

    transition: .30s;
}
.card-acao h3 {

    font-size: 20px;

    color: #0c3470;

    font-weight: 700;

    margin-bottom: 4px;
}

.card-acao p {

    color: #6b7280;

    font-size: 13px;

    width: 82%;

    line-height: 18px;
}

/* tabela */

.box-clientes,
.box-nota-fiscal {

    background: rgba(248, 250, 255, .96);

    backdrop-filter: blur(8px);

    border-radius: 24px;

    border: 1px solid rgba(255, 255, 255, .30);

    padding: 25px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.filtro-clientes,
.filtro-nota-fiscal {
    margin: 15px 0 20px;
}

.filtro-clientes input,
.filtro-nota-fiscal input {

    width: 380px;

    padding: 14px 16px;

    border: 1px solid #dbe3f0;

    border-radius: 14px;

    background: white;

    font-size: 14px;

    transition: .2s;

    outline: none;
}

.tabela-clientes,
.tabela-nota-fiscal {

    width: 100%;

    border-collapse: collapse;
}


 
.tabela-clientes td,
.tabela-nota-fiscal td {

    padding: 15px;

    border-bottom: 1px solid #eeeeee;
}
.tabela-clientes th,
.tabela-nota-fiscal th {

    padding: 15px;
 
    text-align: left;

    color: #022b63;

    border-bottom: 2px solid #e5e5e5;
}


.dashboard-bg {
    background-image:
        linear-gradient(rgba(8, 31, 77, .75),
            rgba(8, 31, 77, .75)),
        url('/static/img/clientes.png');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;     
}

.card-atalho {

    background: rgba(255, 255, 255, .92);

    backdrop-filter: blur(4px);

    border-radius: 20px;

    padding: 25px;

    min-height: 140px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    text-decoration: none;

    color: #1d2b4d;

    font-size: 30px;

    font-weight: 600;

    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);   

    transition: .2s;
}

.card-atalho:hover {

    transform: translateY(-8px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.card-atalho span {

    display: block;
     
    margin-top: 10px;

    font-size: 20px;
    font-weight: 600;
}  
   

.filtro-clientes input:focus,
.filtro-nota-fiscal input:focus {

    border-color: #2563eb;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, .15);
}   
.card-acao::before {

    content: "";

    position: absolute;

    top: 0;

    left: -120%;

    width: 70%;

    height: 100%;

    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .35),
            transparent);

    transition: .7s;
}

.card-acao:hover::before {

    left: 150%;
}

/*=========================================
  FORMULÁRIOS (Nova Venda / Editar Venda)
=========================================*/

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 35, 90, .30);
    z-index: 0;
}

.container {

    position: relative;
    z-index: 1;

    max-width: 1200px;

    margin: 40px auto;

    background: rgba(255, 255, 255, .96);

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, .25);

}

.container h1 {

    color: #0b2f6b;

    font-size: 42px;

    margin-bottom: 8px;

}

.subtitulo {

    color: #666;

    margin-bottom: 30px;

}

.secao {

    margin-top: 30px;

}

.secao h2 {

    color: #0b2f6b;

    border-bottom: 2px solid #e5e7eb;

    padding-bottom: 8px;

    margin-bottom: 25px;

}

.grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px;

}

.campo {

    display: flex;

    flex-direction: column;

    padding: 0 30px;  

    margin-top: 18px;

}

.campo label {

    font-weight: 600;

    color: #374151;

    margin-bottom: 8px;

}

.campo input,
.campo select,
textarea {

    width: 100%;

    padding: 12px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    background: #fafafa;

    font-size: 15px;

}

textarea {

    resize: vertical;

    min-height: 140px;

}

.checkbox {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 38px;

    font-weight: 600;

}

.acoes {

    display: flex;

    gap: 15px;

    margin-top: 35px;

}

.btn {

    padding: 13px 22px;

    border-radius: 8px;

    color: white;

    text-decoration: none;

    font-weight: bold;

    border: none;

    cursor: pointer;

    transition: .25s;

}

.btn:hover {

    transform: translateY(-2px);

}

.salvar {

    background: #2563eb;

}

.cancelar {

    background: #6b7280;

}  
 
/* ==========================================
   ROLAGEM DA TABELA
========================================== */   

.tabela-scroll {

    max-height: 420px;

    overflow-y: auto;

    border-radius: 12px;

}

.tabela-scroll thead th {

    position: sticky;

    top: 0;

    background: rgba(248, 250, 255, .98);

    z-index: 100;

}
/* ===============================
   BOTÃO OCULTAR FATURAMENTO
================================= */

.card-topo {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 10px;

}

.btn-olho {

    background: transparent;

    border: none;

    cursor: pointer;

    font-size: 22px;

    color: #6b7280;

    transition: .25s;

}

.btn-olho:hover {

    transform: scale(1.15);

    color: #2563eb;

}
/* ==========================================
   ÚLTIMAS VENDAS
========================================== */

.ultimas-vendas {

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: stretch;

    gap: 8px;

    padding: 8px;

}

.ultima-venda {

    display: flex;
    align-items: center;

    padding: 8px 10px;

    background: #fff;

    border-radius: 8px;

    border-left: 4px solid #2563eb;

}

.codigo {

    width: 75px;

    font-size: 18px;

    font-weight: 700;

    color: #123b82;

    flex-shrink: 0;

}

.cliente {

    flex: 1;

    font-size: 14px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    color: #555;

}   
.ultimas-vendas-box {
  
    display: block;

    padding: 10px;

}
/* ===========================
   TOP PRODUTOS
=========================== */

.ranking-produtos {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.produto-ranking {
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
.produto-topo {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.posicao {

    width: 36px;

    font-size: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;
}

.produto-info {   
    flex: 1;
}

.produto-nome {

    font-weight: 600;

    color: #243b68;

    font-size: 15px;

    margin-bottom: 4px;
}

.barra-ranking {

    width: 100%;

    height: 6px;

    background: #e7eefc;

    border-radius: 20px;

    overflow: hidden;

    margin-top: 4px;
}

.barra-preenchimento {

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, #2563eb, #3b82f6);

    border-radius: 20px;
}

.produto-rodape {

    display: flex;

    justify-content: space-between;

    margin-top: 8px;

    font-size: 13px;

    color: #666;
}

.valor {

    color: #18a957;

    font-weight: bold;
}  

/* ==========================================
   RELATÓRIOS
========================================== */

.relatorio-bg {

    background-image: url('/static/img/clientes.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    position: relative;

    padding-bottom: 30px;
}

.relatorio-bg::before {

    content: "";

    position: absolute;
    inset: 0;

    background: rgba(5, 35, 90, .30);
}

.relatorio-bg>* {

    position: relative;
    z-index: 2;
}

/* =====================================================
   BOTÕES DOS RELATÓRIOS
===================================================== */

.acoes-relatorio {

    display: flex;

    gap: 12px;

    align-items: center;

}

.btn-relatorio {

    border: none;

    border-radius: 8px;

    padding: 10px 18px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s;

    color: #fff;

    box-shadow: 0 3px 8px rgba(0, 0, 0, .15);

}

.btn-relatorio:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 14px rgba(0, 0, 0, .20);

}

/* Impressão */

.btn-imprimir {

    background: #1f4e79;

}

.btn-imprimir:hover {

    background: #163b5d;

}

/* PDF */

.btn-pdf {
    
    background: #d32f2f;

}

.btn-pdf:hover {

    background: #b71c1c;

}

/* Excel */

.btn-excel {

    background: #2e7d32;

}

.btn-excel:hover {

    background: #1b5e20;

}
.ts-dropdown {
    max-height: 220px;
    overflow-y: auto;
}

.ts-dropdown .option {
    padding: 10px 12px;   
    font-size: 14px;
}
.btn-voltar {
    background: #6c757d;
    color: #fff;
}

.btn-voltar:hover {
    background: #5a6268;
} 

.box-relatorio-scroll {

    max-height: 520px;
    overflow-y: auto;

    border-radius: 18px;

}
.cards-resumo {

    display: flex;

    gap: 20px;

    margin-top: 45px;

    margin-left: 20px;

    max-width: 1040px;

}

.card-resumo {

    
            flex: 1;
    
            min-width: 250px;
    
            max-width: 280px;
   
    background: rgba(255, 255, 255, .95);

    backdrop-filter: blur(6px);   

    border-radius: 18px;

    padding: 22px;

    display: flex;

    align-items: center;

    gap: 18px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .10);

}

.icone-card {

    font-size: 40px;

    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

}

.icone-card img {

    width: 90px;
    height: 90px;

    object-fit: contain;

    display: block;
}

.card-resumo small {

    color: #777;
    
    font-size: 15px;

}

.card-resumo h2 {

    margin-top: 8px;

    font-size: 34px;

    display: flex;

    align-items: center;

    gap: 6px;

    white-space: nowrap;

    line-height: 1;

}

.pago {

    border-left: 8px solid #2fb344;

}

.aberto {

    border-left: 8px solid #d63333;

}

.geral {

    border-left: 8px solid #0d6efd;

}
/* Enviar Cobrança */

.btn-cobranca {

    background: linear-gradient(135deg, #25D366, #128C7E);

    color: #fff;

}

.btn-cobranca:hover {

    background: linear-gradient(135deg, #2FDE74, #18A085);

} 
/* ==========================================
   MODAL ENVIAR COBRANÇA
========================================== */

.modal-cobranca {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .45);

    z-index: 9999;

    justify-content: center;

    align-items: center;

}

.modal-cobranca.ativo {

    display: flex;

}

.modal-cobranca-conteudo {

    width: 430px;

    background: white;

    border-radius: 18px;

    padding: 30px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .30);

    animation: aparecerModal .25s ease;

}

.modal-cobranca-conteudo h2 {

    color: #163b74;

    margin-bottom: 10px;

}

.modal-cobranca-conteudo p {

    color: #666;

    margin-bottom: 25px;

}

.opcao-envio {

    width: 100%;

    padding: 16px;

    margin-bottom: 15px;

    border: none;

    border-radius: 12px;

    background: #f5f7fb;

    cursor: pointer;

    font-size: 16px;

    font-weight: 600;

    transition: .25s;

}

.opcao-envio:hover {

    background: #25D366;

    color: white;

}

.opcao-envio:disabled {

    background: #ececec;

    color: #999;

    cursor: not-allowed;

}

.acoes-modal {

    margin-top: 20px;

    display: flex;

    justify-content: flex-end;

}

@keyframes aparecerModal {

    from {

        opacity: 0;

        transform: translateY(-20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}
/* ==========================================
   FILTROS DOS RELATÓRIOS
========================================== */

.box-relatorio {

    width: 650px;
    max-width: 650px;

    margin: 20px 0 0 20px;

}


.indicadores-relatorio {

    width: 650px;
    max-width: 650px;

    display: flex;
    flex-direction: column;

    gap: 16px;

    margin: 25px 0 0 20px;

}
  
.card-indicador {

    width: 100%;

    min-height: 110px;
  
    background: #fff;

    border-radius: 16px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);

    padding: 18px;

    box-sizing: border-box;

}
.card-indicador h3 {

    margin: 0;

    font-size: 18px;

    color: #1f2937;

}

.card-indicador span {

    display: block;

    margin-top: 18px;

    font-size: 20px;

    font-weight: bold;

    color: #111827;

}  
.card-indicador.recebido {

    border-left: 6px solid #2d6cdf;

}

.card-indicador.aberto {

    border-left: 6px solid #e53935;

}

.card-indicador.total {

    border-left: 6px solid #39d353;

}

.card-indicador.os {

    border-left: 6px solid #22d3c5;

}
   
.link-card {

    display: block;

    width: 100%;

    text-decoration: none;

    color: inherit;

}

.link-card:hover .card-indicador {

    transform: translateY(-3px);

    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);

    transition: .25s;

    cursor: pointer;

}
 
.card-indicador small {

    display: block;

    margin-top: 16px;

    color: #2563eb;

    font-size: 16px;

    font-weight: 700;

}
.card-indicador small {

    display: block;

    margin-top: 16px;

    color: #2563eb;

    font-size: 16px;

    font-weight: 700;

    transition: .25s;
}

.link-card:hover small {

    color: #0b46e8;

    text-decoration: underline;  

}
/* ==========================================
   GERADOR DE CATÁLOGO PDF
========================================== */

.categoria {

    padding: 16px 10px;

    border-bottom: 1px solid #e5e7eb;

    font-size: 17px;

}

.categoria label {

    display: flex;

    align-items: center;

    gap: 12px;

    cursor: pointer;

    color: #1f2937;

    font-weight: 500;

}

.categoria input[type="checkbox"] {

    width: 18px;

    height: 18px;

    cursor: pointer;

}

.categoria:hover {

    background: #f8fbff;

}
  
   
body.clientes-bg {

    display: block;

    min-height: 100vh;

    background-image:
        linear-gradient(rgba(8, 31, 77, .75),
            rgba(8, 31, 77, .75)),
        url('/static/img/clientes.png');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/* ==========================================================
   LOGIN MODERNO
========================================================== */

.login-page {

    margin: 0;
    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        linear-gradient(rgba(8, 31, 77, .70),
            rgba(8, 31, 77, .70)),
        url("/static/img/clientes.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

}

.login-card {

    width: 430px;

    padding: 45px;

    border-radius: 50px;

    background: rgba(30, 30, 30, .28);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .12);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, .45);

}

.login-card h1 {

    color: #fff;

    text-align: center;

    letter-spacing: 3px;

    margin-bottom: 40px;

    font-size: 34px;

}

.login-card .campo {

    margin-bottom: 22px;

}

.login-card label {

    display: block;

    color: #ffffff;

    font-weight: 600;

    margin-bottom: 8px;

}

.login-card input {

    width: 100%;

    padding: 15px 18px;

    border: 1px solid rgba(255, 255, 255, .18);

    border-radius: 25px;

    background: rgba(255, 255, 255, .12);

    color: #fff;

    font-size: 15px;

    transition: .25s;

    outline: none;

}

.login-card input::placeholder {

    color: #d6d6d6;

}

.login-card input:focus {

    background: rgba(255, 255, 255, .18);

    border-color: #4fc3ff;

    box-shadow:
        0 0 18px rgba(79, 195, 255, .35);

}

.link-esqueceu {

    display: block;

    text-align: right;

    margin-top: -6px;

    margin-bottom: 25px;

    color: #dcdcdc;

    text-decoration: none;

    font-size: 13px;

}

.link-esqueceu:hover {

    color: #ffffff;

}

.btn-login {

    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 25px;

    cursor: pointer;

    font-size: 16px;

    font-weight: bold;

    color: white;

    background: linear-gradient(135deg,
            #2563eb,
            #0ea5e9);

    transition: .30s;

}

.btn-login:hover {   

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(37, 99, 235, .45);

}
/* ==========================================
   ANIMAÇÃO LOGIN
========================================== */

@keyframes aparecerLogin {

    from {

        opacity: 0;
        transform: translateY(25px) scale(.96);

    }

    to {

        opacity: 1;
        transform: translateY(0) scale(1);

    }

}

.login-card {

    animation: aparecerLogin .45s ease-out;

}
.login-erro {

    background: #c62828;

    color: white;

    padding: 12px;

    border-radius: 10px;

    margin-bottom: 25px;

    text-align: center;

    font-weight: bold;

}
/*=========================================================
  USUÁRIO LOGADO
=========================================================*/

.topo {

    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
}

.usuario-menu {

    position: relative;
   
    display: inline-block;

    margin-left: auto;

    padding-bottom: 15px;

}

.usuario-btn {

    display: flex;
    align-items: center;
    gap: 10px;

    background: linear-gradient(135deg, #2563eb, #1d4ed8);

    color: #fff;

    border: none;

    border-radius: 40px;

    padding: 11px 18px;

    cursor: pointer;

    font-size: 15px;

    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, .35);

    transition: .25s;
}

.usuario-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(37, 99, 235, .50);
}

.usuario-dropdown {
   
    position: absolute;

    right: 0;
    top: 45px;

    width: 210px;

    background: white;
 
    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 12px 35px rgba(0, 0, 0, .18);

    display: none;

    z-index: 999;
}

.usuario-dropdown a {

    display: block;

    padding: 14px 18px;

    text-decoration: none;

    color: #1f2937;

    font-weight: 600;

    transition: .20s;
}

.usuario-dropdown a:hover {

    background: #edf4ff;

    color: #0b4ba7;
}

.usuario-menu:hover .usuario-dropdown {
   
    display: block;
}
.usuario-icone {

    width: 22px;
    height: 22px;

    margin-right: 8px;

    flex-shrink: 0;
}

.usuario-btn {

    display: flex;
    align-items: center;
    gap: 8px;
}

.usuario-btn span {

    display: flex;
    align-items: center;
}

.seta {

    font-size: 12px;
}
/*======================================================
  MINHA CONTA
======================================================*/

.pagina-container {

    max-width: 1200px;

    margin: 40px auto;

}
.pagina-topo {

    text-align: left;

    margin-bottom: 30px;

}

.acoes-minha-conta {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;

    margin: 30px auto;

}

.acoes-minha-conta .card-acao {

    width: 320px;
    height: 130px;
    flex: none;

}

.card-conta {

    max-width: 850px;

    margin: 0 auto;

    background: rgba(255, 255, 255, .96);

    backdrop-filter: blur(8px);

    border-radius: 24px;

    overflow: hidden;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);

 

}
.linha-conta {

    display: flex;
    align-items: center;

    padding: 22px 35px;

    border-bottom: 1px solid #ececec;

}

.linha-conta:last-child {

    border-bottom: none;

}

.linha-conta label {

    width: 220px;

    font-weight: 700;

    color: #374151;

}

.linha-conta span {

    flex: 1;

    color: #1f2937;

    font-size: 18px;

} .pagina-topo h1 {
    color: #fff;
}

.pagina-topo p {
    color: #fff;
}
.conta-container {

    max-width: 670px;

    margin: 40px auto;

}

.conta-topo {

    text-align: center;

}

.conta-topo h1 {

    color: #fff;

}

.conta-topo p {

    color: #fff;

} 
/*=========================================
CHECKBOX
=========================================*/

.campo-checkbox {
    margin-top: 25px;
    margin-bottom: 25px;
}

.campo-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
}

.campo-checkbox input {
    width: 18px;
    height: 18px;
}


/*=========================================
BOTÕES FORMULÁRIO
=========================================*/

.barra-acoes-form {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-salvar {

    background: #2563eb;
    color: #fff;

    border: none;

    padding: 14px 30px;

    border-radius: 10px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: .25s;
}

.btn-salvar:hover {

    background: #1d4ed8;

    transform: translateY(-2px);

}

.btn-voltar {

    background: #e5e7eb;

    color: #374151;

    padding: 14px 30px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: bold;

    transition: .25s;

}

.btn-voltar:hover {

    background: #d1d5db;

}
 .alerta-erro {
     background: #ffe5e5;
     border: 1px solid #ff8f8f;
     color: #b10000;
     padding: 14px;
     border-radius: 10px;
     margin: 20px 0;
     font-size: 15px;
     font-weight: 600;
 }

 .alerta-sucesso {
     background: #e7ffe7;
     border: 1px solid #5ac75a;
     color: #136b13;
     padding: 14px;
     border-radius: 10px;
     margin: 20px 0;
     font-size: 15px;
     font-weight: 600;
 }
 .status-ativo {
     color: #27ae60;
     font-weight: 600;
 }

 .status-inativo {
     color: #e74c3c;
     font-weight: 600; 
 }

 .barra-help {

     display: flex;

     justify-content: flex-end;

     margin: 18px 0;

 }

 .btn-help {

     background: #2f66e8;

     color: #fff;

     text-decoration: none;

     padding: 12px 22px;

     border-radius: 12px;

     font-weight: bold;

     transition: .25s;

     box-shadow: 0 8px 20px rgba(0, 0, 0, .18);

 }

 .btn-help:hover {

     background: #173B75;  

     transform: translateY(-2px);

 }
 /*=========================================================
  BOTÕES - NOTA FISCAL
=========================================================*/

.acoes-nota-fiscal{

    display:flex;
    gap:16px;

    margin-top:22px;

    align-items:center;
}

.acoes-nota-fiscal button{

    border:none;

    border-radius:12px;

    padding:14px 28px;

    font-size:15px;

    font-weight:700;

    color:#fff;

    cursor:pointer;

    transition:.25s;

    box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.acoes-nota-fiscal button:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 24px rgba(0,0,0,.25);
}

/* Gerar Nota */

.btn-gerar-nota{

    background:#2563eb;
}

.btn-gerar-nota:hover{

    background:#1d4ed8;
}

/* Enviar */

.btn-enviar-nota{

    background:#16a34a;
}

.btn-enviar-nota:hover{

    background:#15803d;
}

/* Voltar */

.btn-voltar-dashboard{

    background:#6b7280;
}

.btn-voltar-dashboard:hover{

    background:#4b5563;
}
/* =========================================================
   DASHBOARD DO CLIENTE
   ========================================================= */

   .cliente-home {

    min-height: 100vh;

    background-image:
        linear-gradient(
            rgba(5, 35, 90, .72),
            rgba(5, 35, 90, .72)
        ),
        url('/static/img/clientes.png');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    padding: 20px 25px;
}


/* =========================================================
   TOPO DO CLIENTE
   ========================================================= */

.cliente-home .topo {

    background: rgba(255, 255, 255, .96);

    border-radius: 20px;

    padding: 15px 20px;

    margin-bottom: 30px;

    min-height: 78px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .12);

}


.cliente-home .boas-vindas h1 {

    color: #0b2f6b;

    font-size: 26px;

    margin: 0 0 3px 0;

    font-weight: 700;
}


.cliente-home .boas-vindas span {

    color: #333;

    font-size: 15px;
}


/* =========================================================
   TÍTULO CENTRAL
   ========================================================= */

.cliente-home > .conteudo-central {

    text-align: center;

}


.cliente-home .titulo-portal {

    text-align: center;

    margin-top: 35px;

    margin-bottom: 10px;

}


.cliente-home .titulo-portal h1 {

    color: #fff;

    font-size: 42px;

    font-weight: 700;

    margin: 0;
}


.cliente-home .titulo-portal p {

    color: #fff;

    font-size: 18px;

    line-height: 1.5;

    max-width: 850px;

    margin: 15px auto 0;

}


/* =========================================================
   CARDS DO PORTAL DO CLIENTE
   ========================================================= */

.cliente-home .dashboard-cards {

    display: flex;

    justify-content: center;

    align-items: stretch;

    gap: 40px;

    margin-top: 45px;

    width: 100%;
}


.cliente-home .card-dashboard {

    width: 340px;

    min-height: 235px;

    background: rgba(255, 255, 255, .97);

    border-radius: 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    text-decoration: none;

    color: inherit;

    padding: 25px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .18);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.cliente-home .card-dashboard:hover {

    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .28);

}


/* =========================================================
   ÍCONE DOS CARDS
   ========================================================= */

.cliente-home .card-dashboard .icone-card {

    width: 90px;

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 15px;

    font-size: 55px;
}


.cliente-home .card-dashboard .icone-card img {

    width: 90px;

    height: 90px;

    object-fit: contain;

    display: block;
}


/* =========================================================
   TÍTULO DO CARD
   ========================================================= */

.cliente-home .card-dashboard h2 {

    color: #0b3475;

    font-size: 28px;

    font-weight: 700;

    margin: 5px 0 10px;
}


/* =========================================================
   DESCRIÇÃO DO CARD
   ========================================================= */

.cliente-home .card-dashboard span {

    color: #666;

    font-size: 16px;

    line-height: 1.5;

    max-width: 280px;
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 900px) {

    .cliente-home .dashboard-cards {

        gap: 20px;

    }

    .cliente-home .card-dashboard {

        width: 300px;

    }

}


@media (max-width: 700px) {

    .cliente-home .dashboard-cards {

        flex-direction: column;

        align-items: center;

    }

    .cliente-home .card-dashboard {

        width: 90%;

        max-width: 340px;

    }

    .cliente-home .titulo-portal h1 {

        font-size: 34px;

    }

    .cliente-home .titulo-portal p {

        font-size: 16px;

    }

}