:root {
    --primary-gradient: #7e319c;
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: #7e319c;
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-light: #a0aec0;
    --bg-white: #ffffff;
    --bg-gray: #f7fafc;
    --border-light: #e2e8f0;
    --overlay-icon-bg: #ffffff;
    --overlay-icon-fg: #7e319c;
    --overlay-icon-border: rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

:root[data-theme="dark"] {
    --primary-gradient: #d6a9ff;
    --accent-gradient: #d6a9ff;
    --bg-white: #241c31;
    --bg-gray: #2c2239;
    --border-light: #544167;
    --overlay-icon-bg: #2b3036;
    --overlay-icon-fg: #c4ccd8;
    --overlay-icon-border: #4a515d;
    --text-primary: #f7f1fb;
    --text-secondary: #d6c9e0;
    --text-light: #b29fc0;
}

:root[data-theme="dark"] .user-types-grid .user-type-icon {
    background: var(--primary-color) !important;
    color: #000;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --primary-gradient: #d6a9ff;
        --accent-gradient: #d6a9ff;
        --bg-white: #241c31;
        --bg-gray: #2c2239;
        --border-light: #544167;
        --overlay-icon-bg: #2b3036;
        --overlay-icon-fg: #c4ccd8;
        --overlay-icon-border: #4a515d;
        --text-primary: #f7f1fb;
        --text-secondary: #d6c9e0;
        --text-light: #b29fc0;
    }

    :root:not([data-theme="light"]) .user-type-icon {
        background: var(--primary-color) !important;
    }
}

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

/* Remove .overlay styles as it's no longer needed */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: var(--primary-gradient);
    padding: 50px 50px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modal-body {
    padding-bottom: 15px;
    flex-grow: 1; /* Allow body to take available space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* A partir de 1023px, fixa a largura e centraliza */
@media (min-width: 1223px) {
    .modal-body {
        width: 1220px; /* define o tamanho fixo que você quiser */
        margin: 0 auto; /* centraliza horizontalmente */
        padding-top: 10px;
    }
}

.modal-footer {
    /* mantém o fluxo do documento */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 50px 20px;
    max-width: 850px;
    box-sizing: border-box;
}

.logo {
    color: white;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 400;
}

.welcome-text {
    /* text-align: center; */
    margin-bottom: 20px;
}

.welcome-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.welcome-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* GRID LAYOUT - Desktop: 2x2, Mobile: 1 coluna */
.user-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 50px;
    max-width: 1100px; /* Limit grid width for better readability on large screens */
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.user-types-grid-no-repeat {
    grid-template-columns: repeat(1, 1fr);
}

.user-types-grid a {
    color: var(--text-primary);
}

.user-type-card-2 {
    background: var(--bg-white);
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.user-type-card {
    align-items: center;
    background: var(--surface-elevated);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    /* box-shadow: var(--shadow); */
    transition: all 0.3s ease;
    /* border: 1px solid var(--border-color); */
    position: relative; /* allow absolute positioning of child overlay icons on desktop */
    cursor: pointer;
    color: var(--text-primary);
}

.user-type-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    margin-bottom: 8px;
    background: var(--primary-color);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
    position: relative; /* allow absolute positioning of child icons */
}

/* Place a secondary icon (e.g. house) overlapping bottom-right of the main icon */
/* overlay small icons for desktop only (house/shop) */
@media screen and (min-width: 0px) {
    .user-type-icon i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .user-type-icon i.bi-house,
    .user-type-icon i.bi-shop {
        position: absolute;
        bottom: -6px;
        right: -6px;
        width: 30px;
        height: 30px;
        background: var(--overlay-icon-bg);
        color: var(--overlay-icon-fg);
        border-radius: 50%;
        font-size: 14px;
        line-height: 1;
        box-shadow: 0 2px 6px rgba(0,0,0,0.12);
        z-index: 5;
        border: 2px solid var(--overlay-icon-border);
    }
}

.user-type-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.user-type-description {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.5;
    color: var(--text-secondary);
}

.continue-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
    pointer-events: none;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}
