/*
  Admin blacklist cards styling.
  IMPORTANT: all selectors are scoped to .admin-page to avoid affecting non-admin pages.
*/

.admin-page .bl-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.admin-page .bl-card {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid #262626;
    background: #101010;
}

.admin-page .bl-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.admin-page .bl-center {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-page .bl-right {
    flex: 0 0 auto;
}

.admin-page .bl-title {
    color: inherit;
    text-decoration: none;
    font-weight: 650;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-page a.bl-title:hover {
    text-decoration: underline;
}

.admin-page .bl-sub {
    font-size: 12px;
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-page .bl-raw {
    font-size: 11px;
    opacity: 0.55;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Channel card */

.admin-page .bl-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    background: #0c0c0c;
    border: 1px solid #262626;
}

.admin-page .bl-avatar-ph {
    display: inline-block;
}

/* Video card */

.admin-page .bl-thumb-wrap {
    width: 140px;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #0c0c0c;
    border: 1px solid #262626;
}

.admin-page .bl-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-page .bl-thumb-ph {
    background: #0c0c0c;
}

.admin-page .bl-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 820px) {
    .admin-page .bl-thumb-wrap {
        width: 120px;
    }
}

@media (max-width: 640px) {
    .admin-page .bl-card {
        gap: 10px;
        padding: 10px 10px;
    }

    .admin-page .bl-thumb-wrap {
        width: 110px;
    }
}

/* ==========================================================
   Skeleton loaders
   ========================================================== */

.admin-page .sk-line {
    height: 12px;
    border-radius: 6px;
    background: #1b1b1b;
}

.admin-page .sk-w70 { width: 70%; }
.admin-page .sk-w50 { width: 50%; }

.admin-page .sk-shimmer {
    position: relative;
    overflow: hidden;
    background: #1b1b1b;
}

.admin-page .sk-shimmer::after {
    content: "";
    position: absolute;
    top: 0;
    left: -140px;
    width: 140px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    animation: blSkShimmerAdmin 1.2s infinite;
}

@keyframes blSkShimmerAdmin {
    0% { transform: translateX(0); }
    100% { transform: translateX(420px); }
}
