:root {
    --primary: #f29e0d;
    --secondary: #875c3d;
    --accent: #00dfd8;
    --dark: #0a0a0a;
    --bgPlomo: #f3f3f3;
    --dark-surface: #1a1a1a;
    --light: #ffffff;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(91 91 91 / 64%);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--primary);
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glass-border);
}

.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a0b2e 0%, var(--dark) 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Player Bar */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 15px 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Admin Panel */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: var(--dark-surface);
    border-right: 1px solid var(--glass-border);
    padding: 20px;
}

.sidebar-brand {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 40px;
    display: block;
    color: var(--light);
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--text-muted);
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background: var(--glass);
    color: var(--light);
    border-left: 3px solid var(--primary);
}

.main-content {
    flex: 1;
    padding: 40px;
}

.top-bar {
    background: var(--dark-surface);
    border-bottom: 1px solid var(--glass-border);
    padding: 5px 30px;
    margin-bottom: 30px;
    border-radius: var(--radius);
}

.card {
    border-radius: var(--radius);
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px;
    background: var(--bgPlomo);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    color: var(--text-muted);
    font-weight: 500;
}

/* Bootstrap Header Styles */
.top-header {
    background: var(--secondary);
    padding: 8px 0;
    color: white;
}

.top-header .social-icons a {
    color: white;
    font-size: 18px;
    margin: 0 8px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-header .social-icons a:hover {
    opacity: 0.8;
}

.top-header .app-download {
    font-size: 14px;
    font-weight: 500;
}

.top-header .app-download i {
    margin-right: 5px;
}

.main-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-header .logo-container {
    text-align: center;
}

.main-header .logo-container img {
    max-height: 80px;
    width: auto;
}

.nav-menu {
    background: var(--secondary);
    padding: 0;
}

.nav-menu .navbar {
    padding: 0;
}

.nav-menu .navbar-nav {
    width: 100%;
    justify-content: center;
}

.nav-menu .nav-link {
    color: white !important;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    padding: 15px 20px !important;
    transition: background 0.3s;
    letter-spacing: 0.5px;
}

.nav-menu .nav-link:hover {
    background: rgba(255,255,255,0.1);
}

/* Active menu state */
.nav-menu .nav-link.active {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid #ffffff;
}

/* Dropdown Menu Styles */
.nav-menu .dropdown-menu {
    background: #0055b3;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: 0;
    max-height: 400px;
    overflow-y: auto;
}

.nav-menu .dropdown-item {
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    transition: background 0.3s;
}

.nav-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-menu .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 5px 0;
}

/* Dropdown icon styling */
.nav-menu .dropdown-toggle::after {
    margin-left: 5px;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .nav-menu .dropdown-menu {
        background: #0055b3;
        border-left: 3px solid #ffffff;
        margin-left: 15px;
    }
    
    .nav-menu .nav-link.active {
        border-bottom: none;
        border-left: 3px solid #ffffff;
    }
}

.navbar-toggler {
    border-color: white;
}

.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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Pagination Styles (Circular) ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    border: 2px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(255, 0, 85, 0.3);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 0, 85, 0.4);
}

.pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
    border-color: #dee2e6;
}

/* First/Last page indicators (arrows) */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    font-size: 18px;
    font-weight: bold;
}

/* Responsive pagination */
@media (max-width: 576px) {
    .pagination .page-link {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }
    
    .pagination {
        gap: 5px;
    }
}
/* Drag and Drop Upload Styles */
.upload-zone {
    border: 2px dashed var(--glass-border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bgPlomo);
    position: relative;
    overflow: hidden;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(242, 158, 13, 0.05);
}

.upload-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    margin-top: 15px;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.upload-preview.active {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.upload-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: var(--transition);
}

.upload-zone:hover .upload-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.upload-text {
    color: var(--text-muted);
    font-weight: 500;
}

.upload-zone.has-image .upload-placeholder {
    display: none;
}

.upload-zone.has-image .upload-preview {
    display: block;
}

/* Button-style Checkboxes for Days/Channels Selection */
.btn-checkbox {
    margin: 0 !important;
}

.btn-checkbox .form-check-input {
    display: none;
}

.btn-checkbox .form-check-label {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--glass-border);
    border-radius: 8px;
    background: var(--bgPlomo);
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    min-width: 80px;
    text-align: center;
}

.btn-checkbox .form-check-label:hover {
    border-color: var(--primary);
    background: var(--bgPlomo);
    transform: translateY(-1px);
}

.btn-checkbox .form-check-input:checked + .form-check-label {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.btn-checkbox .form-check-input:checked + .form-check-label:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .btn-checkbox .form-check-label {
        padding: 14px 20px;
        font-size: 15px;
        min-width: 70px;
    }
}
