/* CONFIGURAÇÕES GERAIS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
    color: #333333;
}

/* CABEÇALHO */

header {
    background-color: #142b4a;
    color: white;
    padding: 25px 40px;
}

header h1 {
    font-size: 28px;
}

header p {
    margin-top: 8px;
    color: #cbd5e1;
}

/* CONTEÚDO PRINCIPAL */

main {
    padding: 40px;
}

main h2 {
    color: #142b4a;
    margin-bottom: 15px;
}

main p {
    font-size: 16px;
    line-height: 1.6;
}

/* ESTRUTURA PRINCIPAL */

.container {
    display: flex;
    min-height: 100vh;
}

/* MENU LATERAL */

.sidebar {
    width: 260px;
    background-color: #142b4a;
    color: white;
    padding: 30px 20px;
}

.sidebar h2 {
    font-size: 23px;
    margin-bottom: 8px;
}

.sidebar p {
    color: #cbd5e1;
    margin-bottom: 40px;
}

/* IDENTIDADE VISUAL DO ASSISTENTE PRO */

.sidebar-marca {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.sidebar-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar-identidade h2 {
    font-size: 20px;
    margin: 0 0 4px;
}

.sidebar-identidade p {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
}

/* NAVEGAÇÃO */

.sidebar ul {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}

.sidebar li {
    display: block;
    padding: 12px 0;
    margin: 0 0 4px 0;
    line-height: 1.4;
    height: auto;
    cursor: pointer;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
}

.sidebar li:hover {
    background-color: #29476b;
}

/* CONTEÚDO PRINCIPAL */

.conteudo {
    flex: 1;
    padding: 40px;
    background-color: #f4f6f9;
}

.conteudo h1 {
    color: #142b4a;
    margin-bottom: 15px;
}

.conteudo p {
    color: #555555;
}

.conteudo h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.conteudo p {
    font-size: 16px;
    line-height: 1.6;
}

/* TABELA DE CLIENTES */

.tabela-container {
    margin-top: 30px;
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #142b4a;
    color: white;
}

th, td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

tbody tr:hover {
    background-color: #f1f5f9;
}

/* PADRONIZAÇÃO DO MENU LATERAL */

.sidebar nav ul {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.sidebar nav li {
    margin-bottom: 8px;
    padding: 0;
}

.sidebar nav a {
    display: block;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.sidebar nav a:hover {
    background-color: #29476b;
}

/* FORMULÁRIO DE CADASTRO DE CLIENTES */

.card {
    margin-top: 30px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    max-width: 850px;
}

.card form p {
    margin-bottom: 20px;
    color: #333;
}

.card form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #142b4a;
}

.card input,
.card select,
.card textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    background-color: #fff;
}

.card input:focus,
.card select:focus,
.card textarea:focus {
    outline: none;
    border-color: #29476b;
    box-shadow: 0 0 0 2px rgba(41, 71, 107, 0.12);
}

.card textarea {
    resize: vertical;
}

.btn {
    background-color: #142b4a;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.btn:hover {
    background-color: #29476b;
}

.card a {
    color: #142b4a;
    text-decoration: none;
    margin-left: 15px;
}

.card a:hover {
    text-decoration: underline;
}

/* MENSAGEM DE SUCESSO */

.mensagem-sucesso {
    background-color: #dcfce7;
    color: #166534;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #22c55e;
    font-weight: bold;
}

/* AÇÕES DA PÁGINA DE DETALHES */

.acoes-cliente {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.acoes-cliente a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn-voltar {
    background-color: #64748b;
    color: white;
}

.btn-editar {
    background-color: #2563eb;
    color: white;
}

.acoes-cliente a:hover {
    opacity: 0.85;
}

/* BOTÕES DO FORMULÁRIO DE EDIÇÃO */

.acoes-cliente {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
}

.acoes-cliente button,
.acoes-cliente a {
    display: inline-block;
    padding: 11px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.acoes-cliente .btn-editar {
    background-color: #2563eb;
    color: white;
}

.acoes-cliente .btn-voltar {
    background-color: #64748b;
    color: white;
}

.acoes-cliente a:hover,
.acoes-cliente button:hover {
    opacity: 0.85;
}
.btn-excluir {
    background-color: #dc2626;
    color: white;
    padding: 11px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.btn-excluir:hover {
    background-color: #b91c1c;
}
.acoes-cliente .btn-excluir {
    background-color: #dc2626;
    color: white;
    padding: 11px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.acoes-cliente .btn-excluir:hover {
    background-color: #b91c1c;
}

/* BARRA DE PESQUISA DE CLIENTES */

.form-pesquisa {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.form-pesquisa input {
    width: 220px;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 15px;
    outline: none;
}

.form-pesquisa input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn-pesquisar {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
}

.btn-pesquisar:hover {
    background-color: #1d4ed8;
}

.btn-limpar {
    background-color: #64748b;
    color: white;
    padding: 12px 22px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: bold;
}

.btn-limpar:hover {
    background-color: #475569;
}

/* FILTRO DE STATUS */

.filtro-status {
    height: 43px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: white;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.filtro-status:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* BOTÃO NOVO CLIENTE */

.novo-cliente-container {
    margin-top: 15px;
    margin-bottom: 20px;
}

.btn-novo-cliente {
    display: inline-block;
    background-color: #16a34a;
    color: white;
    padding: 12px 22px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-novo-cliente:hover {
    background-color: #15803d;
    color: white;
}

/* ETIQUETAS VISUAIS DOS STATUS */

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

/* NOVO - AZUL */
.status-novo {
    background-color: #dbeafe;
    color: #1d4ed8;
}

/* EM CONTATO - AMARELO */
.status-contato {
    background-color: #fef3c7;
    color: #92400e;
}

/* PROPOSTA - ROXO */
.status-proposta {
    background-color: #ede9fe;
    color: #6d28d9;
}

/* EM NEGOCIAÇÃO - LARANJA */
.status-negociacao {
    background-color: #ffedd5;
    color: #c2410c;
}

/* FECHADO - VERDE */
.status-fechado {
    background-color: #dcfce7;
    color: #15803d;
}

/* PERDIDO - VERMELHO */
.status-perdido {
    background-color: #fee2e2;
    color: #b91c1c;
}

/* DASHBOARD - INDICADORES */

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.dashboard-card {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    border-left: 5px solid #2563eb;
}

.dashboard-card h3 {
    color: #475569;
    font-size: 16px;
    margin-bottom: 15px;
}

.dashboard-card span {
    font-size: 34px;
    font-weight: bold;
    color: #142b4a;
}

.dashboard-card p {
    margin-top: 10px;
    color: #64748b;
    font-size: 14px;
}

.card-total {
    border-left-color: #2563eb;
}

.card-novo {
    border-left-color: #0ea5e9;
}

.card-andamento {
    border-left-color: #f59e0b;
}

.card-fechado {
    border-left-color: #16a34a;
}

.card-perdido {
    border-left-color: #dc2626;
}

/* ACESSO RÁPIDO */

.dashboard-acesso {
    margin-top: 40px;
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.dashboard-acesso h2 {
    color: #142b4a;
    margin-bottom: 20px;
}

.btn-dashboard {
    display: inline-block;
    background-color: #2563eb;
    color: white;
    padding: 12px 20px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;
    margin-bottom: 8px;
    transition: 0.3s;
}

.btn-dashboard:hover {
    background-color: #1d4ed8;
}

/* INDICADORES DO MODULO DE TAREFAS */

.indicadores-tarefas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.indicadores-tarefas .card-indicador {
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    border-left: 5px solid #2563eb;
}

.indicadores-tarefas .card-indicador h3 {
    font-size: 16px;
    color: #334155;
    margin-bottom: 12px;
}

.indicadores-tarefas .card-indicador strong {
    font-size: 32px;
    color: #142c4c;
}

.indicadores-tarefas .card-indicador p {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
}

.indicadores-tarefas .indicador-pendente {
    border-left-color: #f59e0b;
}

.indicadores-tarefas .indicador-andamento {
    border-left-color: #0ea5e9;
}

.indicadores-tarefas .indicador-concluida {
    border-left-color: #16a34a;
}

@media (max-width: 900px) {
    .indicadores-tarefas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .indicadores-tarefas {
        grid-template-columns: 1fr;
    }
}

/* Indicadores de prazo */

.indicador-atrasada {
    border-left: 5px solid #dc2626;
}

.indicador-hoje {
    border-left: 5px solid #85590c;
}

.indicador-amanha {
    border-left: 5px solid #082970;
}

a.card-indicador {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

a.card-indicador:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* FORMULÁRIO DE TAREFAS */

.form-tarefa {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.form-tarefa .form-grupo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-tarefa label {
    font-weight: 600;
    color: #17365d;
    margin-bottom: 8px;
}

.form-tarefa input,
.form-tarefa select,
.form-tarefa textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #17365d;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-tarefa input:focus,
.form-tarefa select:focus,
.form-tarefa textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-tarefa textarea {
    min-height: 110px;
    resize: vertical;
}

.form-linha {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.acoes-formulario {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 25px;
}

.acoes-formulario .btn-pesquisar,
.acoes-formulario .btn-limpar {
    min-width: 140px;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .form-linha {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .acoes-formulario {
        flex-direction: column;
        align-items: stretch;
    }
}

/* LARGURA DO CARTÃO DO FORMULÁRIO DE TAREFAS */

.container-form-tarefa {
    max-width: 950px;
    margin: 30px auto;
    box-sizing: border-box;
}

/* ETIQUETAS DE STATUS DAS TAREFAS */

.badge-status,
.badge-prioridade {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* STATUS */

.status-pendente {
    background-color: #fef3c7;
    color: #92400e;
}

.status-andamento {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-concluida {
    background-color: #dcfce7;
    color: #166534;
}

/* PRIORIDADES */

.prioridade-baixa {
    background-color: #dcfce7;
    color: #166534;
}

.prioridade-media {
    background-color: #fef3c7;
    color: #92400e;
}

.prioridade-alta {
    background-color: #fee2e2;
    color: #991b1b;
}

/* BOTÃO CONCLUIR TAREFA */

.btn-concluir {
    background-color: #16a34a;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-concluir:hover {
    background-color: #15803d;
}

/* BOTÃO EDITAR */

.btn-editar {
    display: inline-block;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
}

.btn-editar:hover {
    background-color: #1d4ed8;
}

/* BOTÃO EXCLUIR */

.btn-excluir {
    display: inline-block;
    background-color: #dc2626;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
}

.btn-excluir:hover {
    background-color: #b91c1c;
}

/* INDICADORES DE TAREFAS NO DASHBOARD */

.dashboard-tarefas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 20px 0 30px;
}

.dashboard-tarefas .card-indicador {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-tarefas .card-indicador:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
    .dashboard-tarefas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .dashboard-tarefas {
        grid-template-columns: 1fr;
    }

    
}
.titulo-prazos {
    margin-top: 35px;
    margin-bottom: 20px;
    color: #17365d;
}

/* ITEM ATIVO DO MENU */

.sidebar nav a.menu-ativo {
    background-color: #29476b;
    font-weight: bold;
    border-left: 4px solid #60a5fa;
    padding-left: 11px;
}

/* STATUS DOS CONTRATOS */

.contrato-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.contrato-pendente {
    background-color: #fff3cd;
    color: #856404;
}

.contrato-ativo {
    background-color: #d4edda;
    color: #155724;
}

.contrato-encerrado {
    background-color: #d1ecf1;
    color: #0c5460;
}

.contrato-cancelado {
    background-color: #f8d7da;
    color: #721c24;
}

/* PADRONIZAÇÃO DOS BOTÕES DE CONFIRMAÇÃO */

.acoes-formulario .btn-excluir,
.acoes-formulario .btn-limpar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-height: 44px;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
}

.acoes-formulario .btn-excluir {
    border: none;
}

/* PAINEL DE INDICADORES DE CONTRATOS */

.dashboard-contratos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.dashboard-contratos .card-indicador {
    background-color: white;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* CORES DOS INDICADORES */

.card-total {
    border-left: 5px solid #2563eb;
}

.card-ativos {
    border-left: 5px solid #16a34a;
}

.card-pendentes {
    border-left: 5px solid #eab308;
}

.card-encerrados {
    border-left: 5px solid #dc2626;
}

.card-vencidos {
    border-left: 5px solid #dc2626;
}

.card-vencem-7 {
    border-left: 5px solid #eab308;
}

.card-vencem-30 {
    border-left: 5px solid #2563eb;
}

.card-cancelados {
    border-left: 5px solid #64748b;
}

.card-indicador h3 {
    color: #64748b;
    font-size: 15px;
    margin: 0 0 12px;
}

.card-indicador p {
    color: #142b4a;
    font-size: 30px;
    font-weight: bold;
    margin: 0;
}
/* ADAPTAÇÃO PARA TELAS MENORES */

@media (max-width: 900px) {
    .dashboard-contratos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .dashboard-contratos {
        grid-template-columns: 1fr;
    }
}

.dashboard-contratos a.card-indicador {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-contratos a.card-indicador:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Paginação de contratos */
.paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.paginacao a {
    display: inline-block;
    padding: 8px 14px;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.paginacao a:hover {
    background-color: #1d4ed8;
}

.paginacao span {
    font-size: 14px;
    font-weight: bold;
    color: #334155;
}

.acoes-contrato {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.acoes-contrato a {
    margin: 0;
}

/* INDICADORES DE PRAZOS DO PAINEL INICIAL */

.dashboard-tarefas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.dashboard-tarefas .card-indicador {
    display: block;
    background-color: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-tarefas .card-indicador:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.dashboard-tarefas .card-indicador h3 {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 12px;
}

.dashboard-tarefas .card-indicador strong {
    font-size: 32px;
    color: #142c4c;
}

.dashboard-tarefas .card-indicador p {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
}

.dashboard-tarefas .indicador-atrasada {
    border-left: 5px solid #dc2626;
}

.dashboard-tarefas .indicador-hoje {
    border-left: 5px solid #eab308;
}

.dashboard-tarefas .indicador-amanha {
    border-left: 5px solid #1e40af;
}

.dashboard-cards a.dashboard-card {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-cards a.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* BOTÃO EXPORTAR EXCEL */

.btn-exportar {
    display: inline-block;
    background-color: #15803d;
    color: white;
    padding: 12px 18px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
}

.btn-exportar:hover {
    background-color: #166534;
}

/* Alinhamento da opção de remover PDF */
.form-tarefa input[type="checkbox"][name$="-clear"] {
    width: auto;
    display: inline-block;
    margin: 0 8px 0 0;
    vertical-align: middle;
}

.form-tarefa label[for$="-clear"] {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
}

.btn-detalhes {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-detalhes:hover {
    background-color: #1d4ed8;
}

/* Campos dos formulários de cadastro e edição */
.formulario-cliente p {
    margin-bottom: 18px;
}

.formulario-cliente label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #142b4a;
}

.formulario-cliente input:not([type="checkbox"]),
.formulario-cliente select,
.formulario-cliente textarea {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    background-color: #fff;
    box-sizing: border-box;
}

.formulario-cliente input:focus,
.formulario-cliente select:focus,
.formulario-cliente textarea:focus {
    outline: none;
    border-color: #29476b;
    box-shadow: 0 0 0 2px rgba(41, 71, 107, 0.12);
}

.formulario-cliente textarea {
    resize: vertical;
    min-height: 100px;
}

/* FORMULÁRIO DE ACOMPANHAMENTOS */

.container-form-acompanhamento {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    box-sizing: border-box;
}

.form-acompanhamento {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

/* CORES DOS INDICADORES DE ACOMPANHAMENTOS */

.card-indicador.indicador-atrasada {
    border-left: 5px solid #DC2626;
}

.card-indicador.indicador-hoje {
    border-left: 5px solid #D97706;
}

.card-indicador.indicador-amanha {
    border-left: 5px solid #2563EB;
}

.card-indicador.indicador-concluida {
    border-left: 5px solid #16A34A;
}

.btn-acao-followup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    box-sizing: border-box;
    vertical-align: middle;
    text-decoration: none;
}

/* CARTÕES DO MÓDULO DE RELATÓRIOS */

.relatorios-cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .relatorios-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .relatorios-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .relatorios-cards {
        grid-template-columns: 1fr;
    }
}

/* GRÁFICOS DO MÓDULO DE RELATÓRIOS */

.container-grafico {
    background-color: white;
    padding: 25px;
    margin: 20px 0 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.container-grafico h3 {
    color: #17365d;
    margin-bottom: 10px;
}

.container-grafico p {
    color: #64748b;
    margin-bottom: 20px;
}

.area-grafico {
    position: relative;
    width: 100%;
    height: 350px;
}

/* INDICADORES COMPLEMENTARES DOS RELATÓRIOS */

.relatorios-complementares {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
}

@media (max-width: 550px) {
    .relatorios-complementares {
        grid-template-columns: 1fr;
    }
}

/* Identificação da conta no menu lateral */
.sidebar-conta {
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 12px;
    background: #203d60;
    border-radius: 8px;
    color: #ffffff;
}

.sidebar-conta span {
    display: block;
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 5px;
}

.sidebar-conta strong {
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}

/* Botão para sair da conta */
.btn-sair {
    width: 100%;
    padding: 9px;
    background: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-sair:hover {
    background: #b02a37;
}

.sidebar-conta form {
    margin: 0;
}

.recuperar-senha {
    text-align: center;
    margin-top: 20px;
}

.recuperar-senha a {
    color: #17365D;
    text-decoration: none;
    font-size: 13px;
}

.recuperar-senha a:hover {
    text-decoration: underline;
}

/* =================================
   TELAS DE AUTENTICAÇÃO
================================= */

.login-container {
    background: #ffffff;
    width: 100%;
    max-width: 410px;
    padding: 40px;
    margin: 60px auto;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.login-container .logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-container .logo h1 {
    color: #17365D;
    font-size: 27px;
    margin-bottom: 8px;
}

.login-container .logo p {
    color: #64748b;
    font-size: 14px;
}

.login-container form p {
    margin-bottom: 18px;
}

.login-container label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-weight: bold;
    font-size: 14px;
}

.login-container input {
    width: 100%;
    padding: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 15px;
}

.login-container input:focus {
    outline: none;
    border-color: #17365D;
}

.login-container .instrucoes {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.login-container .botao {
    display: block;
    width: 100%;
    padding: 14px;
    background: #17365D;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.login-container .botao:hover {
    background: #244b78;
}

.login-container .recuperar-senha {
    text-align: center;
    margin-top: 20px;
}

.login-container .recuperar-senha a {
    color: #17365D;
    text-decoration: none;
    font-size: 13px;
}

.login-container .recuperar-senha a:hover {
    text-decoration: underline;
}

.login-container .erro {
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 15px;
}

.login-container ul.errorlist {
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 12px;
}

/* AJUSTE DA LOGO NO MENU LATERAL */

.sidebar-marca {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    margin-bottom: 40px;
}

.sidebar-logo {
    display: block;
    width: 42px !important;
    height: 42px !important;
    max-width: 42px;
    object-fit: contain;
    flex: 0 0 42px;
}

.sidebar-identidade {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-identidade h2 {
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 4px;
}

.sidebar-identidade p {
    font-size: 12px;
    line-height: 1.2;
    margin: 0;
}