/* =====================================
   CONFIGURAÇÕES GERAIS
===================================== */

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

body {
    font-family: Arial, sans-serif;
    background: #f5f6f8;
    color: #222;
}

header {
    background: #142c3c;
    color: white;
    padding: 25px 5%;
}

header h1 {
    font-size: 30px;
    letter-spacing: 3px;
}

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

main {
    padding: 30px 5%;
}

.busca {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.busca input {
    flex: 1;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 16px;
}

button {
    background: #249b75;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background: #187b5b;
}

.conteudo {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

#mapa {
    height: 600px;
    border-radius: 10px;
    z-index: 1;
}

.resultados {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-height: 600px;
    overflow-y: auto;
}

.resultados h2 {
    margin-bottom: 20px;
    font-size: 19px;
}

.edificio {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.edificio h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.edificio p {
    color: #777;
    font-size: 13px;
    margin-bottom: 12px;
}

.edificio a {
    display: inline-block;
    margin: 10px 10px 0 0;
    color: #249b75;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 800px) {
    .conteudo {
        grid-template-columns: 1fr;
    }

    #mapa {
        height: 400px;
    }

    .busca {
        flex-direction: column;
    }
}


/* =====================================
   PAINEL ADMINISTRATIVO IMOBVIX
===================================== */

.admin-body {
    margin: 0;
    background: #f5f6f4;
    color: #263640;
    font-family: Arial, Helvetica, sans-serif;
}

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


/* MENU LATERAL */

.admin-sidebar {
    width: 250px;
    background: #172b35;
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.admin-logo {
    padding: 32px 25px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.admin-logo span {
    display: block;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 3px;
}

.admin-logo small {
    display: block;
    margin-top: 7px;
    color: #c5a477;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.admin-menu {
    padding: 25px 15px;
}

.admin-menu a,
.admin-sidebar-bottom a {
    display: block;
    padding: 14px 16px;
    margin-bottom: 7px;
    color: #dce3e5;
    text-decoration: none;
    border-radius: 7px;
    transition: .2s;
    font-size: 14px;
}

.admin-menu a span {
    display: inline-block;
    width: 25px;
    color: #c5a477;
    font-size: 18px;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.admin-sidebar-bottom {
    margin-top: auto;
    padding: 20px 15px;
    border-top: 1px solid rgba(255,255,255,.1);
}


/* CONTEÚDO */

.admin-main {
    flex: 1;
    min-width: 0;
    padding: 35px 45px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.admin-topbar h1 {
    margin: 0 0 8px;
    font-size: 25px;
    color: #172b35;
}

.admin-topbar p,
.admin-section-heading p {
    margin: 0;
    color: #7b878c;
    font-size: 14px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #c5a477;
    color: #172b35;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.admin-user strong,
.admin-user small {
    display: block;
}

.admin-user strong {
    font-size: 13px;
}

.admin-user small {
    margin-top: 4px;
    color: #899397;
    font-size: 12px;
}


/* BOAS-VINDAS */

.admin-welcome {
    background: #172b35;
    color: #fff;
    padding: 30px 35px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.admin-welcome span {
    color: #c5a477;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
}

.admin-welcome h2 {
    margin: 10px 0;
    font-size: 25px;
}

.admin-welcome p {
    margin: 0;
    color: #d0d9dc;
    font-size: 14px;
}

.admin-button {
    display: inline-block;
    padding: 13px 20px;
    background: #c5a477;
    color: #172b35;
    border-radius: 7px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    transition: .2s;
}

.admin-button:hover {
    background: #d7b98e;
}


/* INDICADORES */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.admin-stat-card {
    background: #fff;
    border: 1px solid #e9ecea;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 17px;
    box-shadow: 0 3px 12px rgba(0,0,0,.025);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #f5efe5;
    color: #a88759;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.admin-stat-card span,
.admin-stat-card strong,
.admin-stat-card small {
    display: block;
}

.admin-stat-card span {
    color: #7b878c;
    font-size: 12px;
}

.admin-stat-card strong {
    margin: 7px 0;
    font-size: 28px;
    color: #172b35;
}

.admin-stat-card small {
    color: #9aa3a6;
    font-size: 11px;
}


/* ACESSO RÁPIDO */

.admin-section {
    margin-top: 35px;
}

.admin-section-heading {
    margin-bottom: 18px;
}

.admin-section-heading h2 {
    margin: 0 0 7px;
    color: #172b35;
    font-size: 20px;
}

.admin-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.admin-shortcut {
    display: block;
    padding: 25px;
    background: #fff;
    border: 1px solid #e9ecea;
    border-radius: 10px;
    text-decoration: none;
    transition: .2s;
}

.admin-shortcut:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
    border-color: #c5a477;
}

.shortcut-icon {
    width: 45px;
    height: 45px;
    border-radius: 9px;
    background: #f5efe5;
    color: #a88759;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.admin-shortcut h3 {
    margin: 18px 0 9px;
    color: #172b35;
    font-size: 16px;
}

.admin-shortcut p {
    color: #7b878c;
    font-size: 13px;
    line-height: 1.6;
    min-height: 42px;
}

.admin-shortcut span {
    color: #a88759;
    font-weight: bold;
    font-size: 13px;
}

.admin-footer {
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid #e4e8e5;
    color: #9aa3a6;
    font-size: 12px;
}


/* RESPONSIVIDADE DO PAINEL */

@media (max-width: 900px) {
    .admin-main {
        padding: 25px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        width: 100%;
    }

    .admin-logo {
        padding: 20px;
    }

    .admin-menu {
        display: flex;
        flex-wrap: wrap;
        padding: 10px;
    }

    .admin-menu a {
        margin: 0;
        padding: 10px;
        font-size: 12px;
    }

    .admin-sidebar-bottom {
        padding: 5px 10px;
    }

    .admin-main {
        padding: 20px 15px;
    }

    .admin-topbar,
    .admin-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-welcome {
        padding: 25px 20px;
    }

    .admin-shortcuts {
        grid-template-columns: 1fr;
    }
}


/* =====================================
   GERENCIAMENTO DE EDIFÍCIOS
===================================== */

.ed-resumo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.ed-resumo-card {
    background: #fff;
    padding: 22px 25px;
    border: 1px solid #e9ecea;
    border-radius: 10px;
}

.ed-resumo-card span {
    display: block;
    color: #899397;
    font-size: 12px;
    margin-bottom: 9px;
}

.ed-resumo-card strong {
    display: block;
    font-size: 27px;
    color: #172b35;
}

.ed-lista-area {
    background: #fff;
    border: 1px solid #e9ecea;
    border-radius: 12px;
    padding: 28px;
}

.ed-lista-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.ed-lista-topo h2 {
    margin: 0 0 7px;
    font-size: 19px;
    color: #172b35;
}

.ed-lista-topo p {
    margin: 0;
    font-size: 13px;
    color: #899397;
}

.ed-botao-principal {
    background: #172b35;
    color: #fff;
    padding: 12px 18px;
    text-decoration: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    transition: .2s;
}

.ed-botao-principal:hover {
    background: #294653;
}


/* FILTROS */

.ed-filtros {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) 210px 170px;
    gap: 12px;
    margin-bottom: 18px;
}

.ed-busca {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2e7e4;
    border-radius: 7px;
    padding: 0 13px;
    background: #fff;
}

.ed-busca span {
    color: #a88759;
    font-size: 22px;
}

.ed-busca input {
    width: 100%;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 13px;
    color: #263640;
}

.ed-filtros select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e7e4;
    border-radius: 7px;
    background: #fff;
    color: #526168;
    font-size: 13px;
    outline: none;
}

.ed-busca:focus-within,
.ed-filtros select:focus {
    border-color: #c5a477;
}

.ed-contador {
    color: #899397;
    font-size: 12px;
    padding: 12px 0;
    border-top: 1px solid #edf0ed;
}


/* TABELA */

.ed-tabela-wrapper {
    width: 100%;
    overflow-x: auto;
}

.ed-tabela {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.ed-tabela th {
    text-align: left;
    padding: 15px 13px;
    background: #f7f8f6;
    color: #78858a;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid #e9ecea;
}

.ed-tabela td {
    padding: 17px 13px;
    border-bottom: 1px solid #edf0ed;
    color: #526168;
    font-size: 13px;
    vertical-align: middle;
}

.ed-tabela tbody tr:hover {
    background: #fbfcfa;
}

.ed-identificacao {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 230px;
}

.ed-foto,
.ed-foto-placeholder {
    width: 55px;
    height: 55px;
    border-radius: 7px;
    flex-shrink: 0;
}

.ed-foto {
    object-fit: cover;
    background: #f0f2ef;
}

.ed-foto-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5efe5;
    color: #a88759;
    font-size: 25px;
}

.ed-dados strong {
    display: block;
    color: #172b35;
    font-size: 13px;
    margin-bottom: 6px;
}

.ed-dados small {
    display: block;
    color: #899397;
    font-size: 11px;
    line-height: 1.5;
}

.ed-bairro {
    color: #526168;
}

.ed-plantas {
    color: #172b35;
    font-weight: bold;
}

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

.ed-status.ativo {
    background: #e8f4ed;
    color: #347451;
}

.ed-status.inativo {
    background: #fbecec;
    color: #a64a4a;
}


/* AÇÕES */

.ed-acoes {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ed-acao {
    display: inline-block;
    padding: 8px 11px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    transition: .2s;
}

.ed-acao.editar {
    background: #f1f3f2;
    color: #42545b;
}

.ed-acao.editar:hover {
    background: #e4e9e6;
}

.ed-acao.plantas {
    background: #f5efe5;
    color: #967447;
}

.ed-acao.plantas:hover {
    background: #eee1cd;
}


/* SEM RESULTADOS */

.ed-sem-resultados {
    padding: 40px 20px;
    text-align: center;
    color: #526168;
}

.ed-sem-resultados strong {
    color: #172b35;
    font-size: 15px;
}

.ed-sem-resultados p {
    font-size: 13px;
    color: #899397;
}


/* RESPONSIVIDADE DA LISTA */

@media (max-width: 900px) {
    .ed-filtros {
        grid-template-columns: 1fr 1fr;
    }

    .ed-busca {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {
    .ed-resumo {
        grid-template-columns: 1fr;
    }

    .ed-lista-area {
        padding: 18px 12px;
    }

    .ed-lista-topo {
        align-items: flex-start;
        flex-direction: column;
    }

    .ed-filtros {
        grid-template-columns: 1fr;
    }

    .ed-busca {
        grid-column: auto;
    }
}


/* =====================================
   CADASTRO E EDIÇÃO DE EDIFÍCIOS
===================================== */

.cadastro-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 10px 0 25px;
}

.cadastro-intro span {
    color: #a88759;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.8px;
}

.cadastro-intro h2 {
    margin: 8px 0;
    color: #172b35;
    font-size: 23px;
}

.cadastro-intro p {
    margin: 0;
    color: #899397;
    font-size: 13px;
}

.cadastro-voltar {
    color: #967447;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

.cadastro-voltar:hover {
    color: #172b35;
}

.formulario {
    max-width: 100%;
    margin: 0;
    padding: 32px;
    background: #fff;
    border: 1px solid #e9ecea;
    border-radius: 12px;
    box-sizing: border-box;
}

.formulario h2 {
    margin: 0 0 24px;
    color: #172b35;
    font-size: 18px;
}

.formulario hr {
    border: 0;
    border-top: 1px solid #edf0ed;
    margin: 28px 0;
}

.formulario > p {
    color: #78858a;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 15px;
}

.formulario .campo {
    margin-bottom: 20px;
    min-width: 0;
}

.formulario .campo label {
    display: block;
    color: #43535a;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 9px;
}

.formulario .campo input,
.formulario .campo select,
.formulario .campo textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    border: 1px solid #dfe5e1;
    border-radius: 7px;
    background: #fff;
    color: #263640;
    font-family: inherit;
    font-size: 13px;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.formulario .campo textarea {
    resize: vertical;
    line-height: 1.6;
}

.formulario .campo input:focus,
.formulario .campo select:focus,
.formulario .campo textarea:focus {
    border-color: #c5a477;
    box-shadow: 0 0 0 3px rgba(197,164,119,.12);
}

.formulario .campo input[type="file"] {
    padding: 10px;
    background: #fafbf9;
}

.formulario .campo small {
    display: block;
    margin-top: 7px;
    color: #899397;
    font-size: 11px;
}


/* LINHAS DO FORMULÁRIO */

.formulario .linha {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* NOME DO EDIFÍCIO E STATUS */

.formulario .linha:has([name="nome"]) {
    grid-template-columns: 2fr 1fr;
}


/* ESTADO, CIDADE E BAIRRO */

.formulario .linha:has(#estado) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* MENSAGENS DE CEP E MAPA */

#status-cep,
#status-mapa {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
}

#status-cep.sucesso,
#status-mapa.sucesso {
    color: #347451;
}

#status-cep.aviso,
#status-mapa.aviso {
    color: #a87932;
}

#status-cep.erro,
#status-mapa.erro {
    color: #b64b4b;
}


/* BOTÃO LOCALIZAR */

.botao-localizar {
    display: inline-block;
    padding: 12px 18px;
    margin: 5px 0 12px;
    background: #172b35;
    color: #fff;
    border: 0;
    border-radius: 7px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
}

.botao-localizar:hover {
    background: #294653;
}

.botao-localizar:disabled {
    opacity: .6;
    cursor: wait;
}


/* MAPA DO CADASTRO */

#mapa-cadastro {
    width: 100%;
    height: 390px;
    margin: 15px 0;
    border-radius: 9px;
    border: 1px solid #e3e8e4;
    z-index: 1;
}

.info-mapa {
    padding: 14px 16px;
    margin: 15px 0 22px;
    background: #f5f8f5;
    border-left: 3px solid #c5a477;
    border-radius: 5px;
    color: #68777b;
    font-size: 12px;
    line-height: 1.6;
}


/* BOTÕES DO FORMULÁRIO */

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

.formulario .cadastro-acoes button[type="submit"] {
    display: inline-block;
    padding: 13px 24px;
    background: #172b35;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
}

.formulario .cadastro-acoes button[type="submit"]:hover {
    background: #294653;
}

.formulario .cadastro-acoes a {
    color: #78858a;
    font-size: 13px;
    text-decoration: none;
}

.formulario .cadastro-acoes a:hover {
    color: #172b35;
}


/* =====================================
   MARCADORES PERSONALIZADOS IMOBVIX
===================================== */

.imobvix-marcador-container {
    background: transparent !important;
    border: none !important;
}

.imobvix-marcador {
    width: 220px;
    height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    transform-origin: center bottom;
    transition: transform .2s ease, filter .2s ease;
}

.imobvix-etiqueta {
    max-width: 220px;
    min-width: 115px;
    padding: 8px 14px;
    background: #172b35;
    border: 1px solid #c5a477;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    box-sizing: border-box;
}

.imobvix-nome {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.imobvix-numero {
    color: #c5a477;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.imobvix-pino {
    width: 16px;
    height: 16px;
    background: #c5a477;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    margin-top: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.imobvix-pino-centro {
    width: 5px;
    height: 5px;
    background: #172b35;
    border-radius: 50%;
}


/* =====================================
   DESTAQUE AO PASSAR O MOUSE
===================================== */

.imobvix-marcador-destaque {
    transform: scale(1.15);
    filter: drop-shadow(0 0 9px rgba(197, 164, 119, .95));
}

.imobvix-marcador-destaque .imobvix-etiqueta {
    border-color: #e5c58e;
    box-shadow: 0 0 15px rgba(197, 164, 119, .75);
}

.imobvix-marcador-destaque .imobvix-pino {
    background: #e5c58e;
}


/* =====================================
   RESPONSIVIDADE DO CADASTRO
===================================== */

@media (max-width: 900px) {
    .formulario {
        padding: 24px;
    }
}

@media (max-width: 650px) {
    .cadastro-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .formulario {
        padding: 20px 15px;
    }

    .formulario .linha,
    .formulario .linha:has([name="nome"]),
    .formulario .linha:has(#estado) {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #mapa-cadastro {
        height: 300px;
    }
}


/* =====================================
   PÁGINA PRINCIPAL IMOBVIX
===================================== */

.site-header {
    background: #172b35;
    padding: 25px 5%;
}

.site-header-conteudo {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo h1 {
    color: #fff;
    font-size: 28px;
    letter-spacing: 3px;
}

.site-logo span {
    display: block;
    margin-top: 5px;
    color: #c5a477;
    font-size: 9px;
    letter-spacing: 2px;
}

.site-header-conteudo > p {
    color: #dce3e5;
    font-size: 13px;
}

.site-main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 35px 5%;
}

.apresentacao {
    margin-bottom: 25px;
}

.apresentacao > span {
    color: #a88759;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.apresentacao h2 {
    margin: 10px 0;
    color: #172b35;
    font-size: 25px;
}

.apresentacao p {
    color: #78858a;
    font-size: 14px;
    line-height: 1.6;
}

.busca {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 12px;
    margin-bottom: 22px;
}

.busca select,
.busca input {
    width: 100%;
    min-width: 0;
    padding: 14px;
    border: 1px solid #dfe5e1;
    border-radius: 7px;
    background: #fff;
    color: #263640;
    font-size: 13px;
    outline: none;
}

.busca select:focus,
.busca input:focus {
    border-color: #c5a477;
}

.busca button {
    padding: 14px 25px;
    background: #172b35;
    color: #fff;
    border-radius: 7px;
    font-weight: bold;
}

.busca button:hover {
    background: #294653;
}

.conteudo {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
    gap: 20px;
    align-items: stretch;
}

.mapa-area {
    min-width: 0;
}

#mapa {
    width: 100%;
    height: 650px;
    border-radius: 10px;
    border: 1px solid #e5e9e6;
    z-index: 1;
}

.resultados {
    min-width: 0;
    height: 650px;
    overflow-y: auto;
    padding: 22px;
    background: #fff;
    border: 1px solid #e9ecea;
    border-radius: 10px;
}

.resultados h2 {
    color: #172b35;
    font-size: 18px;
    margin-bottom: 18px;
}

.resultados #lista > p {
    color: #899397;
    font-size: 13px;
    line-height: 1.6;
}

.site-footer {
    margin-top: 35px;
    padding: 20px 0;
    border-top: 1px solid #e5e9e6;
    color: #899397;
    font-size: 12px;
}

@media (max-width: 850px) {
    .conteudo {
        grid-template-columns: 1fr;
    }

    #mapa {
        height: 450px;
    }

    .resultados {
        height: auto;
        max-height: 500px;
    }
}

@media (max-width: 600px) {
    .site-header-conteudo {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-main {
        padding: 25px 15px;
    }

    .apresentacao h2 {
        font-size: 21px;
    }

    .busca {
        grid-template-columns: 1fr;
    }

    #mapa {
        height: 350px;
    }
}


/* =====================================
   BOTÃO EXCLUIR EDIFÍCIO
===================================== */

.ed-acoes {
    flex-wrap: wrap;
}

.form-excluir {
    display: inline-flex;
    margin: 0;
}

.ed-acao.excluir {
    background: #fbecec;
    color: #a64a4a;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.ed-acao.excluir:hover {
    background: #f3dada;
}


/* ======================================
   CORREÇÃO DA BARRA LATERAL DO ADMIN
====================================== */

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    overflow-y: auto;
    flex-shrink: 0;
}

.admin-sidebar-bottom {
    margin-top: auto;
    flex-shrink: 0;
    padding-bottom: 20px;
}

.admin-menu {
    flex-shrink: 0;
}

/* =====================================
   MARCADOR EXIBIDO APÓS O CLIQUE
===================================== */

.imobvix-marcador-container {
    background: transparent !important;
    border: none !important;
}

.imobvix-marcador {
    pointer-events: auto;
    transform: none;
    filter: none;
}

/* Remove o antigo efeito de destaque do pino */
.imobvix-marcador-destaque {
    transform: none;
    filter: none;
}