@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    background: #f0f2f5;
    color: #333;
}

/* ======================================================
   TÍTULOS INTERNOS (h2 / h4 - sobrescreve Cufon)
====================================================== */
h2 {
    font-size: 22px;
    font-weight: 700;
    color: #FFF;
    letter-spacing: 0.5px;
    line-height: 56px;
    margin-left: 20px;
}

h2 span {
    font-size: 22px;
    display: inline;
    height: auto;
    overflow: visible;
    margin-left: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

h4 span {
    font-size: 13px;
    letter-spacing: 2px;
}

/* ======================================================
   ESTRUTURA GERAL
====================================================== */
#geral {
    position: absolute;
    width: 100%;
    height: auto;
    background-color: #f0f2f5;
    overflow: hidden;
}

/* ======================================================
   TOPO / HEADER
====================================================== */
#topo {
    position: relative;
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #0d4c76 0%, #1a7ab5 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#topo h2 {
    margin: 0 0 0 24px;
    line-height: 56px;
    font-size: 18px;
    font-weight: 600;
    color: #FFF;
    letter-spacing: 0.5px;
}

#InfLogin {
    position: relative;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    float: none;
    top: auto;
    right: auto;
    margin-right: 24px;
    letter-spacing: 0.3px;
}

/* ======================================================
   MENU
====================================================== */
#menu {
    width: 100%;
    height: 38px;
    background: #0a3d5f;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#menuBarGeral {
    margin-left: 16px;
    flex: 1;
}

#menuBarSair {
    float: none;
    width: auto;
    height: auto;
    margin: 0 20px 0 0;
    text-align: right;
}

#menuBarSair a {
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 5px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

#menuBarSair a:hover {
    background: rgba(255,255,255,0.12);
    color: #FFF;
}

/* ======================================================
   CORPO PRINCIPAL
====================================================== */
#corpo {
    width: 980px;
    height: auto;
    position: relative;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.1);
    overflow: hidden;
}

#iGeralFrame {
    width: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

/* ======================================================
   LOGIN
====================================================== */
#login {
    position: relative;
    width: 360px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    margin: 60px auto 0 auto;
    left: auto;
    overflow: hidden;
}

#login::before {
    content: '';
    display: block;
    height: 5px;
    background: linear-gradient(to right, #0d4c76, #1a7ab5);
}

#login #titulo {
    position: relative;
    width: auto;
    height: auto;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    color: #0d4c76;
    font-weight: 700;
    font-size: 16px;
    margin: 0;
    text-align: center;
    padding: 22px 20px 8px 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#login #tituloErr {
    position: relative;
    width: auto;
    height: auto;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    color: #c0392b;
    font-weight: 600;
    font-size: 13px;
    margin: 0;
    text-align: center;
    padding: 18px 20px 6px 20px;
    background: #fff5f5;
}

#login #form,
#login #FrmLogin {
    position: relative;
    width: auto;
    height: auto;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #444;
    margin: 0;
    line-height: 1.5;
    padding: 16px 28px 28px 28px;
    float: none;
}

#login #FrmLogin table {
    width: 100%;
}

#login #FrmLogin td {
    padding: 5px 0;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

#login #FrmLogin input[type="text"],
#login #FrmLogin input[type="password"] {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #d0d8e4;
    border-radius: 6px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 13px;
    color: #333;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

#login #FrmLogin input[type="text"]:focus,
#login #FrmLogin input[type="password"]:focus {
    border-color: #1a7ab5;
    box-shadow: 0 0 0 3px rgba(26,122,181,0.15);
    background: #fff;
}

#login #FrmLogin #Submit {
    float: none;
    margin-top: 14px;
    width: 100%;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    display: block;
}

/* ======================================================
   CONTAINER DE CONTEÚDO (dentro do iframe)
====================================================== */
#DivGeral {
    width: auto;
    height: auto;
    background: #fff;
    margin: 16px;
    border-radius: 8px;
    border: 1px solid #e8ecf0;
    padding-bottom: 16px;
    overflow: hidden;
}

#DivGeral #TitGeral {
    width: auto;
    height: auto;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #0d4c76;
    padding: 16px 20px 12px 20px;
    border-bottom: 2px solid #e8ecf0;
    background: linear-gradient(to right, #f8fafc, #fff);
    letter-spacing: 0.3px;
}

#DivGeral #obsObrigatorio {
    width: auto;
    height: auto;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: #888;
    float: right;
    line-height: 1;
    margin: -28px 16px 0 0;
    text-align: right;
}

