/* ===================================================================
   SOCIAL VIDEOS PAGE - Specific Styles
   Extracted from inline styles for better caching
   =================================================================== */

.video-filters {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-weight: 600;
    color: var(--color-dark-gray);
    min-width: 100px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-ocean-blue);
    background: white;
    color: var(--color-ocean-blue);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--color-ocean-blue);
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--color-ocean-blue);
    color: white;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-embed-container {
    position: relative;
    width: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.video-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* TikTok embeds are typically taller */
.video-embed-container.tiktok {
    min-height: 600px;
}

/* Instagram embeds */
.video-embed-container.instagram {
    min-height: 500px;
}

/* Facebook embeds */
.video-embed-container.facebook {
    min-height: 500px;
}

.video-info {
    padding: 1.5rem;
}

.video-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.platform-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.platform-badge.tiktok {
    background: linear-gradient(135deg, #00f2ea, #ff0050);
    color: white;
}

.platform-badge.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
}

.platform-badge.facebook {
    background: #1877F2;
    color: white;
}

.branch-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.branch-badge.boat {
    background: #e3f2fd;
    color: #0077BE;
}

.branch-badge.million {
    background: #fff3e0;
    color: #FF6B35;
}

.branch-badge.both {
    background: #f3e5f5;
    color: #9c27b0;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 0.5rem;
}

.video-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.video-creator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.video-creator a {
    color: var(--color-ocean-blue);
    text-decoration: none;
    font-weight: 600;
}

.video-creator a:hover {
    text-decoration: underline;
}

.video-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.vote-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-ocean-blue);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vote-button:hover:not(:disabled) {
    background: #005a8e;
    transform: scale(1.05);
}

.vote-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.vote-button.voted {
    background: var(--color-success-green);
}

.vote-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-ocean-blue);
}

.vote-icon {
    font-size: 1.25rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #888;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: var(--color-ocean-blue);
}

.stats-summary {
    background: linear-gradient(135deg, var(--color-ocean-blue), #005a8e);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-label {
        min-width: auto;
    }
}
