/* --- Global Theme & Colors --- */
:root {
    --primary-color: #e50914;    /* Netflix Red */
    --bg-dark: #141414;         /* Deep Black/Gray */
    --card-bg: #1f1f1f;         /* Lighter Gray for cards */
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --accent: #007bff;          /* Blue for Admin actions */
}

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-main);
    font-family: 'Inter', -apple-system, sans-serif;
}

/* --- Navigation --- */
.navbar {
    background-color: rgba(0, 0, 0, 0.9) !important;
    border-bottom: 1px solid #333;
    padding: 1rem 2rem;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary-color) !important;
    text-transform: uppercase;
}

/* --- Cards & Content --- */
.card {
    background-color: var(--card-bg);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.card-title {
    color: var(--text-main);
}

.text-muted {
    color: var(--text-muted) !important;
}

/* --- Rating Buttons (1-10) --- */
.btn-check:checked + .btn-outline-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-outline-primary {
    color: var(--text-main);
    border-color: #444;
}

.btn-outline-primary:hover {
    background-color: #333;
    border-color: var(--primary-color);
}

/* --- Video Player Container --- */
.ratio-16x9 {
    background-color: #000;
    border: 2px solid #333;
}

/* --- Admin Tables --- */
.table {
    color: var(--text-main);
}

.table-light {
    background-color: #2a2a2a;
    color: #fff;
    border: none;
}

.list-group-item {
    background-color: transparent;
    border-color: #333;
    color: var(--text-main);
}

/* --- Forms & Modals --- */
.modal-content {
    background-color: var(--card-bg);
    color: var(--text-main);
    border: 1px solid #444;
}

.form-control {
    background-color: #2b2b2b;
    border: 1px solid #444;
    color: #fff;
}

.form-control:focus {
    background-color: #333;
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #141414;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}