/* =========================================================
   SISTEMA IMOBILIÁRIA - CSS PRÓPRIO
   Mobile first | Sem Bootstrap
   ========================================================= */
:root {
    --azul-900: #0f2742;
    --azul-800: #173a60;
    --azul-600: #0d6efd;
    --azul-100: #eef4ff;
    --cinza-950: #0f172a;
    --cinza-800: #1e293b;
    --cinza-700: #334155;
    --cinza-600: #475569;
    --cinza-500: #64748b;
    --cinza-400: #94a3b8;
    --cinza-300: #cbd5e1;
    --cinza-200: #e2e8f0;
    --cinza-100: #f1f5f9;
    --cinza-50: #f8fafc;
    --branco: #ffffff;
    --vermelho: #dc3545;
    --vermelho-escuro: #b02a37;
    --verde: #198754;
    --sombra: 0 18px 50px rgba(15, 23, 42, 0.22);
    --raio: 12px;
}
* {
    box-sizing: border-box;
}
html {
    font-size: 16px;
}
body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--cinza-800);
    background:
        linear-gradient(rgba(10, 27, 46, 0.58), rgba(10, 27, 46, 0.68)),
        url("../img/imobiliaria-fundo.jpg") center center / cover fixed no-repeat;
}
body.modal-aberto {
    overflow: hidden;
}
button,
input,
select {
    font: inherit;
}
button,
a,
select {
    -webkit-tap-highlight-color: transparent;
}
a {
    color: inherit;
}
svg {
    display: block;
}

/* =========================================================
   UTILITÁRIOS DO SISTEMA
   São classes nossas; não dependem de framework.
   ========================================================= */
.d-none {
    display: none !important;
}
.d-flex {
    display: flex;
}
.flex-wrap {
    flex-wrap: wrap;
}
.align-items-center {
    align-items: center;
}
.justify-content-between {
    justify-content: space-between;
}
.justify-content-center {
    justify-content: center;
}
.justify-content-end {
    justify-content: flex-end;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 0.75rem;
}
.text-center {
    text-align: center;
}
.text-start {
    text-align: left;
}
.text-nowrap {
    white-space: nowrap;
}
.text-muted,
.text-secondary {
    color: var(--cinza-500);
}
.text-danger {
    color: var(--vermelho);
}
.mb-0 {
    margin-bottom: 0;
}
.mb-3 {
    margin-bottom: 0.75rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
.me-2 {
    margin-right: 0.5rem;
}
.ms-2 {
    margin-left: 0.5rem;
}
.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.p-4 {
    padding: 1rem;
}
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.py-5 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =========================================================
   GRID PRÓPRIO
   ========================================================= */
.row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.65rem;
}
.g-2 {
    gap: 0.55rem 0.75rem;
}
.col-md,
.col-md-auto,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-7,
.col-md-8,
.col-md-10,
.col-md-12 {
    grid-column: 1 / -1;
    min-width: 0;
}

/* =========================================================
   JANELA PRINCIPAL
   ========================================================= */
.area-clientes {
    width: calc(100% - 16px);
    max-width: 1720px;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    box-shadow: var(--sombra);
    backdrop-filter: blur(6px);
}
.card-body {
    padding: 14px;
}
.titulo-clientes {
    margin: 0;
    font-size: clamp(1.35rem, 5vw, 1.8rem);
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -0.025em;
    color: var(--azul-900);
}
.btn-inicio {
    min-height: 42px;
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    border: 1px solid #b9c5d3;
    border-radius: 9px;
    background: var(--branco);
    color: var(--azul-900);
    font-size: 0.94rem;
    font-weight: 650;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(15, 39, 66, 0.08);
}
.btn-inicio svg {
    width: 17px;
    height: 17px;
}
.link-ordenacao {
    display: inline-block;
    color: var(--cinza-800);
    font-weight: 700;
    text-decoration: none;
}

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
    min-height: 42px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--branco);
    color: var(--cinza-800);
    font-weight: 650;
    line-height: 1.15;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.btn-primary,
