/* Estilos pill como tus inputs */
.select2-container--default .select2-selection--single {
    height: 48px;
    /* igual que input grande */
    border-radius: 50px;
    /* pill */
    border: 1px solid #ced4da;
    /* mismo borde de bootstrap */
    padding: 6px 16px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

/* Placeholder gris */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
}

/* Flecha del select alineada */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 12px;
}

/* Focus con borde azul */
.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--single:focus-visible {
    outline: none !important;
    border: 1px solid #0d6efd !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .25);
}

/* Dropdown igual al input */
.select2-container--default .select2-dropdown {
    border-radius: 12px;
    border: 1px solid #ced4da;
}

.index_inicio {
    overflow: scroll;
    max-height: 600px;
    max-width: 70%;
}

#inventario {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

#inventario th,td {
    border: 1px solid #ccc;
    padding: 6px;
    text-align: center;
}

#inventario th {
    background: #e9ecef;
}

#acciones{
    @media(min-width: 200px) {   
        flex: 0 0 auto;
        width: 119.333333%;
    }
}

#acciones>button {
    margin: 4px;
}

.h-screem {
    height: 100vh;
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: breathe 2s ease-in-out infinite;   
}

.whatsapp-btn i {
    color: #fff;
    font-size: 24px;
    animation: beat 2s ease-in-out infinite;
    text-decoration: none;
}

@keyframes breathe {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes beat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.icono-flotante {
    position: absolute;
    top: 10px;
    right: 2px;
    background: #fff;
    width: 42px;
    height: 39px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    
}

.icono-flotante-inst {
    position: absolute;
    top: 57px;
    right: 2px;
    background: #fff;
    width: 42px;   
    height: 39px;    
    border-radius: 50%;   
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.img_signin {
    width: inherit;
    height: 117px;
}


@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: #6f42c1; }

.active2{    
    background-color: #227e76;
}

#acciones {
    overflow: revert-layer;
    height: 111px;
    width: 1067px;
}

    
@media (min-width: 200px) and (max-width: 1000px) {
    #RInmueble, #btnInventarios, #atras {
        font-size: 0.7rem;
    }
}

@media (min-width: 200px) and (max-width: 1000px) {
    #rg_inmueble, #limpiar, #atras {
        font-size: 0.7rem;
    }
}

    /* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

    /* Carousel base class */
    .carousel {
        margin-bottom: 4rem;
    }

    /* Since positioning the image, we need to help out the caption */
    .carousel-caption {
        bottom: 3rem;
        z-index: 10;
    }

    /* Declare heights because of positioning of img element */
    .carousel-item {
        height: 32rem;
    }

    .carousel-item>img {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        height: 32rem;
    }


    /* MARKETING CONTENT
-------------------------------------------------- */

    /* Center align the text within the three columns below the carousel */
    .marketing .col-lg-4 {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .marketing h2 {
        font-weight: 400;
    }

    .marketing .col-lg-4 p {
        margin-right: .75rem;
        margin-left: .75rem;
    }


    /* Featurettes
------------------------- */

    .featurette-divider {
        margin: 5rem 0;
        /* Space out the Bootstrap <hr> more */
    }

    /* Thin out the marketing headings */
    .featurette-heading {
        font-weight: 300;
        line-height: 1;
    }


    /* RESPONSIVE CSS
-------------------------------------------------- */

    @media (min-width: 40em) {

        /* Bump up size of carousel content */
        .carousel-caption p {
            margin-bottom: 1.25rem;
            font-size: 1.25rem;
            line-height: 1.4;
        }

        .featurette-heading {
            font-size: 50px;
        }
    }

    @media (min-width: 62em) {
        .featurette-heading {
            margin-top: 7rem;
        }
    }

/* Carousel base class */
.carousel {
    margin-bottom: 4rem;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}

.carousel-item>img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 32rem;
}

    
/* Resultados */
.results {
    max-width: 1000px;
    margin: 20px auto;
    padding: 15px;
}

.card_inicio  {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    overflow: hidden;
    margin-bottom: 20px;
}

.card_inicio img {
    width: 100%;
    display: block;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ff6a;
    margin: 5px 0;
}
 
.meta {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}
    
.search-container {
    background: #fff;
    max-width: 1000px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

#bsInmueble {
    background: #007bff;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;    
}

#canon, #bsInmueble {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
}

#bsInmueble:hover {
    background: #0056b3;    
}

/* Resultados */
.results {
    max-width: 1000px;
    margin: 20px auto;
    padding: 15px;
}
    
.galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.item {
    position: relative;
}

.item img {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
}

.borrar {
    position: absolute;
    top: 0px;
    right: 0px;
    background: red;
    color: #fff;
    border: none;
    padding: 5px 8px;
    cursor: pointer;
    border-radius: 4px;
}

.toggle-password {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 18px;
}