#DivGeral #TitGeralIncluir {
    width: auto;
    height: auto;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #1a7ab5;
    text-align: right;
    margin: -28px 16px 0 0;
    line-height: 1;
    float: right;
}

#DivGeral #TitGeralIncluir a {
    display: inline-block;
    text-decoration: none;
    color: #FFF;
    background: linear-gradient(to bottom, #28a745, #1e7e34);
    padding: 6px 14px;
    border-radius: 6px;
    border: none;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: opacity 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 6px rgba(30,126,52,0.3);
}

#DivGeral #TitGeralIncluir a:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    color: #FFF;
    background: linear-gradient(to bottom, #28a745, #1e7e34);
}

/* ======================================================
   FILTROS
====================================================== */
.DivFiltros {
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 500;
    font-size: 12px;
    margin: 12px 16px 8px 16px;
    line-height: 1.6;
    clear: both;
}

.DivFiltros b {
    font-size: 11px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.DivFiltros input[type="text"] {
    padding: 5px 8px;
    border: 1.5px solid #d0d8e4;
    border-radius: 5px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 12px;
    color: #333;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s ease;
}

.DivFiltros input[type="text"]:focus {
    border-color: #1a7ab5;
    background: #fff;
}

.DivFiltros select {
    padding: 5px 8px;
    border: 1.5px solid #d0d8e4;
    border-radius: 5px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 12px;
    color: #333;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s ease;
}

.DivFiltros select:focus {
    border-color: #1a7ab5;
}

.DivFiltros a {
    text-decoration: none;
    color: #1a7ab5;
    font-weight: 600;
    padding: 4px 10px;
    border: 1px solid #b8d8f0;
    border-radius: 4px;
    background: #e8f4fd;
    transition: background 0.2s ease, color 0.2s ease;
    display: inline-block;
    margin-left: 4px;
}

.DivFiltros a:hover {
    background: #1a7ab5;
    color: #FFF;
}

/* Botão Pesquisar */
.btn-pesquisar {
    display: inline-block;
    padding: 7px 16px;
    background: linear-gradient(135deg, #f39c12, #d68910) !important;
    color: #FFF !important;
    border: none !important;
    border-radius: 6px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0.3px;
    cursor: pointer;
    margin-left: 6px;
    transition: opacity 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 6px rgba(214,137,16,0.4);
}
.btn-pesquisar:hover { opacity: 0.88; transform: translateY(-1px); color: #FFF !important; }

/* Botão Exportar */
.btn-exportar {
    display: inline-block;
    padding: 7px 16px;
    background: linear-gradient(135deg, #27ae60, #1a7a42) !important;
    color: #FFF !important;
    border: none !important;
    border-radius: 6px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0.3px;
    cursor: pointer;
    margin-left: 0;
    transition: opacity 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 6px rgba(26,122,66,0.4);
}
.btn-exportar:hover { opacity: 0.88; transform: translateY(-1px); color: #FFF !important; }

/* ======================================================
   TABELA DE LISTAGEM
====================================================== */
#ListaCat {
    width: auto;
    margin: 12px 16px 0 16px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #333;
}

#tbCat {
    width: 100%;
    border-collapse: collapse;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e6ec;
}

#tbCat td, #tbCat th {
    border: none;
    border-bottom: 1px solid #e8ecf0;
    padding: 9px 10px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 12px;
}

#tbCat #tbCatTitulos {
    background: linear-gradient(to right, #0d4c76, #1a6fa0);
    color: #FFF;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

#tbCat #tbCatTitulos td {
    border-bottom: none;
    color: #FFF !important;
    padding: 11px 10px;
}

#tbCat #tbCatDados {
    color: #444;
    font-weight: 400;
    font-size: 12px;
    transition: background 0.15s ease;
}

#tbCat #tbCatDados:nth-child(even) {
    background: #f7f9fc;
}

#tbCat #tbCatDados:hover {
    background: #edf4fd;
}

#tbCat a {
    text-decoration: none;
    color: #1a7ab5;
    font-weight: 500;
    transition: color 0.15s ease;
}

#tbCat a:hover {
    color: #0d4c76;
}

/* ======================================================
   FORMULÁRIO DE CADASTRO
====================================================== */
#tbCatCad {
    width: auto;
    margin: 16px 16px 0 16px;
    border-collapse: separate;
    border-spacing: 0;
}

#tbCatCad td {
    padding: 7px 10px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 13px;
    color: #555;
    vertical-align: middle;
}

