/* /Components/TrendingShortGrid.razor.rz.scp.css */
/* ===== Header Styling ===== */
.shorts-header th[b-wxwp0w0ai6] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    background-color: #f9fafb;
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

/* Sticky header (optional but premium) */
.shorts-header th[b-wxwp0w0ai6] {
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Title clamp */
.text-truncate-2[b-wxwp0w0ai6] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Play overlay */
.play-overlay[b-wxwp0w0ai6] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
}

a:hover .play-overlay[b-wxwp0w0ai6] {
    opacity: 1;
}
/* =========================
   GRID HEADER – FINAL FIX
   ========================= */

.shorts-header th[b-wxwp0w0ai6] {
    font-size: 0.92rem; /* ⬅ slightly bigger */
    font-weight: 600;
    color: #475569;
    background-color: #f8fafc;
    padding: 0.95rem 0.75rem; /* ⬅ a bit more breathing space */
    border-bottom: 1px solid #e2e8f0;
    letter-spacing: 0.02em;
}



/* Make header feel separate from rows */
.shorts-header[b-wxwp0w0ai6] {
    box-shadow: inset 0 -1px 0 #e2e8f0;
}

    /* Sticky header (optional but recommended) */
    .shorts-header th[b-wxwp0w0ai6] {
        position: sticky;
        top: 0;
        z-index: 5;
    }
.shorts-table tbody td[b-wxwp0w0ai6] {
    padding: 1.1rem 0.75rem;
}
.shorts-thumb[b-wxwp0w0ai6] {
    width: 120px;
    height: 180px;
}

.shorts-img[b-wxwp0w0ai6] {
    width: 100%;
    height: 100%;
    object-fit: cover; /* CRITICAL */
    display: block;
}

/* =============================================
   METRICS HEADER CARDS (NEW FEATURES)
   ============================================= */

/* Metrics container */
.metrics-header[b-wxwp0w0ai6] {
    margin-bottom: 2rem;
    animation: fadeInDown-b-wxwp0w0ai6 0.4s ease-out;
}

/* Individual metric card */
.metric-card[b-wxwp0w0ai6] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.75rem;
}

.metric-card:hover[b-wxwp0w0ai6] {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Metric card with gradient background */
.metric-card.bg-light[b-wxwp0w0ai6] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 1px solid #e2e8f0;
}

/* Metric header with icon */
.metric-header[b-wxwp0w0ai6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.metric-label[b-wxwp0w0ai6] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-icon[b-wxwp0w0ai6] {
    font-size: 1.5rem;
    line-height: 1;
}

/* Metric value */
.metric-value[b-wxwp0w0ai6] {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

/* Metric description */
.metric-desc[b-wxwp0w0ai6] {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
}

/* Divider in metric card */
.metric-divider[b-wxwp0w0ai6] {
    border-color: rgba(226, 232, 240, 0.8) !important;
    margin: 1rem 0;
}

/* Progress bar */
.metric-progress[b-wxwp0w0ai6] {
    height: 6px;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.metric-progress .progress-bar[b-wxwp0w0ai6] {
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Badge styling */
.metric-badge[b-wxwp0w0ai6] {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    width: 100%;
}

.metric-badge.bg-success[b-wxwp0w0ai6] {
    background-color: #10b981 !important;
    color: white;
}

.metric-badge.bg-info[b-wxwp0w0ai6] {
    background-color: #0ea5e9 !important;
    color: white;
}

.metric-badge.bg-warning[b-wxwp0w0ai6] {
    background-color: #f59e0b !important;
    color: #1f2937;
}

.metric-badge.bg-danger[b-wxwp0w0ai6] {
    background-color: #ef4444 !important;
    color: white;
}

/* List items in metrics */
.metric-list[b-wxwp0w0ai6] {
    margin: 0;
    padding-left: 0;
}

.metric-list li[b-wxwp0w0ai6] {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.metric-list li:last-child[b-wxwp0w0ai6] {
    margin-bottom: 0;
}

/* Success card */
.metric-card.bg-success[b-wxwp0w0ai6] {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important;
    border: 1px solid #86efac;
}

/* Info card */
.metric-card.bg-info[b-wxwp0w0ai6] {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%) !important;
    border: 1px solid #7dd3fc;
}

/* Warning card */
.metric-card.bg-warning[b-wxwp0w0ai6] {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    border: 1px solid #fcd34d;
}

/* Animations */
@keyframes fadeInDown-b-wxwp0w0ai6 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive metrics */
@media (max-width: 768px) {
    .metric-card[b-wxwp0w0ai6] {
        margin-bottom: 1rem;
    }

    .metric-value[b-wxwp0w0ai6] {
        font-size: 1.75rem;
    }

    .metric-label[b-wxwp0w0ai6] {
        font-size: 0.7rem;
    }
}

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-v8q5m4zhkd] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-v8q5m4zhkd] {
    flex: 1;
}

/* Navbar Styling */
[b-v8q5m4zhkd] nav.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0 !important;
}

[b-v8q5m4zhkd] nav.navbar.navbar-dark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

[b-v8q5m4zhkd] nav.navbar .navbar-brand {
    color: white !important;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    font-weight: 700;
    white-space: nowrap;
    margin-right: auto;
}

[b-v8q5m4zhkd] nav.navbar .navbar-brand span {
    font-size: 1.8rem;
    margin-right: 0.5rem;
}

[b-v8q5m4zhkd] nav.navbar .navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-left: auto;
    align-items: center;
}

