body {
    font-family: "Montserrat", serif;
    font-weight: 400;
    font-style: normal;
    color: black;
    background-color: white;
}

h1, h2, h3, h4, h5 {
    font-family: "Montserrat", serif;
    font-weight: 500;
    font-style: normal;
    color: black;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: white; /*#EFEFEF;*/ /*rgb(237 238 240);*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0px 45px;
    border-bottom: 1px solid #ddd;
    z-index: 99;
}

main {
    height: calc(100vh -70px);
    margin-top: 70px;
}

.logo-box-menu {
    padding-right: 50px;
}

.logo-box-menu img {
    height: 33px;
    width: auto;
    margin-top: -3px;
}

.topnav-menu {
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.topnav-menu li{
    height: 100%;
}

.topnav-menu .nav-link {
    display: flex ;
    align-items: center ;
    white-space: nowrap;
    color: #111;
    height: 100%;
    font-weight: 500;
    font-size: 15px;
    padding: 0;
    margin: 0;
    margin-right: 40px ;
    cursor: pointer;
}

.topnav-menu span:hover, .topnav-menu a:hover  {
    color: #555; 
}

.hamburger {
    font-size: 24px;
    color: grey;
    cursor: pointer;
    margin-right: 20px;
    color: rgb(3, 3, 72);
}

@media (max-width: 768px) {
    
    .navbar-menu {
        justify-content: space-between;
        padding-left: 25px ;
    }

    .topnav-menu .nav-link {
        display: none ;
        width: 100% ;
        text-align: center ;
    }

    #btn-user {
        display: none !important;
    }

    .logo-box-menu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .hamburger {
        display: block;
    }
}

.floating-label {
    position: relative;
    width: 100%;
    padding: 0;
}

.floating-label input, .floating-label select {
    background-color: transparent;
    width: 100%;
    padding: 22px 10px 6px 10px;
    border: none;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

.floating-label label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    pointer-events: none;
    color: #555;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: 15px;
    font-size: 13px;
}

.floating-label input::placeholder,
.floating-label select::placeholder {
    color: transparent;
    transition: color 0.2s;
}

.floating-label input:focus::placeholder,
.floating-label select:focus::placeholder {
    color: black; 
}

.floating-label select {
    appearance: none;         /* Remove seta padrão - Chrome/Edge */
    -webkit-appearance: none; /* Remove seta padrão - Safari */
    -moz-appearance: none;    /* Remove seta padrão - Firefox */
    padding-right: 38px;      /* Espaço para o novo ícone */
}

.floating-label select:not([multiple]) { /* Evita selects múltiplos */
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="black" stroke-width="2" viewBox="0 0 24 24" width="18" height="18" xmlns="http://www.w3.org/2000/svg"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 22px;
}

.floating-label .Pass {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
    background-color: transparent;
    border: none;
}

.floating-label .pass-eye {
    font-size: 20px;
}

.register-container, .login-container, .recover-container {
    font-size: 15px;
    color: black;
    padding: 10px;
    font-weight: 450;
}

.btn-login, .btn-register {
    font-size: 15px;
    font-weight: 500;
    width: 100%;
    margin-top: 10px;
    border-radius: 8px;
    padding: 14px 0;
    background-color: rgba(3, 3, 72, 0.9);
    color: white;
    border: none;
    background: linear-gradient(45deg, rgb(3, 3, 72), #032E8E, rgb(3, 3, 72));
    background-size: 600%;
    animation: anime 4s linear infinite;
}

@keyframes anime {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 100%;
    }
}

#cookie-consent-bar {
    position: fixed;
    bottom: -300px;
    width: 50%;
    background: white; /*#232323;*/
    border-radius: 10px;
    /*background-image: linear-gradient(to bottom, rgb(0, 25, 90), rgba(0, 25, 90));*/
    padding: 25px;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    align-items: left;
    z-index: 1200;
    font-size: 15px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s cubic-bezier(.4,0,.2,1);
    gap: 10px;
}

#cookie-consent-bar span {
    font-weight: 400;
    font-size: 14px;
}

#cookie-consent-bar.show {
    visibility: visible;
    bottom: 15px; 
    left: 25%;
}

#cookie-consent-bar a {
    color: black;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cookie-actions #cookie-reject {
    background-color: white;
    border: 1px solid #ccc;
    font-weight: 450;
    color: black;
    box-shadow: none;
}