#tbCatCad input[type="text"],
#tbCatCad input[type="number"],
#tbCatCad textarea,
#tbCatCad select {
    padding: 7px 10px;
    border: 1.5px solid #d0d8e4;
    border-radius: 6px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 13px;
    color: #333;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

#tbCatCad input[type="text"]:focus,
#tbCatCad input[type="number"]:focus,
#tbCatCad textarea:focus,
#tbCatCad select:focus {
    border-color: #1a7ab5;
    box-shadow: 0 0 0 3px rgba(26,122,181,0.12);
    background: #fff;
}

/* ======================================================
   ERROS
====================================================== */
#DivErr {
    margin: 8px 16px;
    background: #fde8e8;
    border: 1px solid #f5c2c2;
    border-left: 4px solid #c0392b;
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #922b21;
    width: auto;
}

/* ======================================================
   HOME / RESUMOS
====================================================== */
#resumos {
    width: auto;
    height: auto;
    background: #fff;
    margin: 16px;
    border-radius: 8px;
    padding-bottom: 20px;
}

#resumos #TitResumos {
    width: auto;
    height: auto;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #0d4c76;
    padding: 20px 20px 8px 20px;
}

#textoHome {
    width: auto;
}

#textoHome h3 {
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 20px 10px 20px;
    text-align: center;
    color: #0d4c76;
    border-bottom: 1px solid #e8ecf0;
    margin-bottom: 10px;
}

#textoHome center {
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    color: #1a7ab5;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#textoHome p {
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 400;
    font-size: 13px;
    padding: 6px 20px 8px 20px;
    color: #555;
    text-align: justify;
    line-height: 1.75;
}

/* ======================================================
   ABAS (formulário de imóveis)
====================================================== */
.abaativa {
    font-family: 'Poppins', Verdana, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #FFF;
    background: linear-gradient(to bottom, #1a7ab5, #0d4c76);
    border-radius: 5px 5px 0 0;
    padding: 6px 14px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.abainativa {
    font-family: 'Poppins', Verdana, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    background: #e8ecf0;
    border-radius: 5px 5px 0 0;
    padding: 6px 14px;
    cursor: pointer;
    border: none;
    height: auto;
    transition: background 0.2s ease;
}

.abainativa:hover {
    background: #d8e4f0;
    color: #0d4c76;
}

/* ======================================================
   RODAPÉ ADMIN
====================================================== */
#rodape {
    position: relative;
    width: 100%;
    background: linear-gradient(to right, #0d4c76, #1a7ab5);
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 12px;
    margin-top: 20px;
}

/* ======================================================
   VISÃO GERAL / ÚLTIMAS VENDAS
====================================================== */
#resumos #visaoGeral,
#resumos #ultimasVendas {
    width: 45%;
    height: auto;
    min-height: 200px;
    float: left;
    margin-top: 16px;
    margin-left: 2%;
    border: 1px solid #e0e6ec;
    border-radius: 8px;
    overflow: hidden;
}

#resumos #visaoGeral #TitvisaoGeral,
#resumos #ultimasVendas #TitultimasVendas {
    width: auto;
    height: auto;
    background: linear-gradient(to right, #0d4c76, #1a6fa0);
    padding: 10px 16px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #FFF;
    text-align: center;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

#TableVisaoGeral {
    margin: 10px 0;
    width: 100%;
}

#TableVisaoGeral #titulo {
    width: auto;
    height: auto;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #444;
    padding: 6px 14px;
}

#TableVisaoGeral #resultado {
    width: 100px;
    height: auto;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 12px;
    text-align: right;
    padding: 6px 14px;
    font-weight: 600;
    color: #0d4c76;
}

#TableUltimasVendas {
    margin: 10px 0;
    width: 100%;
}

#TableUltimasVendas #nroPedido,
#TableUltimasVendas #nomeCli,
#TableUltimasVendas #dtPedido,
#TableUltimasVendas #vlrPedido {
    height: auto;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 11px;
    color: #444;
    padding: 5px 12px;
}

/* ======================================================
   MISC
====================================================== */
#frmDados iframe {
    width: 160px;
    height: 160px;
    border: 2px solid #e0e6ec;
    border-radius: 6px;
}

.style1 {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 12px;
}

/* ======================================================
   FOTOS — miniatura + botão remover
====================================================== */
#removeImg {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 6px 6px 6px 0;
    padding: 8px;
    background: #f7f9fc;
    border: 1px solid #e0e6ec;
    border-radius: 8px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#removeImg:hover {
    border-color: #b8d8f0;
    box-shadow: 0 2px 10px rgba(26,122,181,0.12);
}

#removeImg img {
    border-radius: 5px;
    display: block;
    object-fit: cover;
}