/* TABLET LAYOUT - Telas médias (768px - 1023px) */
@media screen and (max-width: 1223px) and (min-width: 550px) {
    .modal-header {
        padding: clamp(28px, 4.5vw, 48px) clamp(24px, 4vw, 40px) clamp(36px, 6vw, 60px);
    }

    .modal-body {
        padding: clamp(8px, 8px, 8px);
    }

    .modal-footer {
        padding: 0 clamp(24px, 4vw, 40px) clamp(24px, 6vw, 40px);
    }

    .logo {
        font-size: clamp(28px, 3.2vw, 32px);
    }

    .welcome-title {
        font-size: clamp(22px, 3vw, 28px);
    }

    .user-types-grid {
        gap: clamp(8px, 2.2vw, 12px);
        margin-bottom: clamp(24px, 1.5vw, 40px);
    }

    /* Cards mais compactos e adaptáveis no tablet */
    .user-type-card {
        align-items: center;
        border-radius: 15px;
        padding: 2.5rem 2rem;
        text-align: center;
        /* box-shadow: var(--shadow); */
        transition: all 0.3s 
    ease;
        /* border: 1px solid var(--border-color); */
        cursor: pointer;
    }

    .user-type-icon {
        width: clamp(48px, 6vw, 64px);
        height: clamp(48px, 6vw, 64px);
        font-size: clamp(20px, 2.6vw, 28px);
        flex-shrink: 0;
    }

    .user-type-title {
        font-size: clamp(16px, 2.2vw, 18px);
    }

    .user-type-description {
        font-size: clamp(13px, 1.8vw, 14px);
        line-height: 1.35;
        color: inherit;
    }
}

/* MOBILE LAYOUT - Telas pequenas (até 767px) */
@media screen and (max-width: 550px) {
    body {
        padding: 0;
    }

    .modal {
        border-radius: 0;
    }

    .modal-header {
        padding: clamp(20px, 5vw, 32px) clamp(16px, 4vw, 24px) clamp(28px, 6vw, 48px);
    }

    .modal-body {
        /* padding: clamp(18px, 4.5vw, 32px) clamp(12px, 4vw, 24px); */
        padding-top: 15px;
    }

    .modal-footer {
        padding: 0 clamp(12px, 4vw, 24px) clamp(16px, 6vw, 32px);
    }

    .logo {
        font-size: clamp(22px, 4.5vw, 28px);
    }

    .tagline {
        font-size: clamp(14px, 3.6vw, 16px);
    }

    .welcome-title {
        font-size: clamp(20px, 4vw, 24px);
    }

    .welcome-description {
        font-size: clamp(14px, 3.6vw, 16px);
    }

    /* MOBILE: Grid em 1 coluna */
    .user-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(12px, 3.2vw, 16px);
        margin-bottom: 0px;
        padding: 15px;
        padding-top: 5px;
    }

    .footer-options {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .continue-btn {
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
        justify-content: center;
        display: flex;
        align-items: center;
    }
}

@media screen and (min-width: 550px) {
    /* Fullscreen Modal */
    .inner-modal {
        margin-top: 85px;
    }
}

/* MOBILE PEQUENO - Telas muito pequenas (até 479px) */
@media screen and (max-width: 550px) {

    /* Fullscreen Modal */
    .inner-modal {
        margin-top: 70px;
    }

    .modal-header {
        padding: clamp(14px, 5.5vw, 24px) clamp(12px, 4vw, 20px) clamp(20px, 6.5vw, 36px);
    }

    .modal-footer {
        padding: 0 clamp(10px, 4vw, 20px) clamp(12px, 6vw, 24px);
    }

    .logo {
        font-size: clamp(20px, 5.5vw, 24px);
    }

    .welcome-title {
        font-size: clamp(18px, 5vw, 22px);
    }

    /* Cards: empilha ícone acima do texto em telas muito pequenas para melhor leitura */
    .user-types-grid {
        margin-left: 0px;
        margin-right: 0px;
    }

    /* Cards: empilha ícone acima do texto em telas muito pequenas para melhor leitura */
    .user-type-card {
        justify-content: center;     /* Centraliza verticalmente */
        align-items: center;         /* Centraliza horizontalmente */
        
        border-radius: 15px;
        padding: 1.5rem 1rem;
        text-align: center;
        /* box-shadow: var(--shadow); */
        transition: all 0.3s ease;
        /* border: 1px solid var(--border-color); */
        cursor: pointer;
        /* min-height: 230px !important; */
    }

    .user-type-card3 {
        justify-content: center;     /* Centraliza verticalmente */
        align-items: center;         /* Centraliza horizontalmente */
        
        background: var(--white);
        border-radius: 15px;
        padding: 0;
        text-align: center;
        /* box-shadow: var(--shadow); */
        transition: all 0.3s ease;
        /* border: 1px solid var(--border-color); */
        cursor: default;
        min-width: 44px;
        padding-top:10px;
        /* min-height: 230px !important; */
    }

    .user-type-icon {
        width: 61px;
        height: 61px;
        font-size: 25px;
        border-radius: 35px;
        margin-bottom: 0;
    }

    .user-type-title {
        font-size: 16px;
    }

    .user-type-description {
        font-size: 13px;
        -webkit-line-clamp: 3;
    }
}

