/* === Reset & Base === */
/*body {*/
/*  font-family: 'Segoe UI', sans-serif;*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  background-color: #f9f9f9;*/
/*  color: #222;*/
/*  min-height: 100vh;*/
/*}*/
/* Remove default spacing */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: block;
  background-color: #f9f9f9;
}
/* Fix navbar bottom line */
.navbar {
    border-bottom: none !important;
    box-shadow: none; /* optional */
}

/* Remove gap above hero */
.hero-section,
.main-hero,
.home-hero {
    margin-top: 0 !important;
    padding-top: 0;
}

/* === Navbar Full Width === */
.navbar {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  padding: 1rem 0;
  background-color: #fff !important;
  border-bottom: 1px solid #eee;
}
.navbar .nav-link {
  color: #d72638 !important;
  font-weight: 500;
}
.navbar .nav-link:hover {
  text-decoration: underline;
}
.navbar .btn-outline-danger {
  border-color: #d72638;
  color: #d72638;
}
.navbar .btn-outline-danger:hover {
  background-color: #d72638;
  color: #fff;
}

/* === Footer Full Width === */
footer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  padding: 1rem 0;
  background-color: #1a1a1a;
  color: #fff;
}
footer a:hover {
  text-decoration: underline;
}

/* === Page Boxed Wrapper === */
.channel-page .page-wrapper {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* === (Optional) Mobile Adjustments === */
@media (max-width: 768px) {
  .navbar .btn {
    margin-top: 10px;
  }
  .navbar-collapse {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar-nav {
    width: 100%;
    text-align: center;
  }
  .navbar-nav .nav-item {
    width: 100%;
  }
}


/* === Make footer stick to bottom === */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.channel-page {
  flex: 1;
  background-color: #f9f9f9;
}
/*.page-wrapper {*/
/*  max-width: 900px;*/
/*  margin: 30px auto;*/
/*  padding: 20px;*/
/*  background: #fff;*/
/*  border-radius: 12px;*/
/*  box-shadow: 0 0 10px rgba(0,0,0,0.05);*/
/*}*/

.channel-page .channel-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.channel-page .channel-header img {
  width: 100px;
  border-radius: 50%;
}
.channel-page .channel-info h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.channel-page .stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
  padding: 20px;
  background: #f0f0f0;
  border-radius: 10px;
}
.channel-page .stats div {
  flex: 1;
  min-width: 180px;
}

.channel-page .videos {
  margin-top: 20px;
}
.channel-page .video-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  margin-bottom: 10px;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.channel-page .flag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}
.channel-page .flag.red {
  background-color: #ffd1d1;
  color: #c40000;
}
.channel-page .flag.green {
  background-color: #d4f7dc;
  color: #0f7b29;
}

.channel-page .premium-notice {
  margin-top: 30px;
  padding: 20px;
  background: #ffe3e3;
  border-radius: 10px;
  text-align: center;
}
.channel-page .premium-notice a {
  color: #d10000;
  text-decoration: underline;
}


/* Page Wrapper – Common Box Style */
/*.compare-page .page-wrapper {*/
/*  max-width: 1100px;*/
/*  margin: 30px auto;*/
/*  padding: 30px;*/
/*  background: #fff;*/
/*  border-radius: 12px;*/
/*  box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
/*}*/


/* Page background and full height */
/* === Compare Page Specific Styles === */
.compare-page {
  flex: 1;
  background-color: #f9f9f9;
}

/*.compare-page .page-wrapper {*/
/*  max-width: 1100px;*/
/*  margin: 30px auto;*/
/*  padding: 30px;*/
/*  background: #fff;*/
/*  border-radius: 12px;*/
/*  box-shadow: 0 0 10px rgba(0,0,0,0.05);*/
/*}*/

.compare-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.compare-card .channel-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
}

/* Stick footer to bottom */

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* .page-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
} */

.page-body .content-wrapper {
  flex: 1;
}


.top100-page {
  flex: 1;
  background-color: #f8f8f8;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.channel-card img {
  border-radius: 50%;
}

.channel-details h4 {
  margin: 0;
}

.channel-rank {
  font-weight: bold;
  font-size: 18px;
  margin-right: 10px;
}


/* premium style */
.premium-page {
  flex: 1;
  background-color: #fefefe;
}

.premium-features ul {
  padding-left: 20px;
  margin-top: 20px;
}
.premium-features li {
  margin-bottom: 10px;
  font-size: 16px;
}

.upgrade-box {
  margin-top: 30px;
  padding: 20px;
  background-color: #ffe3e3;
  border-radius: 10px;
  text-align: center;
}

.support-page .accordion-button {
  background-color: #f8f8f8;
  font-weight: 500;
}
.support-page .accordion-button:focus {
  box-shadow: none;
}
.support-page form label {
  font-weight: 500;
}
.support-page button[type="submit"] {
  transition: all 0.3s ease-in-out;
}
.support-page button[type="submit"]:hover {
  background-color: #c82333;
}

.trending-page {
  background: #f8f8f8;
  padding: 0px 0;
}

/*.page-wrapper {*/
/*  max-width: 1200px;*/
/*  margin: auto;*/
/*  padding: 0 20px;*/
/*}*/

