/* CineBlack3 Frontend Plugin Styles */
/* Base styles that work regardless of theme */

.cb3-access-prompt {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    margin: 32px 0;
}
.cb3-prompt-icon { color: #d4a841; margin-bottom: 16px; }
.cb3-access-prompt h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.cb3-access-prompt p { color: #b0b0b0; font-size: 16px; margin-bottom: 24px; }
.cb3-prompt-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.cb3-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 8px; font-weight: 600;
    font-size: 15px; text-decoration: none; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none; line-height: 1.4;
}
.cb3-btn-gold {
    background: linear-gradient(135deg, #d4a841, #f0c75e);
    color: #0a0a0a;
}
.cb3-btn-gold:hover {
    background: linear-gradient(135deg, #f0c75e, #d4a841);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 65, 0.3);
    color: #0a0a0a;
}
.cb3-btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}
.cb3-btn-outline:hover {
    border-color: #d4a841;
    color: #d4a841;
}

/* Progress bar */
.cb3-progress-bar {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px; background: rgba(255,255,255,0.2);
}
.cb3-progress-fill {
    height: 100%; background: #d4a841;
    transition: width 0.3s;
}

/* Quality badges */
.cb3-quality-badge {
    display: inline-block; padding: 2px 8px;
    border-radius: 4px; font-size: 11px;
    font-weight: 700; letter-spacing: 0.5px;
    border: 1px solid rgba(212, 168, 65, 0.5);
    color: #d4a841;
}

/* Rating badge */
.cb3-rating-badge {
    display: inline-block; padding: 2px 8px;
    border-radius: 4px; font-size: 11px;
    font-weight: 600; border: 1px solid rgba(255,255,255,0.3);
    color: #ccc;
}

/* Empty states */
.cb3-empty-state {
    text-align: center; padding: 60px 20px; color: #666;
}
.cb3-empty-icon { font-size: 48px; display: block; margin-bottom: 16px; }

/* Dashboard sidebar tables */
.cb3-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.cb3-table th, .cb3-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #2a2a2a; }
.cb3-table th { color: #888; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.cb3-table td { color: #ddd; }

.cb3-badge { padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.cb3-badge-active, .cb3-badge-completed { background: rgba(34,197,94,0.15); color: #22c55e; }
.cb3-badge-canceled, .cb3-badge-expired { background: rgba(239,68,68,0.15); color: #ef4444; }
.cb3-badge-pending { background: rgba(245,158,11,0.15); color: #f59e0b; }

/* Login required */
.cb3-login-required { text-align: center; padding: 40px; }

/* Content grid */
.cb3-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* Continue watching */
.cb3-continue-row {
    display: flex; gap: 16px; overflow-x: auto;
    padding-bottom: 8px; scroll-snap-type: x mandatory;
}
.cb3-continue-card {
    flex: 0 0 220px; scroll-snap-align: start;
}
.cb3-continue-thumb {
    position: relative; display: block;
    border-radius: 8px; overflow: hidden;
    aspect-ratio: 16/9;
}
.cb3-continue-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cb3-play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0; transition: opacity 0.3s;
}
.cb3-continue-card:hover .cb3-play-overlay { opacity: 1; }
.cb3-continue-info h4 { color: #fff; font-size: 14px; margin: 8px 0 4px; }
.cb3-continue-time { color: #888; font-size: 12px; }