/* Acessibilidade / alvo de toque consistente (garante 44-56px) */
.user-type-card,
.user-type-icon,
.continue-btn {
    min-height: 44px;
    min-width: 44px;
}

/* Elementos comuns que não mudam com responsividade */
.modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.logo-section {
    position: relative;
    z-index: 5;
}

.progress-indicator {
    text-align: center;
    margin-bottom: 24px;
}

.progress-text {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 50%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.user-type-card:hover::before {
    left: 100%;
}

.user-type-card:not(.no-hover):hover {
    border-color: #7e319c;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* If the card itself has .no-hover, or contains an element with .no-hover,
   disable the hover lift effect. The :not() selector above prevents the
   hover rules from applying to cards that have the class, but we also
   include rules to explicitly reset styles for both cases. */
.user-type-card.no-hover,
.user-type-card .no-hover {
    transform: translateY(0px) !important;
    /* box-shadow: var(--shadow) !important; */
    transition: all 0.3s ease !important;
    /* border: 1px solid var(--border-color) !important; */
    cursor: default !important;
}

.user-type-card.selected {
    /* box-shadow: var(--shadow-xl); */
}
/* 
.user-type-card.selected .user-type-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
} */

.footer-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-wrapper {
    position: relative;
}

.checkbox-wrapper input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-gradient);
    border-color: #667eea;
}

.checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
    opacity: 1;
}

.checkbox-label {
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.continue-btn:enabled {
    opacity: 1;
    pointer-events: auto;
}

.continue-btn:enabled:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.continue-btn:enabled:active {
    transform: translateY(0);
}

/* Dark mode support */
/* @media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f7fafc;
        --text-secondary: #cbd5e0;
        --text-light: #a0aec0;
        --bg-white: #2d3748;
        --bg-gray: #1a202c;
        --border-light: #4a5568;
    }
} */

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.user-type-card:not(.no-hover):focus,
.continue-btn:focus,
.close-btn:focus {
    outline: 2px solid #7e319c;
    outline-offset: 2px;
}

/* Visibility helpers: show/hide blocks depending on screen size
   - .desktop-only: visible on wider screens
   - .mobile-only: visible on small screens (<=550px)
*/
.desktop-only {
    display: grid;
}
.mobile-only {
    display: none;
}

@media screen and (max-width: 550px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}

@media screen and (min-width: 551px) {
    .mobile-only {
        display: none !important;
    }
    .desktop-only {
        display: grid !important;
    }
}

.search-row { 
    position: relative;
    max-width: 100%;
    width: 100%;
}

#bairro-search-btn { z-index: 50; }

/* slightly smaller overlap on small screens (kept for robustness) */
@media screen and (max-width: 550px) {

    .user-type-icon i.bi-shop-fill {
        display: none; /* do not show overlay icons on mobile */
    }

    .user-type-card3 .padding-rem-1 {
        padding: 1rem;
        width: 50%;
        max-width: 150px;
    }

    .user-type-icon.icon-small {
        background: #ffffff;               /* fundo branco */
        color: #7e319c;                    /* cor default dos filhos (fallback) */
        width: 32px;                       /* tamanho do círculo */
        height: 32px;
        border-radius: 50%;                /* faz o círculo */
        display: inline-flex;              /* centraliza o ícone dentro */
        align-items: center;
        justify-content: center;
        transition: transform .12s ease, box-shadow .12s ease;
    }

        /* tamanho e cor do ícone (Bootstrap icons usam font-size) */
    .user-type-icon.icon-small i {
        font-size: 22px;                   /* aumenta o ícone — ajuste entre 20-32 conforme preferir */
        color: #7e319c;                    /* ícone em roxo */
        line-height: 1;
        display: inline-block;
    }

    .user-type-card3 .user-type-card .user-type-title {
        color: #7e319c;
    }

    /* se quiser um estilo diferente quando o cartão estiver 'selected' */
    .user-type-card.selected .user-type-icon.icon-small {
        border-color: #7e319c;
        background: #ffffff;
        color: #7e319c;
    }

    /* Search row styles: input + icon button */
    .search-row {
        align-items: center;
        width: 100%;
    }

    .bairro-input {
        flex: 1 1 auto;
        height: 54px;
        padding: 0 44px 0 14px; /* right padding for icon on the right */
        border-radius: 28px;
        border: 1px solid #d8dadd;
        background: var(--bg-white);
        font-size: 15px;
        outline: none;
    }

    #bairro-topbar,
    .input-wrapper #bairro-topbar {
        border: 1px solid #d8dadd;
    }

    .bairro-input:focus {
        box-shadow: var(--shadow-md);
        border-color: var(--primary-gradient);
    }

    #bairro-topbar:focus,
    .input-wrapper #bairro-topbar:focus {
        border-color: var(--primary-gradient);
    }

    
}