.btn-novo-cliente,
.btn-salvar-form,
.btn-editar-modal {
    background: var(--azul-600);
    border-color: var(--azul-600);
    color: var(--branco);
}
.btn-secondary,
.btn-cancelar-form,
.btn-cancelar-exclusao {
    background: var(--branco);
    border-color: var(--cinza-300);
    color: var(--cinza-700);
}
.btn-sm {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 0.86rem;
}
.btn-acao svg {
    width: 15px;
    height: 15px;
}
.btn-editar-cliente {
    background: var(--azul-600);
    border-color: var(--azul-600);
    color: var(--branco);
}
.btn-excluir-cliente,
.btn-excluir-modal,
.btn-confirmar-exclusao {
    background: var(--branco);
    border-color: var(--vermelho);
    color: var(--vermelho-escuro);
}
.btn-visualizar,
.btn-navegacao {
    background: var(--branco);
    border-color: var(--cinza-400);
    color: var(--cinza-700);
}
.acoes-cliente {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    width: 100%;
}
.acoes-cliente .btn {
    width: 100%;
}
.acoes-cliente .btn-visualizar {
    grid-column: 1 / -1;
}
.btn-close {
    width: 40px;
    height: 40px;
    padding: 0;
    position: relative;
    flex: 0 0 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}
.btn-close::before {
    content: "×";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--cinza-600);
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 400;
}
.btn-close:hover {
    background: var(--cinza-100);
}

/* =========================================================
   PESQUISA E FORMULÁRIOS
   ========================================================= */
.form-pesquisa {
    grid-template-columns: 1fr 1fr;
}
.form-pesquisa .col-md {
    grid-column: 1 / -1;
}
.form-pesquisa .col-md-auto {
    grid-column: span 1;
}
.form-pesquisa .btn {
    width: 100%;
}
.form-label,
.rotulo-cliente,
.rotulo-exclusao {
    display: block;
    margin-bottom: 4px;
    color: var(--cinza-600);
    font-size: 0.9rem;
    font-weight: 650;
}
.form-control,
.form-select {
    width: 100%;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid var(--cinza-300);
    border-radius: 8px;
    outline: none;
    background: var(--branco);
    color: var(--cinza-800);
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}
.form-control:disabled,
.campo-id-form {
    background: var(--cinza-100);
    color: var(--cinza-500);
}
.campo-obrigatorio {
    color: var(--vermelho);
}
.controle-registros {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
#porPagina {
    width: 105px !important;
}
.alert {
    padding: 10px 12px;
    border-radius: 8px;
}
.alert-danger {
    border: 1px solid #f1aeb5;
    background: #f8d7da;
    color: #842029;
}

/* =========================================================
   TABELA NO COMPUTADOR / CARTÕES NO CELULAR
   ========================================================= */
.table-responsive {
    width: 100%;
}
.table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: var(--branco);
}
.table th,
.table td {
    padding: 10px 11px;
    border: 1px solid var(--cinza-200);
    vertical-align: middle;
}
.table th {
    background: var(--cinza-50);
    color: var(--cinza-700);
    font-size: 0.91rem;
    text-align: left;
}
.table tbody tr:nth-child(even) {
    background: #fbfcfe;
}
.table tbody tr {
    cursor: pointer;
}
.table tfoot td {
    background: var(--cinza-50);
    color: var(--cinza-600);
}
.resumo-lista-mobile {
    display: none;
}

/* =========================================================
   PAGINAÇÃO
   ========================================================= */
.pagination {
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
}
.page-link {
    min-width: 40px;
    min-height: 40px;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cinza-300);
    border-radius: 7px;
    background: var(--branco);
    color: var(--azul-800);
    text-decoration: none;
    font-size: 0.9rem;
}
.page-item.active .page-link {
    background: var(--azul-600);
    border-color: var(--azul-600);
    color: var(--branco);
}
.page-item.disabled .page-link {
    pointer-events: none;
    opacity: 0.45;
}