.cookie-actions #cookie-reject:hover {
    background-color: rgb( 230, 230, 230);
}

.cookie-actions button {
    border: none;
    background-color: #222;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    width: 220px;
    padding: 8px 30px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
    white-space: nowrap;
}

.cookie-actions button:hover {
    background-color: black;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px rgb(241 241 242) inset !important;
}

.list-container-homepage {
    flex: 1;
    position: relative; 
    height: calc(100vh - 70px);
    margin: 0;
    padding: 20px 30px 0 45px;
    overflow-y: auto;
}

#card-list {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

#card-list label {
    font-weight: 500;
}

.card-base, .card-skeleton {
    transition: all 0.3s ease-out;
    cursor: pointer;
    padding: 0;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: none;
}

.card-base:hover, .card-skeleton:hover {
    /*box-shadow: rgba(0, 0, 0, 0.3) 0px 5px 10px;*/
    /*border: 1px solid #bbb;*/
}

.card-base .card-body {
    padding: 10px 0;
}

.point-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-family: "Montserrat", serif;
    font-weight: 400;
    font-style: normal;
}

.price-marker {
    background-color: rgb(248, 248, 248);
    color: black;
    border-radius: 30px;
    padding: 5px 8px;
    font-size: 14px;
    font-weight: 550;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    border: 1px solid lightgrey; 
    text-align: center;
}

.price-marker:hover {
    transform: scale(1.05);
}

.card-map {
    border-radius: 10px;
    box-shadow: none;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 5px 20px;
    cursor: pointer;
    width: 350px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: none;
}

.card-map .carousel {
    border-radius: 10px 10px 0 0;
}


.card-map:hover .nome {
    bottom: 0;
}

.card-map .card-body {
    padding: 15px;
}

.card_info {
    color: inherit;
    position: relative;
    width: 100%;
}

.card_info:hover {
    color: inherit;
}

.carousel {
    aspect-ratio: 32 / 20;
    position: relative;
    overflow: hidden;
    background-color: rgb(245, 245, 245);
    width: 100%;
    border-radius: 8px;
}

.carousel-images {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 100%;
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 100%;
    width: 100%;
    margin: 0;
}

.carousel-item img {
    display: flex;
    width: 100%;
    height: 100%;
}

.btn-like path.fill-black { fill: rgb(0, 0, 0); }
.btn-like path.fill-white { fill: transparent; }

.feather-heart, .feather-share {
    fill: rgba(255, 255, 255) !important;
}

.carousel .btn-close {
    all: unset;
    position: absolute;
    top: 15px;
    right: 15px;
    display: none;
    cursor: pointer;
}

.carousel .btn-close i{
    font-size: 12px;
    padding: 8px 8.25px;
    color: black;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicators-wrapper {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 60px;
    min-width: 60px;
    overflow-x: auto;
    scrollbar-width: none;
    height: 6px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 0;
    margin: 0;
    width: max-content;
}

.indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: white;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 15px;
}

.carousel-control button {
    all: unset;
    pointer-events: auto;
    display: none;
    height: 30px;
    width: 30px;
    /*background-color: red;*/
}

.carousel-control button i {
    background-color: rgba(255, 255, 255, 0.9);
    color: black;
    font-size: 12px;
    padding: 8px;
    border-radius: 50%;
}

.carousel-control button.prev i {
    /*left: 15px;*/
    padding-left: 7.5px;
    padding-right: 9px;
    visibility: hidden;
}

.carousel-control button.next i {
    /*right: 15px;*/
    padding-right: 7.5px;
    padding-left: 9px;
    visibility: visible;
}

.carousel-control button i:hover {
    background-color: white;
}

.carousel:hover .carousel-control button {
    display: block;
}

.texto-truncado {
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    max-width: 100%; 
    display: inline-block;
}

#map-container {
    position: relative; 
    overflow: hidden;
    padding: 20px 0 20px 15px;
    border-radius: 12px;
}

#map-container.open {
    display: block;
}

#map-container.full {
    display: block;
    max-width: 100%;
}

#map {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
}

.top-container {
    display: flex;
    align-items: flex-start;      
    justify-content: space-between;
    position: absolute;
    width: 100%; 
    z-index: 10;   
    padding: 20px 50px;         
}

.map-btn {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 16px;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
}

.map-btn i {
    padding: 8px;
    font-size: 18px;
    color: black;
}

.spacing-container {
    display: flex;
    align-items: center;
    margin: 4px 0 6px;
    color: #555;
}