/* Place the search icon inside the left side of the input */
.search-row .user-type-icon {
    position: absolute;
    right: 8px; /* place icon inside input on the right */
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    border-radius: 999px;
}

#bairro-search-btn {
    background: var(--surface-background) !important; /* purple background as requested */
    color: var(--primary-color);
}

:root[data-theme="dark"] #bairro-search-btn {
    color: var(--primary-color);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) #bairro-search-btn {
        color: var(--primary-color);
    }
}

@media screen and (min-width: 650px) {
    .search-row .user-type-icon {
        right: 8px;
    }
}

.search-row .user-type-icon i {
    font-size: 18px;
}

:root[data-theme="dark"] .search-row .user-type-icon,
:root[data-theme="dark"] .search-row .user-type-icon .bi .bi-search i {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--primary-color) 84%, var(--surface-subtle) 16%) 0%,
        color-mix(in srgb, var(--secondary-color) 80%, var(--surface-subtle) 20%) 100%
    );
    color: var(--text-on-overlay);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .search-row .user-type-icon,
    :root:not([data-theme="light"]) .search-row .user-type-icon .bi .bi-search i {
        background: linear-gradient(
            135deg,
            color-mix(in srgb, var(--primary-color) 84%, var(--surface-subtle) 16%) 0%,
            color-mix(in srgb, var(--secondary-color) 80%, var(--surface-subtle) 20%) 100%
        );
        color: var(--text-on-overlay);
    }
}

.search-row .user-type-icon:focus {
    outline: 2px solid rgba(126,49,156,0.15);
    border-radius: 50%;
}

.searchBarContainer {
    width: 100%;
    max-width: 650px;
    padding: 0 5px;
    margin: 0 auto;
    margin-left: 55px;
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 1200px) {
    .searchBarContainer {
        margin-left: 4%;
    }
}

@media screen and (max-width: 550px) {
    .searchBarContainer {
        padding: 0;
        padding-left: 5px;
        margin-left: 0px;
    }
}

@media screen and (min-width: 550px) and (max-width: 920px) {
    .searchBarContainer {
        margin-left: 12px;
        margin-right: 2px;
    }
}


/* Property type selector next to bairro input (specific, non-generic name) */
.property-type-select {
    position: absolute;
    cursor: pointer;
    top: 0%;
    right: 5px;
    max-width: 180px;
    margin-left: 10px;
    min-width: 148px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #fff;
    font-size: 0.95rem;
    padding-left: 10px !important;
    padding-top: 17px !important;
    padding-bottom: 17px !important;
}

@media screen and (max-width: 550px) {
    /* on small screens keep a compact select */
    .property-type-select {
        max-width: 100px;
        padding-left: 10px !important;
        padding-top: 17px !important;
        padding-bottom: 17px !important;
    }
}

.header {
    text-align: left;
    margin-bottom: 1rem;
    
}

@media screen and (min-width: 780px) {
    .header {
        padding-left: 6px;
        padding-right: 6px;
    }
}

.header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 800px) {
    .advertising {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media screen and (max-width: 800px) {
    .header {
        margin-bottom: 0rem;
        text-align: left;
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .header h2 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;

    }

    .header p {
        font-size: 1rem;
        margin-top: 5px;
    }
}

@media screen and (max-width: 650px) {
    #bairro-topbar{
        padding: 1rem 5.9rem 1rem 3rem;
        min-width: 100%;
    }

    .search-row {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (min-width: 650px) {
    #bairro-topbar{
        padding: 1rem 5.9rem 1rem 3rem;
        min-width: 500px;
    }
}

