/* Estilos exclusivos para el Dashboard */






/* Avatar del usuario */
.navbar img.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid white;

}

/* Nombre del usuario */
.navbar .username {
    font-size: 1.1rem;
    font-weight: bold;
    white-space: nowrap;
}

.historias {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 10px;
    background: rgba(0, 0, 0, 0.1);
}

/* Historias estilo Facebook */
/*.historias {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
   
}*/

.historias-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px;

}

.historia {
    position: relative;
    width: 120px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.historia a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.historia-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.historia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-icon {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 50%;
    font-size: 16px;
}

.historia-nombre {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    font-style: italic; /* Letra inclinada */
    color: white; /* Color de texto estándar */
    text-decoration: none; /* Evita que parezca un enlace */
    cursor: pointer;
}


.historia .historia-avatar {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
}

.historia span {
    position: absolute;
    bottom: 5px;
    left: 5px;
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 3px 5px;
    border-radius: 5px;
}

/* Estilos de publicaciones */
.feed {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}



 .historias-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 10px;
    white-space: nowrap;
}

.historias-container::-webkit-scrollbar {
    display: none;
}

.historia {
    flex: 0 0 auto;
    width: 80px; /* Ajuste para mantener la proporción */
    height: 80px; /* Mantener el mismo valor para ancho y alto */
    scroll-snap-align: start;
    text-align: center;
    background: #f0f0f0;
    border-radius: 50%; /* Hace que la historia sea completamente redonda */
    padding: 5px;
    overflow: hidden; /* Asegura que las imágenes no sobresalgan */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2); /* Efecto de sombra para resaltar */
}

.historia img, .historia video {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* Se asegura de que el contenido dentro también sea redondo */
    object-fit: cover;
}

