/* /Features/Pages/VideosPage/Videos.razor.rz.scp.css */
.masonry[b-zphy0jqzcw] {
    column-count: 1; /* Default for small screens (mobile) */
    column-gap: 16px;
}

/* Medium screens (tablets) */
@media screen and (min-width: 640px) {
    .masonry[b-zphy0jqzcw] {
        column-count: 2;
    }
}

/* Large screens (desktops) */
@media screen and (min-width: 1024px) {
    .masonry[b-zphy0jqzcw] {
        column-count: 3;
    }
}

/* XLarge screens */
@media screen and (min-width: 1200px) {
    .masonry[b-zphy0jqzcw] {
        column-count: 4;
    }
}

.card[b-zphy0jqzcw] {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover[b-zphy0jqzcw] {
        transform: translateY(-5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .card img[b-zphy0jqzcw] {
        width: 100%;
        height: auto;
        border-bottom: 1px solid #ddd;
    }

/* Adjust card appearance on smaller screens */
@media screen and (max-width: 639px) {
    .card[b-zphy0jqzcw] {
        margin-bottom: 20px; /* Slightly more spacing between cards on mobile */
    }

    .card:hover[b-zphy0jqzcw] {
        transform: translateY(-3px); /* Less dramatic hover effect on mobile */
    }
}

.card-divider[b-zphy0jqzcw] {
    background: #f4f4f4;
    padding: 8px;
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .card-divider i[b-zphy0jqzcw] {
        color: #007bff;
    }

.card-section[b-zphy0jqzcw] {
    padding: 16px;
    font-size: 0.9em;
    color: #555;
}

    .card-section p[b-zphy0jqzcw] {
        margin: 0 0 8px;
    }

    .card-section a.button[b-zphy0jqzcw] {
        display: inline-block;
        padding: 8px 12px;
        background: #007bff;
        color: #fff;
        text-decoration: none;
        border-radius: 4px;
        font-size: 0.9em;
        transition: background 0.3s;
    }

        .card-section a.button:hover[b-zphy0jqzcw] {
            background: #0056b3;
        }

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 639px) {
    .card-divider[b-zphy0jqzcw] {
        font-size: 1.1em;
        padding: 6px 8px;
    }

    .card-section[b-zphy0jqzcw] {
        padding: 12px;
    }

    .card-section a.button[b-zphy0jqzcw] {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
    }
}

.callout.alert[b-zphy0jqzcw] {
    background: #f8d7da;
    color: #721c24;
    padding: 16px;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
}
/* /Features/Shared/Components/PageLoadSpeed.razor.rz.scp.css */
/* Enhanced Page Load Speed Component Styles */
.page-speed-widget[b-11ivoem1jz] {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.95));
    color: #e0e0e0;
    border-radius: 0 0 0 16px;
    cursor: pointer;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', monospace;
    user-select: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 352px;
    max-width: 440px;
    border-left: 3px solid #00d4aa;
    border-bottom: 3px solid #00d4aa;
}

    .page-speed-widget:hover[b-11ivoem1jz] {
        /* No hover effect for the widget itself */
    }

    .page-speed-widget.hidden[b-11ivoem1jz] {
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
    }

    .page-speed-widget.collapsed[b-11ivoem1jz] {
        min-width: 275px;
    }

.widget-header[b-11ivoem1jz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px 13px;
    border-bottom: 1px solid rgba(0, 212, 170, 0.2);
    margin-bottom: 18px;
    cursor: pointer;
}

.widget-title[b-11ivoem1jz] {
    color: #00d4aa;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-icon[b-11ivoem1jz] {
    font-size: 16px;
    animation: pulse-b-11ivoem1jz 2s infinite;
}

@keyframes pulse-b-11ivoem1jz {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.widget-controls[b-11ivoem1jz] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-time[b-11ivoem1jz] {
    color: #888;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
}

.widget-content[b-11ivoem1jz] {
    padding: 0 22px 22px;
    animation: fadeIn-b-11ivoem1jz 0.5s ease-out;
}

@keyframes fadeIn-b-11ivoem1jz {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.metrics-grid[b-11ivoem1jz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 16px;
}

.metric-group[b-11ivoem1jz] {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-group-title[b-11ivoem1jz] {
    color: #00d4aa;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.metric-item[b-11ivoem1jz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.4;
}

    .metric-item:last-child[b-11ivoem1jz] {
        margin-bottom: 0;
    }

.metric-label[b-11ivoem1jz] {
    color: #b0b0b0;
    font-weight: 500;
    min-width: 45px;
}

.metric-value[b-11ivoem1jz] {
    font-weight: 600;
    text-align: right;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

    .metric-value.timing[b-11ivoem1jz] {
        color: #ffd700;
        background: rgba(255, 215, 0, 0.1);
    }

    .metric-value.size[b-11ivoem1jz] {
        color: #00bfff;
        background: rgba(0, 191, 255, 0.1);
    }

    .metric-value.breakdown[b-11ivoem1jz] {
        color: #ff8c42;
        background: rgba(255, 140, 66, 0.1);
    }

    .metric-value.ratio[b-11ivoem1jz] {
        color: #ff6b9d;
        background: rgba(255, 107, 157, 0.1);
    }

.performance-breakdown[b-11ivoem1jz] {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 212, 170, 0.2);
}

.breakdown-grid[b-11ivoem1jz] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    font-size: 10px;
}

.breakdown-item[b-11ivoem1jz] {
    text-align: center;
}

.performance-rating[b-11ivoem1jz] {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 212, 170, 0.2);
    text-align: center;
}

.rating-badge[b-11ivoem1jz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid currentColor;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

    .rating-badge.excellent[b-11ivoem1jz] {
        color: #00ff41;
        background: rgba(0, 255, 65, 0.1);
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    }

    .rating-badge.good[b-11ivoem1jz] {
        color: #ffd700;
        background: rgba(255, 215, 0, 0.1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    }

    .rating-badge.fair[b-11ivoem1jz] {
        color: #ff8c42;
        background: rgba(255, 140, 66, 0.1);
        box-shadow: 0 0 20px rgba(255, 140, 66, 0.2);
    }

    .rating-badge.poor[b-11ivoem1jz] {
        color: #ff4757;
        background: rgba(255, 71, 87, 0.1);
        box-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
    }

    .rating-badge:hover[b-11ivoem1jz] {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-1px);
    }

.metric-progress[b-11ivoem1jz] {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.metric-progress-bar[b-11ivoem1jz] {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease-out;
    animation: progressGlow-b-11ivoem1jz 2s infinite;
}

@keyframes progressGlow-b-11ivoem1jz {
    0%, 100% {
        box-shadow: 0 0 5px currentColor;
    }

    50% {
        box-shadow: 0 0 10px currentColor;
    }
}

.toggle-button[b-11ivoem1jz] {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    min-width: 20px;
    text-align: center;
}

    .toggle-button:hover[b-11ivoem1jz] {
        color: #00d4aa;
        background: rgba(0, 212, 170, 0.1);
    }

.refresh-button[b-11ivoem1jz] {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: #00d4aa;
    cursor: pointer;
    font-size: 10px;
    padding: 6px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}

    .refresh-button:hover[b-11ivoem1jz] {
        background: rgba(0, 212, 170, 0.2);
        border-color: rgba(0, 212, 170, 0.5);
        transform: translateY(-1px);
    }

@media (max-width: 768px) {
    .page-speed-widget[b-11ivoem1jz] {
        min-width: 308px;
        max-width: 330px;
        font-size: 10px;
    }

    .metrics-grid[b-11ivoem1jz] {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .widget-header[b-11ivoem1jz] {
        padding: 12px 16px 8px;
    }

    .widget-content[b-11ivoem1jz] {
        padding: 0 16px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-speed-widget[b-11ivoem1jz],
    .widget-content[b-11ivoem1jz],
    .metric-progress-bar[b-11ivoem1jz],
    .toggle-button[b-11ivoem1jz],
    .rating-badge[b-11ivoem1jz],
    .refresh-button[b-11ivoem1jz] {
        animation: none;
        transition: none;
    }

    .widget-icon[b-11ivoem1jz] {
        animation: none;
    }
}