#removeImg a {
    font-family: 'Poppins', Verdana, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #c0392b;
    text-decoration: none;
    background: #fde8e8;
    border: 1px solid #f5c2c2;
    border-radius: 4px;
    padding: 2px 10px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

#removeImg a:hover {
    background: #c0392b;
    color: #FFF;
    border-color: #c0392b;
}

/* ======================================================
   CHECKBOXES
====================================================== */
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1a7ab5;
    cursor: pointer;
    margin-right: 6px;
    vertical-align: middle;
}

/* ======================================================
   INPUT FILE (upload de fotos)
====================================================== */
input[type="file"] {
    font-family: 'Poppins', Verdana, sans-serif;
    font-size: 12px;
    color: #555;
    background: #f8fafc;
    border: 1.5px dashed #b8d0e8;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    outline: none;
}

input[type="file"]:hover {
    border-color: #1a7ab5;
    background: #edf4fd;
}

/* ======================================================
   BOTÕES DE AÇÃO
====================================================== */
.btn-gravar {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(to bottom, #1a7ab5, #0d4c76);
    color: #FFF;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.4px;
    vertical-align: middle;
    transition: opacity 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 6px rgba(13,76,118,0.3);
}

.btn-gravar:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-cancelar {
    display: inline-block;
    padding: 8px 20px;
    background: #e8ecf0;
    color: #555;
    border: 1px solid #ccd4dc;
    border-radius: 6px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.3px;
    vertical-align: middle;
    margin-left: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-cancelar:hover {
    background: #d0d8e4;
    color: #333;
}

/* Botão Editar (azul) */
.btn-editar {
    display: block;
    padding: 6px 10px;
    background: linear-gradient(135deg, #2980b9, #1a5f8a);
    color: #FFF !important;
    border-radius: 6px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0.3px;
    text-align: center;
    margin-bottom: 4px;
    transition: opacity 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 5px rgba(26,95,138,0.35);
}
.btn-editar:hover { opacity: 0.88; transform: translateY(-1px); color: #FFF !important; }

/* Botão Excluir (vermelho) */
.btn-excluir {
    display: block;
    padding: 6px 10px;
    background: linear-gradient(135deg, #e74c3c, #a93226);
    color: #FFF !important;
    border-radius: 6px;
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0.3px;
    text-align: center;
    transition: opacity 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 5px rgba(169,50,38,0.35);
}
.btn-excluir:hover { opacity: 0.88; transform: translateY(-1px); color: #FFF !important; }

/* Garante cor branca nos botões dentro da tabela (sobrescreve #tbCat a) */
#tbCat .btn-editar,
#tbCat .btn-excluir { color: #FFF !important; }
#tbCat .btn-editar:hover,
#tbCat .btn-excluir:hover { color: #FFF !important; }

/* Célula de ação: alinha botões no topo */
#tbCat #tbCatDados td:last-child {
    vertical-align: top;
    padding-top: 10px;
    width: 110px;
}

/* ======================================================
   CONTEÚDO DAS ABAS (divGeral, divFotos, divDetalhes)
====================================================== */
#divGeral,
#divFotos,
#divDetalhes {
    padding: 4px 0 0 0;
    border-top: 3px solid #1a7ab5;
    margin-top: -3px;
}

/* ======================================================
   LABEL GLOBAL (fora de categorias)
====================================================== */
#tbCatCad td:first-child {
    font-weight: 600;
    color: #444;
    font-size: 12px;
    white-space: nowrap;
    padding-right: 16px;
}

/* ======================================================
   SELECT GLOBAL
====================================================== */
select {
    font-family: 'Poppins', Verdana, Geneva, sans-serif;
    font-size: 12px;
    color: #333;
}

/* ======================================================
   SCROLLBAR PERSONALIZADA
====================================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f2f5;
}

::-webkit-scrollbar-thumb {
    background: #b8cfe0;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a7ab5;
}

/* ======================================================
   BADGE DE STATUS (Habilitado / Desabilitado)
====================================================== */
#tbCat #tbCatDados td {
    position: relative;
}

#tbCat tr td:has(+ *) {
    vertical-align: middle;
}

/* Estilos inline para status via JS — fallback CSS */
.status-hab {
    display: inline-block;
    padding: 2px 10px;
    background: #e6f9f0;
    color: #1e8449;
    border: 1px solid #a9dfbf;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.status-des {
    display: inline-block;
    padding: 2px 10px;
    background: #fde8e8;
    color: #c0392b;
    border: 1px solid #f5c2c2;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