.info-item {
    position: relative; 
    font-size: 15px;
    font-weight: 400;
    color: #111;
}

.info-item::after {
    content: ""; 
    display: inline-block;
    width: 3px; 
    height: 3px; 
    background-color: #222; 
    border-radius: 50%; 
    margin:  0 8px;
    margin-bottom: 3px; 
}

.info-item:last-child::after {
    display: none;
}
    
.nome {
    font-size: 15px;
    font-weight: 400;
    color: black;
}

.loader {
    width: 35px;
    aspect-ratio: 4;
    background: radial-gradient(circle closest-side, #fff 90%, #fff0) 0/calc(100%/3) 100% space;
    /*background: radial-gradient(circle closest-side, #fff 90%,#0000) 0/calc(100%/3) 100% space;*/
    clip-path: inset(0 100% 0 0);
    /*animation: l1 1s steps(4) infinite;*/
    animation: l1 1s steps(4) infinite, fade 2s ease-in-out infinite;
}

/* Animação para mostrar os pontos de carregamento */
@keyframes l1 {
    to {
      clip-path: inset(0 -34% 0 0);
    }
  }
  
  /* Animação de fade que altera a opacidade */
  @keyframes fade {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
    /*100% {
      opacity: 0;
    }*/
  }

 .dot-flashing {
   position: relative;
   width: 8px;
   height: 8px;
   border-radius: 4px;
   background-color: #fff;
   color: #fff;
   animation: dot-flashing 1s infinite linear alternate;
   animation-delay: 0.25s;
 }
 
 .dot-flashing::before, .dot-flashing::after {
   content: "";
   width: 8px;
   height: 8px;
   border-radius: 4px;
   background-color: #fff;
   color: #fff;
   display: inline-block;
   position: absolute;
 }
 .dot-flashing::before {
   left: -12px;
   animation: dot-flashing 1s infinite alternate;
   animation-delay: 0s;
 }
 .dot-flashing::after {
   left: 12px;
   animation: dot-flashing 1s infinite alternate;
   animation-delay: 0.5s;
 }
 
 @keyframes dot-flashing {
   0% {
     background-color: #fff;
   }
   50%, 100% {
     background-color: transparent;
   }
 }

.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
    0% {
    /*background-color: hsl(200, 20%, 80%);*/
    background-color: rgb(215, 215, 215);
    }
    100% {
    /*background-color: rgb(hsl(200, 20%, 95%);*/
    background-color: rgb(235, 235, 235);
    }
}

.card__header {
    aspect-ratio: 32 / 20;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 10px;
}


.header__img {
    display: none;
    width: 100%;
    height: 100%;
}

.skeleton-text {
    width: 100%;
    height: 15px;
    margin-bottom: 10px;
    border-radius: 0.25rem;
}

.skeleton-text__body {
    width: 75%;
}

.skeleton-text-price {
    width: 50%;
    height: 24px;
    margin-bottom: 15px;
}

.card__footer {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.card__footer .footer-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 30%;
}

.card__footer .footer-tex {
    width: 20%;
}

.card__footer .footer-value {
    width: 30%;
}

#propertyModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 900;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease, visibility 0.1s ease;
}

#propertyModal.active {
    opacity: 1;
    visibility: visible;
}

#propertyModal .modal-content {
    position: fixed;
    width: 95%;
    height: 100%;
    top: 0;
    left: 5%;
    background-color: white;
    border-radius: 14px 0 0 14px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.5s ease;
}

#propertyModal.active .modal-content {
    transform: translateX(0);
}

#propertyModal .close-button {
    border: none;
    background: none;
    color: black;
    font-size: 22px;
    cursor: pointer;
    position: absolute;
    top: 25px;
    left: 0;
}

#modal-compartilhar-imovel {
    z-index: 999 !important;
}


input:focus {
    border: 1px solid #000;
}

input[type="checkbox"] {
    appearance: none; 
    min-width: 16px;                      
    min-height: 16px;                   
    border: 1px solid rgb(111 104 123); 
    border-radius: 2px !important;             
    background-color: transparent;            
    position: relative;           
    /*margin-right: 12.5px;*/              
    cursor: pointer;                   
}

input[type="checkbox"]:checked {
    background-color: #151515;         
    border-color: #151515;               
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    background-size: 75%;         
    background-position: center;   
    background-repeat: no-repeat;
    padding: 2px;                        
}

