/* ==========================================
   GigTube Professional UI v2
   Part 1
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
     background:#f8f9fa;
    color:#212529;
    font-family:Arial,Helvetica,sans-serif;
    line-height:1.6;
}

/* Links */

a{
    text-decoration:none;
    transition:.25s;
}

a:hover{
    text-decoration:none;
}

/* Images */

img{
    max-width:100%;
    display:block;
}

/* Container */

.container{
    max-width:1300px;
}

/* Navbar */

.navbar{

    min-height:70px;

    background:#181818 !important;

    border-bottom:1px solid #2b2b2b;

}

.navbar-brand{

    font-size:28px;

    font-weight:700;

}

.nav-link{

    color:#fff !important;

    margin-left:10px;

}

.nav-link:hover{

    color:#ff3d3d !important;

}

/* Search */

form .form-control{

    border-radius:30px 0 0 30px;

    border:none;

    box-shadow:none;

}

form .btn{

    border-radius:0 30px 30px 0;

}

/* Page */

.page-title{

    font-size:34px;

    font-weight:700;

    margin-bottom:35px;

}

/* Footer */

.footer{

    margin-top:50px;

    padding:30px;

    text-align:center;

    color:#999;

    border-top:1px solid #2b2b2b;

}
/* ==========================================
   GigTube Professional UI v2
   Part 2 - Video Cards
========================================== */

.video-card{

    background:#181818;

    border:1px solid #2a2a2a;

    border-radius:16px;

    overflow:hidden;

    transition:all .3s ease;

    height:100%;

}

.video-card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,.45);

    border-color:#444;

}

/* Thumbnail */

.video-thumb{

    width:100%;

    aspect-ratio:16 / 9;

    object-fit:cover;

    display:block;

    background:#000;

}

/* Card Body */

.video-card .card-body{

    padding:15px;

}

/* Title */

.video-title{

    display:block;

    color:#ffffff;

    font-size:17px;

    font-weight:700;

    line-height:1.4;

    margin-bottom:10px;

}

.video-title:hover{

    color:#ff3d3d;

}

/* Category */

.video-category{

    display:inline-block;

    padding:5px 12px;

    border-radius:20px;

    background:#dc3545;

    color:#fff;

    font-size:12px;

    font-weight:600;

    margin-bottom:12px;

}

/* Meta */

.video-meta{

    color:#b0b0b0;

    font-size:14px;

    margin-bottom:10px;

}

.small.text-muted{

    color:#9a9a9a !important;

}

/* Bootstrap Fix */

.card{

    background:transparent;

}

.card img{

    display:block;

    width:100%;

}
/* ==========================================
   GigTube Professional UI v2
   Part 3 - Responsive & Components
========================================== */

/* Cards */

.card{
    border:none;
    border-radius:16px;
}

.shadow-lg{
    box-shadow:0 12px 30px rgba(0,0,0,.35)!important;
}

/* Form */

.form-control,
.form-select{
    background:#202020;
    color:#fff;
    border:1px solid #3a3a3a;
    border-radius:10px;
}

.form-control:focus,
.form-select:focus{
    background:#202020;
    color:#fff;
    border-color:#dc3545;
    box-shadow:0 0 0 .2rem rgba(220,53,69,.2);
}

.form-control::placeholder{
    color:#999;
}

/* Buttons */

.btn-danger{
    border-radius:10px;
    font-weight:600;
}

.btn-danger:hover{
    transform:translateY(-2px);
}

/* Alerts */

.alert{
    border:none;
    border-radius:12px;
}

/* Responsive */

@media (max-width:991px){

    .navbar-nav{
        margin-top:15px;
    }

    .page-title{
        font-size:28px;
    }

}

@media (max-width:768px){

    .video-thumb{
        height:auto;
    }

    .page-title{
        font-size:24px;
    }

    .container{
        padding-left:15px;
        padding-right:15px;
    }

}

@media (max-width:576px){

    .navbar-brand{
        font-size:22px;
    }

    .video-title{
        font-size:16px;
    }

}
/* YouTube Style Grid */

.video-card{
    background:#181818;
    border-radius:14px;
    overflow:hidden;
    height:100%;
}

.video-card .card-body{
    padding:12px;
}

.video-title{
    font-size:16px;
    font-weight:700;
    color:#fff;
    line-height:1.4;
}

.video-title:hover{
    color:#ff4d4d;
}

.video-thumb{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    border-radius:12px;
}

.video-category{
    font-size:11px;
}

.video-meta{
    font-size:13px;
    color:#aaa;
}

.container{
    max-width:1400px;
}
/* ==========================
   Category Chips
========================== */

.category-bar{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding-bottom:10px;
    margin-bottom:25px;
}