/* =========================================================
   MODAIS PRÓPRIOS
   ========================================================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 8px;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.58);
    align-items: flex-start;
    justify-content: center;
}
.modal.show {
    display: flex;
}
.modal-dialog {
    width: 100%;
    max-width: 760px;
    margin: 8px auto;
}
.modal-dialog.modal-xl {
    max-width: 1240px;
}
.modal-content {
    width: 100%;
    overflow: hidden;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    background: var(--branco);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.30);
}
.modal-header {
    padding: 10px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--cinza-200);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.modal-body {
    padding: 12px 13px;
    background: var(--branco);
}
.cabecalho-modal-cliente {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.icone-modal-cliente,
.icone-modal-excluir {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
}
.icone-modal-cliente {
    border: 1px solid #dbe7ff;
    background: var(--azul-100);
    color: var(--azul-600);
}
.icone-modal-excluir {
    border: 1px solid #f1aeb5;
    background: #fff1f2;
    color: var(--vermelho);
    font-weight: 800;
}
.icone-modal-cliente svg {
    width: 20px;
    height: 20px;
}
.modal-title {
    margin: 0;
    color: var(--cinza-800);
    font-size: 1.25rem;
    line-height: 1.15;
    font-weight: 750;
}
.modal-subtitle {
    margin-top: 2px;
    color: var(--cinza-500);
    font-size: 0.84rem;
}
.campo-cliente,
.campo-exclusao {
    min-height: 39px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    background: var(--cinza-50);
    color: var(--cinza-800);
    font-size: 1rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}
.registro-cliente {
    margin-top: 9px;
    padding: 7px 11px;
    border: 1px solid var(--cinza-200);
    border-radius: 8px;
    background: var(--cinza-50);
    color: var(--cinza-500);
    font-size: 0.9rem;
}
.rotulo-registro {
    color: var(--cinza-600);
    font-weight: 650;
}
.acoes-modal-cliente,
.acoes-form-cliente,
.acoes-exclusao-modal {
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid var(--cinza-200);
}
.acoes-modal-cliente {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}
.acoes-modal-cliente > div,
.acoes-modal-cliente > .d-flex {
    display: contents;
}
.acoes-modal-cliente .btn {
    width: 100%;
}
.acoes-form-cliente,
.acoes-exclusao-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.acoes-form-cliente .btn,
.acoes-exclusao-modal .btn {
    width: 100%;
}
.atalhos-modal {
    margin-top: 6px;
    color: var(--cinza-500);
    font-size: 0.78rem;
    text-align: center;
}
.aviso-exclusao-modal {
    padding: 12px;
    display: flex;
    gap: 10px;
    border: 1px solid #f1aeb5;
    border-radius: 10px;
    background: #fff7f7;
}
.icone-aviso-exclusao {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--vermelho);
    color: var(--branco);
    font-weight: 800;
}
.titulo-aviso-exclusao {
    color: #842029;
    font-weight: 750;
}
.texto-aviso-exclusao {
    margin-top: 2px;
    color: #842029;
    font-size: 0.9rem;
}
.dados-exclusao-modal {
    margin-top: 10px;
}

/* =========================================================
   CARREGAMENTO
   ========================================================= */
.carregando {
    min-height: 110px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: var(--cinza-500);
}
.spinner-border {
    width: 28px;
    height: 28px;
    border: 3px solid var(--cinza-200);
    border-top-color: var(--azul-600);
    border-radius: 50%;
    animation: girar 0.75s linear infinite;
}
.text-danger.spinner-border {
    border-top-color: var(--vermelho);
}
@keyframes girar {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   SWEETALERT2 - mantido apenas para mensagens
   ========================================================= */
.swal-personalizado {
    border: 1px solid var(--cinza-200) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.20) !important;
}
.swal-botao {
    padding: 9px 26px !important;
    border-radius: 8px !important;
}

/* =========================================================
   CELULAR - registros em cartões
   ========================================================= */