input[type="checkbox"]:not(:checked) {
    background-color: transparent;    
    border-color: #aaa; /*rgb(111 104 123);*/   
}

.custom-checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
}

.custom-checkbox label{
    font-weight: 400;
    font-size: 16px;
    color: black;
    cursor: pointer;
    margin: 0;
}

#login-btn-homepage {
    background-color: #121111; /*rgb(13 12 34);*/
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    color: #FFFFFF;
    border-radius: 6px;
    letter-spacing: 0.4px;
}

#login-btn-homepage:hover {
    /*color: #555; */
    background-color: black;
}

.user-menu {
    display: flex;
    align-items: center;  
    justify-content: center;
    gap: 15px;
}

.currency-btn {
    background-color: transparent;
    border: 1px solid #555;
    cursor: pointer;
    font-size: 17px;
    color: #222;
    border-radius: 50%;
    padding: 5px 9px;
}

#user-menu-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    padding: 0;
    display: flex;
}

#user-menu-btn .arrow {
    margin-left: 8px;
    font-size: 12px;
}

#user-menu-dropdown {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
    position: absolute;
    top: 65px;
    right: 45px;
    background: #fff;
    border: 1px solid #ddd;
    min-width: 260px;
    padding: 0;
    /*box-shadow: 0 4px 16px rgba(0,0,0,0.12);*/
    border-radius: 8px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;  
    justify-content: center;
}

#user-menu-dropdown.show {
    opacity: 1;
    visibility: visible;
}

.menu-btn:hover + .dropdown,
.dropdown:hover {
    opacity: 1;
    visibility: visible;
}

.user-menu-list {
    width: 100%; 
    list-style: none; 
    padding: 8px 0; 
    margin: 0; 
    /*border-bottom: 1px solid #ddd;*/
} 

#user-menu-dropdown a {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 10px 20px;
    gap: 8px;
    color: #151515;
    /*text-align: left;*/
    cursor: pointer;
    width: 100%;
    font-size: 15px;
    font-weight: 450;
    transition: background 0.2s;
}

#user-menu-dropdown a i {
    font-size: 16px;
}

#user-menu-dropdown a:hover {
    /*color: grey;*/
    background: rgb(245 245 245);
    /*text-decoration: underline;*/
}

#modal-user  {
    width: 250px;
    background-color: rgb(255, 255, 255);
    border: 1px solid #ccc;
    border-radius: 16px;
    position: absolute;
    z-index: 999;
    right: 25px; 
    top: 55px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


#modal-user .modal-body p {
    padding: 10px 15px;
    margin: 0;
    border-radius: 5px;
    cursor: pointer;
}

#modal-user .modal-body {
    padding: 10px 0;
}

#modal-user .modal-body p:hover {
    background-color: white; /*rgba(221, 221, 221, 0.3);*/
}

#avatar-login, .avatar-user {
    width: 40px;
    height: 40px;
    background-color: rgb(92 107 193);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
}

.irs-min, .irs-max, .irs-from, .irs-to  {
    display: none !important;
}

.irs-bar,
.irs-single {
    background-color: #222 !important;
}

.irs-handle {
    background-color: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.3) !important;
    cursor: pointer;
}

.irs--round .irs-handle {
    border: 3px solid #222;
}

/* Base para todos os sliders */
input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 3px;
    background: #ddd;
    outline: none;
    transition: background 0.3s;
    margin-top: 12px;
    cursor: pointer;
}
  
/* Polegar (thumb) - Webkit */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: #000;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-top: -6px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
  
/* Trilho */
input[type="range"]::-moz-range-track {
    height: 3px;
    background-color: #ddd;
    border: none;
}

/* Polegar (thumb) - Firefox */
input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: white;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.badges {
    position: absolute;
    display: flex;
    gap: 8px;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.badge-item {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 500;
}

.badge-locado {
    background: linear-gradient(to bottom, rgb(240, 240, 240), white); /* vermelho */
    color: black;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge-oportunidade {
    background-color: #373B3C; /* vermelho */
    color: white;
}

.tooltip {
    margin-left: 5px;
}

.tooltip-inner {
    max-width: none !important;
    width: 500px;
    background-color: #111;  
    color: #fff;         
    font-size: 15px;
    font-weight: 400 !important;
    border-radius: 6px;        
    padding: 10px 12px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
    /*box-shadow: none !important; */
}

.tooltip.show {
    opacity: 1 !important;
}
