/* styles.css */
.text-pink {
    color: #ed4c5f;
}

a.text-hover-pink:hover {
    color: #e7374b !important;
}

.escaneja {
    width: fit-content;
}

.bg-pink {
    background-color: #ed4c5f;
}

#interactive {
    border-radius: 8px;
    max-height: fit-content;
}

#scanner-container {
    position: relative;
    height: auto;
    max-width: 100%;
    text-align: -webkit-center;
}

/* Esquinas del área de escaneo */
/* Estilo de las esquinas */
.corner {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 9px solid rgba(227, 226, 226, 0.7); /* Color y grosor del borde */
}

/* Esquina superior izquierda */
.top-left {
    top: 30px;
    left: 10px;
    border-top-left-radius: 15px; /* Bordes redondeados */
    border-right: none;
    border-bottom: none;
}

/* Esquina superior derecha */
.top-right {
    top: 30px;
    right: 10px;
    border-top-right-radius: 10px;
    border-left: none;
    border-bottom: none;
}

/* Esquina inferior izquierda */
.bottom-left {
    bottom: 30px;
    left: 10px;
    border-bottom-left-radius: 10px;
    border-right: none;
    border-top: none;
}

/* Esquina inferior derecha */
.bottom-right {
    bottom: 30px;
    right: 10px;
    border-bottom-right-radius: 10px;
    border-left: none;
    border-top: none;
}

.drawingBuffer, br {
    display: none;
}

#buttons-scan {
    bottom: 50px !important;
    width: -webkit-fill-available;
    /* background-color: white; */
    display: flex;
    justify-content: center;
    padding: 10px 50px;
    /* border-top: 1px solid #ccc; */

}

.container.mt-10.pr-4.pl-4.mb-2 {
    padding-bottom: 60px !important;
}

.fixed.bottom-0.w-full.bg-white.shadow-md {
    height: 80px !important;
    align-content: center !important;
    z-index: 1111111;
    place-content: center;
    display: inline;
}

.img-box {
    border-radius: 8px; /* Esquinas redondeadas para la imagen */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra alrededor de la imagen */
}

#result-div {
    display: none;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: transparent;
    filter: invert(100%); /* Hace las flechas negras */
}

#success-alert {
    opacity: 1;
    transition: opacity 0.5s ease;
}

#container-all {
    margin-bottom: 80px !important;
}

.imgBuffer {
    display: none;
}

.card-img-top {
    width: fit-content;
    max-height: 150px;
    align-self: center;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 100;
    text-align: center;
}

.btn-outline-primary {
    margin-top: 1rem;
    border-color: #ed4c5f !important;
    color: #ed4c5f !important;
}

@media (max-width: 768px) {
    .card-body {
        height: 260px;
        text-align: justify;
    }
}

.card {
    height: 100%; /* La tarjeta ocupa el 100% de la altura disponible */
    display: flex;
    flex-direction: column;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* El contenido se distribuye entre la parte superior e inferior */
    flex-grow: 1;
}

.text-right {
    margin-top: auto; /* Empuja el botón hacia el fondo de la tarjeta */
}

.text-rosa {
    color: #767676 !important; /* Cambia el color primario a uno más suave y moderno */
}

.card-body-fav {
    display: flex;
    justify-content: space-between; /* El contenido se distribuye entre la parte superior e inferior */
    flex-grow: 1;
}