@media (max-width: 767px) {
    body {
        background-attachment: scroll;
    }
    .py-5 {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .card-body {
        padding: 12px;
    }
    .card-body > .d-flex.justify-content-between {
        align-items: stretch;
    }
    .card-body > .d-flex.justify-content-between > .d-flex {
        width: 100%;
    }
    .btn-novo-cliente {
        width: 100%;
    }
    .table {
        background: transparent;
    }
    .table thead,
    .table tfoot {
        display: none;
    }
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }
    .table tbody tr {
        margin-bottom: 10px;
        overflow: hidden;
        border: 1px solid var(--cinza-200);
        border-radius: 12px;
        background: var(--branco) !important;
        box-shadow: 0 4px 13px rgba(15, 23, 42, 0.07);
    }
    .table tbody td {
        min-height: 38px;
        padding: 8px 10px;
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        align-items: start;
        gap: 8px;
        border: 0;
        border-bottom: 1px solid var(--cinza-100);
        overflow-wrap: anywhere;
    }
    .table tbody td::before {
        content: attr(data-label);
        color: var(--cinza-500);
        font-size: 0.8rem;
        font-weight: 700;
    }
    .table tbody td[data-label="Nome"] {
        background: var(--cinza-50);
        color: var(--azul-900);
        font-weight: 700;
    }
    .table tbody td[data-label="Ações"] {
        display: block;
        padding: 10px;
        border-bottom: 0;
        background: var(--cinza-50);
    }
    .table tbody td[data-label="Ações"]::before {
        display: none;
    }
    .resumo-lista-mobile {
        margin: 6px 0 2px;
        padding: 9px 10px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 6px 14px;
        border: 1px solid var(--cinza-200);
        border-radius: 9px;
        background: var(--cinza-50);
        color: var(--cinza-600);
        font-size: 0.88rem;
    }
    .pagination {
        justify-content: flex-start;
    }
    .page-link {
        min-width: 42px;
        min-height: 42px;
    }
    .modal {
        padding: 4px;
    }
    .modal-dialog,
    .modal-dialog.modal-xl {
        max-width: none;
        margin: 2px auto;
    }
    .modal-content {
        border-radius: 11px;
    }
    .modal-header {
        padding: 8px 9px;
    }
    .modal-body {
        padding: 9px;
    }
    .icone-modal-cliente,
    .icone-modal-excluir {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
    .modal-title {
        font-size: 1.08rem;
    }
    .modal-subtitle {
        font-size: 0.76rem;
    }
    .btn-close {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
    .acoes-modal-cliente,
    .acoes-form-cliente,
    .acoes-exclusao-modal {
        grid-template-columns: 1fr;
    }
    .acoes-modal-cliente > div,
    .acoes-modal-cliente > .d-flex {
        display: contents;
    }
    .atalhos-modal {
        display: none;
    }
}

/* =========================================================
   TABLET E COMPUTADOR
   ========================================================= */
@media (min-width: 768px) {
    .area-clientes {
        width: calc(100% - 32px);
    }
    .card-body {
        padding: 20px;
    }
    .row {
        align-items: end;
    }
    .col-md {
        grid-column: span 8;
    }
    .col-md-auto {
        grid-column: span 2;
    }
    .col-md-2 {
        grid-column: span 2;
    }
    .col-md-3 {
        grid-column: span 3;
    }
    .col-md-4 {
        grid-column: span 4;
    }
    .col-md-5 {
        grid-column: span 5;
    }
    .col-md-7 {
        grid-column: span 7;
    }
    .col-md-8 {
        grid-column: span 8;
    }
    .col-md-10 {
        grid-column: span 10;
    }
    .col-md-12 {
        grid-column: span 12;
    }
    .form-pesquisa {
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: stretch;
    }
    .form-pesquisa .col-md,
    .form-pesquisa .col-md-auto {
        grid-column: auto;
    }
    .form-pesquisa .btn {
        width: auto;
        min-width: 108px;
    }
    .acoes-cliente {
        display: inline-flex;
        width: auto;
        gap: 6px;
    }
    .acoes-cliente .btn {
        width: auto;
        min-width: 94px;
    }
    .acoes-cliente .btn-visualizar {
        grid-column: auto;
    }
    .modal {
        padding: 12px;
        align-items: center;
    }
    .modal-dialog {
        margin: 0 auto;
    }
    .modal-header {
        padding: 12px 20px;
    }
    .modal-body {
        padding: 14px 20px 12px;
    }
    .acoes-modal-cliente {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .acoes-modal-cliente > div,
    .acoes-modal-cliente > .d-flex {
        display: flex;
        gap: 8px;
    }
    .acoes-modal-cliente .btn {
        width: auto;
        min-width: 108px;
    }
    .acoes-form-cliente,
    .acoes-exclusao-modal {
        display: flex;
        justify-content: flex-end;
    }
    .acoes-form-cliente .btn,
    .acoes-exclusao-modal .btn {
        width: auto;
        min-width: 120px;
    }
}

/* =========================================================
   HOVER APENAS EM DISPOSITIVOS COM MOUSE
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
    .btn:hover,
    .btn-inicio:hover,
    .page-link:hover {
        transform: translateY(-1px);
    }
    .btn-inicio:hover {
        background: var(--azul-900);
        border-color: var(--azul-900);
        color: var(--branco);
        box-shadow: 0 4px 10px rgba(15, 39, 66, 0.18);
    }
    .btn-primary:hover,
    .btn-novo-cliente:hover,
    .btn-salvar-form:hover,
    .btn-editar-cliente:hover,
    .btn-editar-modal:hover {
        background: #0b5ed7;
        border-color: #0a58ca;
        color: var(--branco);
    }
    .btn-excluir-cliente:hover,
    .btn-excluir-modal:hover,
    .btn-confirmar-exclusao:hover {
        background: var(--vermelho);
        color: var(--branco);
    }
    .btn-visualizar:hover,
    .btn-navegacao:hover:not(:disabled),
    .btn-secondary:hover,
    .btn-cancelar-form:hover,
    .btn-cancelar-exclusao:hover {
        background: var(--cinza-100);
        border-color: var(--cinza-400);
    }
    .table tbody tr:hover {
        background: #acc7f0;
    }
    .link-ordenacao:hover {
        color: var(--azul-600);
    }
}

/* =========================================================
   ACESSIBILIDADE
   ========================================================= */
.btn:focus-visible,
.btn-inicio:focus-visible,
.btn-close:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.page-link:focus-visible,
.link-ordenacao:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.20);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   DESKTOP COMPACTO - REFERÊNCIA VISUAL DO ZOOM 80%
   Sem usar a propriedade zoom.
   Aplica somente a partir de 900px para preservar o celular.
   ========================================================= */
@media (min-width: 900px) {
    html {
        font-size: 12.8px;
    }

    /* JANELA PRINCIPAL */
    .area-clientes {
        width: calc(100% - 26px);
        max-width: 1376px;
    }
    .card {
        border-radius: 13px;
    }
    .card-body {
        padding: 16px;
    }
    .titulo-clientes {
        font-size: 1.44rem;
    }

    /* BOTÃO INÍCIO */
    .btn-inicio {
        min-height: 34px;
        padding: 6px 10px;
        gap: 6px;
        border-radius: 7px;
        font-size: 0.94rem;
    }
    .btn-inicio svg {
        width: 14px;
        height: 14px;
    }

    /* BOTÕES */
    .btn {
        min-height: 34px;
        padding: 7px 12px;
        gap: 5px;
        border-radius: 7px;
    }
    .btn-sm {
        min-height: 29px;
        padding: 6px 9px;
    }
    .btn-acao svg {
        width: 12px;
        height: 12px;
    }
    .btn-close {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 6px;
    }
    .btn-close::before {
        font-size: 1.55rem;
    }

    /* PESQUISA E FORMULÁRIOS */
    .form-label,
    .rotulo-cliente,
    .rotulo-exclusao {
        margin-bottom: 3px;
    }
    .form-control,
    .form-select {
        min-height: 34px;
        padding: 6px 9px;
        border-radius: 6px;
    }
    .controle-registros {
        gap: 5px;
    }
    #porPagina {
        width: 84px !important;
    }
    .alert {
        padding: 8px 10px;
        border-radius: 6px;
    }
    .form-pesquisa .btn {
        min-width: 86px;
    }

    /* TABELA */
    .table th,
    .table td {
        padding: 5px 9px;
    }
    .acoes-cliente {
        gap: 5px;
    }
    .acoes-cliente .btn {
        min-width: 75px;
    }

    /* PAGINAÇÃO */
    .pagination {
        margin-top: 13px;
        gap: 4px;
    }
    .page-link {
        min-width: 32px;
        min-height: 32px;
        padding: 6px 8px;
        border-radius: 6px;
    }

    /* MODAIS */
    .modal {
        padding: 10px;
    }
    .modal-dialog {
        max-width: 608px;
    }
    .modal-dialog.modal-xl {
        max-width: 992px;
    }
    .modal-content {
        border-radius: 11px;
    }
    .modal-header {
        padding: 10px 16px;
        gap: 10px;
    }
    .modal-body {
        padding: 11px 16px 10px;
    }
    .cabecalho-modal-cliente {
        gap: 8px;
    }
    .icone-modal-cliente,
    .icone-modal-excluir {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        border-radius: 8px;
    }
    .icone-modal-cliente svg {
        width: 16px;
        height: 16px;
    }
    .modal-title {
        font-size: 1.25rem;
    }
    .modal-subtitle {
        margin-top: 1px;
    }
    .campo-cliente,
    .campo-exclusao {
        min-height: 31px;
        padding: 6px 8px;
        border-radius: 6px;
    }
    .registro-cliente {
        margin-top: 7px;
        padding: 6px 9px;
        border-radius: 6px;
    }
    .acoes-modal-cliente,
    .acoes-form-cliente,
    .acoes-exclusao-modal {
        margin-top: 9px;
        padding-top: 8px;
    }
    .acoes-modal-cliente > div,
    .acoes-modal-cliente > .d-flex {
        gap: 6px;
    }
    .acoes-modal-cliente .btn {
        min-width: 86px;
    }
    .acoes-form-cliente .btn,
    .acoes-exclusao-modal .btn {
        min-width: 96px;
    }
    .atalhos-modal {
        margin-top: 5px;
    }
    .aviso-exclusao-modal {
        padding: 10px;
        gap: 8px;
        border-radius: 8px;
    }
    .icone-aviso-exclusao {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }
    .dados-exclusao-modal {
        margin-top: 8px;
    }

    /* CARREGAMENTO */
    .carregando {
        min-height: 88px;
        gap: 8px;
    }
    .spinner-border {
        width: 22px;
        height: 22px;
    }
}