[b-v8q5m4zhkd] nav.navbar .nav-item {
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

[b-v8q5m4zhkd] nav.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem !important;
    position: relative;
    transition: color 0.3s ease;
    background: none !important;
    border: none;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
}

[b-v8q5m4zhkd] nav.navbar .nav-link:hover {
    color: white !important;
    background: none !important;
}

[b-v8q5m4zhkd] nav.navbar .nav-link.active {
    color: white !important;
    background: none !important;
    font-weight: 600;
}

[b-v8q5m4zhkd] nav.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    background: white;
    border-radius: 2px 2px 0 0;
}

[b-v8q5m4zhkd] nav.navbar .navbar-toggler {
    border: none;
    padding: 0.25rem 0.75rem;
}

[b-v8q5m4zhkd] nav.navbar .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

[b-v8q5m4zhkd] nav.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive */
@media (max-width: 991px) {
    [b-v8q5m4zhkd] nav.navbar .navbar-nav {
        flex-direction: column;
        margin-left: 0;
        margin-top: 1rem;
        gap: 0;
    }

    [b-v8q5m4zhkd] nav.navbar .nav-item {
        justify-content: flex-start;
        width: 100%;
    }

    [b-v8q5m4zhkd] nav.navbar .nav-link {
        padding: 0.5rem 0 !important;
        font-size: 0.95rem;
    }

    [b-v8q5m4zhkd] nav.navbar .nav-link.active::after {
        left: 0;
        right: auto;
        width: 3px;
        height: auto;
        top: 0;
        bottom: auto;
    }
}
        flex-direction: row;[b-v8q5m4zhkd]
    }

    .sidebar[b-v8q5m4zhkd] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-v8q5m4zhkd] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-v8q5m4zhkd]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-v8q5m4zhkd], article[b-v8q5m4zhkd] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Navbar Styling - Main */
[b-d13n4iuesv] nav.navbar-short-trend {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0 !important;
    border: none;
}

[b-d13n4iuesv] nav.navbar-short-trend.navbar-dark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

[b-d13n4iuesv] nav.navbar-short-trend .navbar-brand {
    color: white !important;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    font-weight: 700;
    white-space: nowrap;
    margin-right: auto;
}

[b-d13n4iuesv] nav.navbar-short-trend .navbar-brand span {
    font-size: 1.8rem;
    margin-right: 0.5rem;
}

/* Navigation Items */
[b-d13n4iuesv] nav.navbar-short-trend .navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-left: auto;
    align-items: center;
}

[b-d13n4iuesv] nav.navbar-short-trend .nav-item {
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

[b-d13n4iuesv] nav.navbar-short-trend .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem !important;
    position: relative;
    transition: color 0.3s ease;
    background: none !important;
    border: none;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
}

[b-d13n4iuesv] nav.navbar-short-trend .nav-link:hover {
    color: white !important;
    background: none !important;
}

[b-d13n4iuesv] nav.navbar-short-trend .nav-link.active {
    color: white !important;
    background: none !important;
    font-weight: 600;
}

[b-d13n4iuesv] nav.navbar-short-trend .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    background: white;
    border-radius: 2px 2px 0 0;
}

/* Navbar Toggler */
[b-d13n4iuesv] nav.navbar-short-trend .navbar-toggler {
    border: none;
    padding: 0.25rem 0.75rem;
}

[b-d13n4iuesv] nav.navbar-short-trend .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

[b-d13n4iuesv] nav.navbar-short-trend .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive */
@media (max-width: 991px) {
    [b-d13n4iuesv] nav.navbar-short-trend .navbar-nav {
        flex-direction: column;
        margin-left: 0;
        margin-top: 1rem;
        gap: 0;
    }

    [b-d13n4iuesv] nav.navbar-short-trend .nav-item {
        justify-content: flex-start;
        width: 100%;
    }

    [b-d13n4iuesv] nav.navbar-short-trend .nav-link {
        padding: 0.5rem 0 !important;
        font-size: 0.95rem;
    }

    [b-d13n4iuesv] nav.navbar-short-trend .nav-link.active::after {
        left: 0;
        right: auto;
        width: 3px;
        height: auto;
        top: 0;
        bottom: auto;
    }
}
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;[b-d13n4iuesv]
    }

.nav-item[b-d13n4iuesv]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-d13n4iuesv]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-d13n4iuesv] {
        display: none;
    }

    .collapse[b-d13n4iuesv] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-d13n4iuesv] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