.category-bar::-webkit-scrollbar{
    display:none;
}

.category-chip{
    white-space:nowrap;
    background:#272727;
    color:#fff;
    padding:8px 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    transition:.25s;
}

.category-chip:hover{
    background:#dc3545;
    color:#fff;
}

.category-chip.active{
    background:#fff;
    color:#111;
}
/* ==========================
   Sidebar
========================== */

.sidebar{

    position:sticky;

    top:90px;

}

.sidebar-item{

    display:block;

    padding:12px 16px;

    margin-bottom:8px;

    border-radius:12px;

    color:#fff;

    font-weight:600;

    background:#181818;

    transition:.25s;

}

.sidebar-item:hover{

    background:#303030;

    color:#fff;

}

.sidebar-item.active{

    background:#dc3545;

}
/* ==========================
   Professional Video Info
========================== */

.video-info{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin-top:15px;

}

.video-avatar{

    width:42px;

    height:42px;

    border-radius:50%;

    background:#dc3545;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:bold;

    font-size:18px;

    flex-shrink:0;

}

.video-details{

    flex:1;

}

.channel-name{

    color:#fff;

    font-weight:600;

    font-size:15px;

    margin-bottom:4px;

}

.video-meta{

    color:#9b9b9b;

    font-size:13px;

}

/* ==========================================
   GigTube Light Theme Override
========================================== */

/* Body */
body{
    background:#f8f9fa !important;
    color:#212529 !important;
}

/* Navbar */
.navbar{
    background:#ffffff !important;
    border-bottom:1px solid #dee2e6 !important;
}

.navbar-brand{
    color:#dc3545 !important;
}

.nav-link{
    color:#212529 !important;
}

.nav-link:hover{
    color:#dc3545 !important;
}

/* Search */
.form-control,
.form-select{
    background:#ffffff !important;
    color:#212529 !important;
    border:1px solid #ced4da !important;
}

.form-control:focus,
.form-select:focus{
    background:#ffffff !important;
    color:#212529 !important;
}

.form-control::placeholder{
    color:#6c757d !important;
}

/* Cards */
.card,
.video-card{
    background:#ffffff !important;
    border:1px solid #e5e5e5 !important;
    color:#212529 !important;
}

/* Titles */
.video-title{
    color:#212529 !important;
}

.video-title:hover{
    color:#dc3545 !important;
}

/* Meta */
.video-meta,
.small.text-muted{
    color:#6c757d !important;
}

/* Channel */
.channel-name{
    color:#212529 !important;
}

/* Sidebar */
.sidebar-item{
    background:#ffffff !important;
    color:#212529 !important;
    border:1px solid #e5e5e5;
}

.sidebar-item:hover{
    background:#f1f3f5 !important;
}

.sidebar-item.active{
    background:#dc3545 !important;
    color:#ffffff !important;
}

/* Category */
.category-chip{
    background:#ffffff !important;
    color:#212529 !important;
    border:1px solid #ddd;
}

.category-chip:hover{
    background:#dc3545 !important;
    color:#ffffff !important;
}

.category-chip.active{
    background:#dc3545 !important;
    color:#ffffff !important;
}

/* Footer */
.footer{
    background:#ffffff;
    color:#6c757d;
    border-top:1px solid #dee2e6;
}

/* Watch Page */
.card-header{
    background:#f8f9fa !important;
    color:#212529 !important;
}

.card-body{
    color:#212529 !important;
}

/* Comment */
textarea{
    background:#ffffff !important;
    color:#212529 !important;
}

/* Dropdown */
.dropdown-menu{
    background:#ffffff;
}

.dropdown-item{
    color:#212529;
}

.dropdown-item:hover{
    background:#f8f9fa;
}

/* Buttons */
.btn-outline-light{
    color:#212529 !important;
    border-color:#ced4da !important;
}

.btn-outline-light:hover{
    background:#dc3545 !important;
    color:#ffffff !important;
}
/* ==========================
   YouTube Comment UI
========================== */

.comment-avatar{

    width:48px;

    height:48px;

    border-radius:50%;

    background:#dc3545;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:bold;

    font-size:20px;

    flex-shrink:0;

}

.comment-name{

    font-weight:700;

    color:#212529;

}

.comment-time{

    color:#6c757d;

    font-size:13px;

}

.comment-text{

    margin-top:8px;

    font-size:15px;

    line-height:1.7;

    color:#333;

}
/* ==========================
   Reply UI
========================== */

.reply-box{
    margin-left:60px;
}

.reply-card{
    background:#f8f9fa;
    border-radius:12px;
}

.reply-avatar{
    width:36px;
    height:36px;
    border-radius:50%;
    background:#6c757d;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
    font-weight:bold;
}