/* 📌 Estilo para la barra lateral */
.sidebar {
    height: 100vh;
    background-color: #212529;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto; /* Permite desplazamiento si hay muchos elementos */
}

/* 📌 Estilo para los enlaces del menú */
.nav-link {
    font-size: 1rem;
    padding: 12px 15px;
    transition: all 0.3s ease-in-out;
    color: #ffffff !important;
    border-radius: 5px;
}

.nav-link i {
    margin-right: 10px;
}

/* 📌 Efecto hover en los enlaces */
.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

/* 📌 Estilo para el enlace activo */
.nav-item .active {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-weight: bold;
}

/* 📌 Estilo para el botón de Cerrar Sesión */
.nav-link.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.2);
}

/* 📌 Corrección de visibilidad y animación en botones */
button {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.3s ease-in-out;
}

/* 📌 Estilo mejorado para los botones de acción */
.btn {
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1rem;
}

/* 📌 Ajustes para mejorar la apariencia de la galería de imágenes */
.gallery-item {
    position: relative;
    width: 120px; /* Asegura que todas las imágenes sean del mismo tamaño */
    height: 120px;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* 📌 Estilo para el botón de eliminar en la galería */
.delete-gallery-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.delete-gallery-image:hover {
    background: darkred;
}

.img-container {
    width: 100px !important;
    height: 100px !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 5px !important;
}

.img-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50px !important;
}

 
.img-thumbnail {
    height: 100px !important; /* Forzamos la altura */
    width: 100px !important; /* Forzamos el ancho */
    object-fit: cover !important; /* Ajusta la imagen sin deformarla */
    border-radius: 5px !important; /* Bordes redondeados */
}


.img-container2 {
    /* width: 100px !important;*/
    height: 300px !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 5px !important;
}

