@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
   font-family: 'Poppins', sans-serif;
}

.rounded-list {
   background-color: #ffc400;
   border-radius: 50%;
   width: 6px !important;
   min-width: 6px !important;
   min-height: 6px !important;
   height: 6px !important;
}

.swiper {
   width: 100%;
   height: 480px;
}

.swiper-slide {
   height: max-content;
}

.swiper-vivienda {
   height: max-content !important;
}

.page-link {
   padding: 4px;
   border-radius: 10px;
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 4px 5px 2px #0002;
   background-color: #fff;
}

.page-link:hover {
   background-color: #054899;
   color: white;
}

.active {
   padding: 4px;
   border-radius: 10px;
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 4px 5px 2px #0002;
   background-color: #054899;
   color: white;
}

.active-link {
   border-bottom: 5px solid #ffc400;
}

.prev-next {
   padding: 5px;
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 24px;
}

.nav-link {
   position: relative;
}

.nav-link::after {
   content: ' ';
   width: 0;
   height: 5px;
   background-color: #ffc400;
   border-radius: 5px;
   position: absolute;
   bottom: -2px;
   left: 0;
   transition: all 0.2s ease-in-out;
}

.filter {
   background-color: #054899;
   color: #fff;
   padding: 5px 8px;
   border-radius: 5px;
}

.filter > a {
   display: flex;
   flex-direction: row;
   align-items: center;
   gap: 2px;
}

.icon-remove {
   width: 10px;
   height: 10px;
   color: #fff;
}

.nav-link:hover::after {
   width: 100%;
}

/* Estilos del modal */
.modal {
   display: none; /* Inicialmente oculto */
   position: absolute;
   z-index: 30;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   overflow: auto;
   background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro */
   padding: 10px;
}

.modal-content {
   position: absolute;
   margin: auto;
   text-align: center;
   padding: 0px;
   width: 92%;
   height: 92%;
   background-color: #fff;
   border-radius: 10px;
   overflow: hidden;
}

/* Botón para cerrar el modal */
.close {
   position: absolute;
   top: 5px;
   right: 5px;
   color: #fff;
   font-size: 30px;
   font-weight: bold;
   cursor: pointer;
}

.close:hover,
.close:focus {
   color: #f00;
}

/* Estilo del iframe para que sea responsive */
.modal iframe {
   width: 100%;
   height: 100%; /* Altura fija o ajustable */
   border: none;
}
