.search-box {
    transition: all 0.25s ease;
    max-width: 260px;
    overflow: hidden;
}

.search-box:focus-within {
    max-width: 380px;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255,255,255,0.35);
}

.search-input {
    transition: all 0.25s ease;
}

.search-btn {
    transition: all 0.2s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}



video.card-img-top {
    max-height: 180px;
    object-fit: cover;
}
.card-text.text-truncate {
    max-height: 3rem;
    overflow: hidden;
}

.section-title {
    margin: 2rem 0 1rem 0;
    font-weight: bold;
    font-size: 1.5rem;
}


video.responsive-video {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 0.5rem;
}
.like-animate {
    animation: pop 0.25s ease;
}
@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}



#filterBox {
    overflow: hidden;
}


body {
    background: #f4f6fb;
}

.dashboard-title {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.card-dashboard {
    border: 0;
    border-radius: 18px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.card-dashboard:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.glass-header {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
}




.dark-mode {
    background: #121212 !important;
    color: #e5e5e5 !important;
}

.dark-mode .card,
.dark-mode .table,
.dark-mode .navbar {
    background-color: #1e1e1e !important;
    color: #fff !important;
}

.dark-mode .text-muted {
    color: #aaa !important;
}




.channel-card {
    transition: all 0.2s ease;
}

.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.channel-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(13,110,253,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.video-item {
    background: rgba(255,255,255,0.5);
    transition: all 0.15s ease;
}

.video-item:hover {
    transform: scale(1.01);
}

.dark-mode .channel-card {
    background: #1e1e1e !important;
    color: #f1f1f1 !important;
}

.dark-mode .card-header {
    background: #252525 !important;
}

.dark-mode .card-body {
    background: #1e1e1e !important;
}

.dark-mode .video-item {
    background: #2a2a2a !important;
    border-color: #3a3a3a !important;
}

.dark-mode .text-muted {
    color: #aaaaaa !important;
}

.dark-mode .channel-icon {
    background: rgba(255,255,255,0.08);
}





.page-card {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.table-modern {
    margin: 0;
}

.table-modern thead th {
    background: #f8f9fb;
    border-bottom: 1px solid #e9ecef;
    font-weight: 700;
    padding: 18px;
}

.table-modern tbody td {
    padding: 18px;
    vertical-align: middle;
    border-color: #f0f0f0;
}

.table-modern tbody tr {
    transition: all 0.15s ease;
}

.table-modern tbody tr:hover {
    background: rgba(13,110,253,0.04);
}

.user-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13,110,253,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0d6efd;
}

.dark-mode {
    background: #121212 !important;
    color: #f1f1f1 !important;
}

.dark-mode .page-card {
    background: #1e1e1e !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}

.dark-mode .table-modern {
    color: #f1f1f1 !important;
}

.dark-mode .table-modern thead th {
    background: #252525 !important;
    color: #ffffff !important;
    border-color: #343434 !important;
}

.dark-mode .table-modern tbody td {
    background: #1e1e1e !important;
    border-color: #2d2d2d !important;
}

.dark-mode .table-modern tbody tr:hover td {
    background: #262626 !important;
}

.dark-mode .text-muted {
    color: #aaaaaa !important;
}

.dark-mode .user-badge {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

.dark-mode .btn-outline-dark {
    border-color: #555;
    color: #fff;
}

.dark-mode .btn-outline-dark:hover {
    background: #333;
}


/* TABLE */

.custom-table {
    color: var(--text-main);
}

.custom-table thead {
    background: #111827;
}

.custom-table thead th {
    color: white;
    border: none;
    padding: 18px;
}

.custom-table td {
    padding: 18px;
    border-color: var(--border-color);
    background: var(--card-bg);
}

.custom-table tbody tr:hover td {
    background: var(--table-hover);
}

/* STATS */

.stats-badge {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

/*
|--------------------------------------------------------------------------
| DARK MODE
|--------------------------------------------------------------------------
*/

body.dark-mode{
    background: #0f172a !important;
    color: #f8fafc;
}

body.dark-mode .card{
    background: #111827;
    border-color: rgba(255,255,255,0.08);
    color: #f8fafc;
}

body.dark-mode .card-title,
body.dark-mode .card-text,
body.dark-mode p,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5{
    color: #f8fafc;
}

body.dark-mode .text-muted{
    color: #9ca3af !important;
}

body.dark-mode .navbar{
    background: #111827 !important;
}

body.dark-mode .modal-content{
    background: #111827;
    color: #f8fafc;
}

body.dark-mode .btn-outline-info{
    color: #93c5fd;
    border-color: #3b82f6;
}

body.dark-mode .btn-outline-info:hover{
    background: #2563eb;
    color: #fff;
}
