/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* Hintergrund der Scrollbar (unsichtbar, wenn nicht verwendet) */
::-webkit-scrollbar-track {
    background: none;
}

/* Scrollbalken (sichtbar, wenn benötigt) */
::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

/* Hover-Effekt */
::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}


/* Button */
button.close-popup {
    background-color: transparent;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 15px;
    right: 15px;
    transition: background-color 0.3s, box-shadow 0.3s ease;
}

button.close-popup:hover {
    background-color: rgb(255, 99, 71);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: none;
}

/* Allgemeine Skeleton-Styling */
.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-color: #e0e0e0;
    }
    50% {
        background-color: #f0f0f0;
    }
    100% {
        background-color: #e0e0e0;
    }
}

/* Avatar-Skeleton */
.avatar-skeleton {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Skeleton für Autor und Username */
.skeleton-text {
    height: 12px;
    margin-bottom: 6px;
}

.skeleton-text-name {
    width: 120px;
}

.skeleton-text-username {
    width: 80px;
}