.filter-bar,
.toggle-bar {
  margin: 20px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

select, button {
  padding: 6px 12px;
  font-size: 16px;
}

.video-section {
  margin-top: 30px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.video-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-card:hover {
  transform: scale(1.02);
}

.video-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 12px;
  color: white;
  margin-top: 6px;
}

.tag.music {
  background: #ff3e3e;
}

.tag.short {
  background: #2b9eff;
}

.verified-badge {
  background-color: #16a34a; /* green */
  color: #fff;
  font-size: 0.85rem;
  padding: 0.25em 0.6em;
  border-radius: 6px;
}

.not-verified-badge {
  background-color: #64748b; /* slate gray */
  color: #fff;
  font-size: 0.85rem;
  padding: 0.25em 0.6em;
  border-radius: 6px;
}
.text-red {
  color: #e74c3c;
}
.text-green {
  color: #27ae60;
}

/* html, body {
  height: 100%;
  margin: 0;
  padding: 0;
} */

.signup-page {
  min-height: 81%;
  display: flex;
  flex-direction: column;
}

.signup-page .page-wrapper {
  flex: 1;
}

.dashboard-page {
  min-height: 100vh;
  background-color: #f8f9fa;
}

.sidebar {
  position: sticky;
  top: 0;
}

.main-content {
  width: 100%;
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
}
/* html, body {
  height: 100%;
  margin: 0;
  padding: 0;
} */

/*body {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*}*/

.main-content-wrapper {
  flex: 1;
}

/* Footer styling */
/* footer {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  padding: 1rem 0;
  width: 100%;
} */
/* .page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
} */

.page-wrapper main {
  flex: 1;
}
.page-wrapper {
  max-width: 1100px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

@media (max-width: 576px) {
  .navbar form input[type="search"] {
    width: 100px !important;
  }
}


body {
  font-family: 'Inter', sans-serif;
  background-color: #f7f7f7;
}

.sidebar {
  width: 220px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

.dashboard-page main {
  margin-left: 220px;
  min-height: 100vh;
}

.card {
  border: none;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
}

.table th, .table td {
  vertical-align: middle;
}
.dashboard-page {
  padding-bottom: 100px;
}
/* For table responsiveness */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Optional: Make table adapt better */
@media (max-width: 768px) {
    table {
        font-size: 14px; /* smaller text */
    }
    table th, table td {
        white-space: nowrap; /* prevent wrapping that breaks alignment */
    }
}

/* Optional: Hide less important columns on mobile */


/* Adjust search icon in mobile view */
@media (max-width: 992px) {
    .navbar .search-icon {
        margin-right: 5px; /* Adjust this to control the gap */
    }

    .navbar-toggler {
        margin-left: 0; /* Remove extra spacing on the hamburger */
    }
}
/* Smooth transition for theme change */
body, .container, .navbar, footer, .card, input, select, textarea, .btn {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== DARK MODE GLOBAL ===== */
.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

/* Dark mode for all containers and sections */
.dark-mode .container {
  background-color: #1e1e1e;
  color: #ffffff;
}

/* Navbar in dark mode */
.dark-mode .navbar {
  background-color: #1f1f1f !important;
  border-bottom: 1px solid #333;
}

/* Footer in dark mode */
.dark-mode footer {
  background-color: #1f1f1f !important;
  border-top: 1px solid #333;
}

/* Cards and boxes */
.dark-mode .card {
  background-color: #2a2a2a !important;
  color: #ffffff;
  border: 1px solid #333;
}

/* Inputs and forms */
.dark-mode input,
.dark-mode select,
.dark-mode textarea {
  background-color: #2a2a2a;
  color: #fff;
  border: 1px solid #444;
}
.dark-mode input::placeholder,
.dark-mode textarea::placeholder {
  color: #bbb;
}

/* Buttons */
.dark-mode .btn {
  background-color: #333;
  color: #fff;
  border: 1px solid #555;
}
.dark-mode .btn:hover {
  background-color: #444;
}

/* Links */
.dark-mode a {
  color: #90caf9;
}

.popular-comparisons {

margin-top: 40px;

}

.comparison-card {

display: flex;

align-items: center;

justify-content: space-between;

background: #ffffff;

border-radius: 14px;

padding: 16px;

cursor: pointer;

transition: 0.25s;

box-shadow: 0 4px 12px rgba(0,0,0,0.08);

}

.comparison-card:hover {

transform: translateY(-5px);

box-shadow: 0 8px 20px rgba(0,0,0,0.15);

}

.channel-side {

display: flex;

flex-direction: column;

align-items: center;

text-align: center;

font-weight: 600;

font-size: 14px;

}

.channel-logo {

width: 60px;

height: 60px;

border-radius: 50%;

margin-bottom: 6px;

}

.vs-text {

font-size: 18px;

font-weight: bold;

color: #ff0000;

}

.skeleton {

    background: linear-gradient(
        90deg,
        #eeeeee,
        #f5f5f5,
        #eeeeee
    );

    background-size: 200% 100%;

    animation: shimmer 1.4s infinite;

    border-radius: 8px;

}

@keyframes shimmer {

    0% {

        background-position:
        -200% 0;

    }

    100% {

        background-position:
        200% 0;

    }

}
.video-skeleton {

    width: 100%;

    height: 180px;

}