/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Video Upload Indicators */
.video-filter-btn {
  background-color: #f3f4f6;
  color: #6b7280;
}

.video-filter-btn:hover {
  background-color: #e5e7eb;
  color: #374151;
}

.video-filter-btn.active {
  background-color: #3b82f6;
  color: #ffffff;
}

/* Video Tooltip */
.video-tooltip {
  position: fixed;
  z-index: 9999;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  min-width: 300px;
  overflow: hidden;
  animation: fadeIn 0.2s ease-in-out;
  pointer-events: auto; /* Critical: Allow mouse interaction */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-tooltip-header {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.video-tooltip-list {
  max-height: 400px;
  overflow-y: auto;
}

.video-tooltip-list.scrollable {
  max-height: 350px;
}

.video-tooltip-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.15s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.video-tooltip-item:last-child {
  border-bottom: none;
}

.video-tooltip-item:hover {
  background-color: #f9fafb;
}

.video-thumbnail {
  width: 80px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background-color: #f3f4f6;
}

.video-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.video-title {
  font-size: 13px;
  line-height: 1.4;
  color: #1f2937;
  word-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.video-badge.video {
  background-color: #dbeafe;
  color: #1e40af;
}

.video-badge.short {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Custom scrollbar for video list */
.video-tooltip-list::-webkit-scrollbar {
  width: 6px;
}

.video-tooltip-list::-webkit-scrollbar-track {
  background: #f3f4f6;
}

.video-tooltip-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.video-tooltip-list::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Analytics Loading Overlay */
.analytics-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  transition: opacity 100ms ease-in;
  pointer-events: none;
}

.analytics-loading-overlay.analytics-loading-visible {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 100ms ease-out;
}

.analytics-loading-overlay.hidden {
  display: none;
}

/* Blue Spinning Circle */
.analytics-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(59, 130, 246, 0.2);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: analytics-spinner-rotation 0.8s linear infinite;
}

@keyframes analytics-spinner-rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
   FLOATING NAVBAR - NewStudio Aesthetic
   ======================================== */

/* Container for sticky positioning */
.floating-navbar-container {
  position: sticky;
  top: 20px;
  z-index: 1000;
  padding: 0 20px;
  margin-bottom: 32px;
}

/* Main navbar with floating effect */
.floating-navbar {
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.floating-navbar:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Inner navbar content */
.floating-navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  min-height: 56px;
  gap: 24px;
}

/* Navigation Link Styles */
.nav-link {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  color: #4b5563;
  text-decoration: none;
  display: inline-block;
}

.nav-link:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

.nav-link-active {
  background-color: #3b82f6;
  color: white;
  padding: 6px 12px;
}

.nav-link-active:hover {
  background-color: #2563eb;
  color: white;
}

/* Mobile Navigation Links */
.nav-link-mobile {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  color: #4b5563;
  text-decoration: none;
  display: block;
}

.nav-link-mobile:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

.nav-link-mobile-active {
  background-color: #3b82f6;
  color: white;
}

.nav-link-mobile-active:hover {
  background-color: #2563eb;
  color: white;
}

/* Account Dropdown Button */
.account-dropdown-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  background-color: white;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  cursor: pointer;
}

.account-dropdown-button:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
}

.account-dropdown-button:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Arrow icon animation */
.account-dropdown-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.account-dropdown-arrow.rotate-180 {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  z-index: 1001;
}

.account-dropdown-menu.account-dropdown-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Dropdown Item - Static (Email Display) */
.account-dropdown-item-static {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background-color: #f9fafb;
}

.account-dropdown-item-static span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Divider */
.account-dropdown-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 4px 0;
}

/* Dropdown Item - Button (Logout) */
.account-dropdown-item-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.account-dropdown-item-button:hover {
  background-color: #eff6ff;
  color: #3b82f6;
}

.account-dropdown-item-button svg {
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-navbar-container {
    top: 12px;
    padding: 0 12px;
    margin-bottom: 24px;
  }
  
  .floating-navbar-inner {
    padding: 12px 16px;
  }
  
  .account-dropdown-button {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* Ensure body has proper padding to prevent content from hiding under navbar */
body {
  padding-top: 0;
}

/* ========================================
   CUSTOM SCROLLBAR - Site-wide
   ======================================== */

/* Scrollbar styling for Chrome, Edge, and Safari */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 6px;
  border: 2px solid #f3f4f6;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Scrollbar styling for Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #f3f4f6;
}

/* ========================================
   AI CHAT ANIMATIONS
   ======================================== */

@keyframes animate-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes animate-scale-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-fade-in {
  animation: animate-fade-in 200ms ease-out;
}

.animate-scale-in {
  animation: animate-scale-in 200ms ease-out;
}

/* Custom scrollbar for AI chat messages */
[data-ai-chat-target="messages"]::-webkit-scrollbar {
  width: 6px;
}

[data-ai-chat-target="messages"]::-webkit-scrollbar-track {
  background: #f9fafb;
}

[data-ai-chat-target="messages"]::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

[data-ai-chat-target="messages"]::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Markdown styling for AI messages */
.ai-message-content h1,
.ai-message-content h2,
.ai-message-content h3 {
  font-weight: 600;
  margin: 8px 0 4px 0;
}

.ai-message-content h1 { font-size: 1.1em; }
.ai-message-content h2 { font-size: 1.05em; }
.ai-message-content h3 { font-size: 1em; }

.ai-message-content ul,
.ai-message-content ol {
  margin: 8px 0;
  padding-left: 20px;
}

.ai-message-content li {
  margin: 4px 0;
  line-height: 1.4;
}

.ai-message-content p {
  margin: 8px 0;
  line-height: 1.5;
}

.ai-message-content p:first-child {
  margin-top: 0;
}

.ai-message-content p:last-child {
  margin-bottom: 0;
}

.ai-message-content strong {
  font-weight: 600;
}

.ai-message-content em {
  font-style: italic;
}

.ai-message-content code {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

.ai-message-content pre {
  background: rgba(0, 0, 0, 0.06);
  padding: 12px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 8px 0;
}

.ai-message-content pre code {
  background: none;
  padding: 0;
}

.ai-message-content a {
  color: #3b82f6;
  text-decoration: underline;
}

.ai-message-content a:hover {
  color: #2563eb;
}

/* ========================================
   DASHBOARD OPTIMIZATION - DESKTOP COMPACT
   ======================================== */

/* Default (Mobile-first): Comfortable sizing */

/* Hero Stat Section */
.hero-stat-container {
  padding: 2rem;
}

.hero-stat-main {
  font-size: 2.5rem; /* 40px */
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-stat-comparison {
  font-size: 1.5rem; /* 24px */
  line-height: 1.4;
}

/* AI Insight Card */
.ai-insight-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.ai-insight-header-text {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.ai-insight-title {
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.ai-insight-message {
  font-size: 1rem;
  line-height: 1.6;
}

.ai-insight-explanation {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ai-insight-button {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

/* Metric Cards */
.dashboard-metric-card {
  padding: 1.25rem;
}

.metric-label {
  font-size: 0.875rem;
}

.metric-value {
  font-size: 1.875rem;
  line-height: 1.2;
}

.metric-change {
  font-size: 0.8125rem;
}

/* Graph */
.dashboard-graph-container {
  height: 400px;
}

/* Top Videos Table */
.top-videos-table th {
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
}

.top-videos-table td {
  padding: 1rem 1.5rem;
}

.top-videos-row {
  min-height: 80px;
}

.video-thumbnail-desktop {
  width: 96px;
  height: 54px;
}

.video-title-text {
  font-size: 0.875rem;
  line-height: 1.4;
}

.video-stats-text {
  font-size: 0.8125rem;
}

/* Section Spacing */
.dashboard-section {
  margin-bottom: 1.5rem;
}

/* 2-Column Main Layout: Left (Cards + Graph) | Right (AI Insight) */
.dashboard-main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

.left-column {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.right-column {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
}

/* Metric Cards Row - Inside Left Column */
.metric-cards-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.metric-cards-row.three-cards {
  grid-template-columns: repeat(3, 1fr);
}

.metric-cards-row.four-cards {
  grid-template-columns: repeat(4, 1fr);
}

.metric-cards-row.five-cards {
  grid-template-columns: repeat(5, 1fr);
}

/* Slightly smaller for 5-card layout */
.metric-cards-row.five-cards .dashboard-metric-card {
  padding: 0.875rem;
}

.metric-cards-row.five-cards .metric-value {
  font-size: 1.5rem;
}

/* Graph Section */
.graph-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  position: relative;
}

/* AI Insight Sidebar */
.insight-sidebar-wrapper {
  width: 100%;
  display: flex;
  flex: 1;
}

.insight-sidebar-wrapper > div {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Time Period Section */
.time-period-section {
  padding: 1rem;
}

/* Channel Header */
.channel-header-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.channel-title {
  font-size: 1.875rem; /* 30px */
}

.channel-subtitle {
  font-size: 1rem;
}

/* Performance Metrics Section */
.performance-metrics-card {
  padding: 1.5rem;
}

.performance-metrics-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.performance-metric-label {
  font-size: 0.875rem;
}

.performance-metric-value {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

/* ========================================
   TABLET (768px - 1023px) - MEDIUM
   ======================================== */

@media (min-width: 768px) and (max-width: 1023px) {
  /* 2-Column Layout - Stack on Tablet */
  .dashboard-main-content {
    flex-direction: column;
  }
  
  .left-column,
  .right-column {
    flex: 0 0 100%;
    width: 100%;
  }
  
  /* AI insight no longer needs to match height */
  .insight-sidebar-wrapper > div {
    min-height: auto;
  }
  
  /* Cards go 2x2 on tablet */
  .metric-cards-row.three-cards,
  .metric-cards-row.four-cards,
  .metric-cards-row.five-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Hero Stat - 10% reduction */
  .hero-stat-container {
    padding: 1.75rem;
  }

  .hero-stat-main {
    font-size: 2.25rem; /* 36px */
  }

  .hero-stat-comparison {
    font-size: 1.35rem; /* 21.6px */
  }

  /* AI Insight - 10% reduction */
  .ai-insight-card {
    padding: 1.35rem;
  }

  .ai-insight-title {
    font-size: 1rem;
  }

  .ai-insight-message {
    font-size: 0.9rem;
  }

  /* Graph - Medium height */
  .dashboard-graph-container {
    height: 320px;
  }

  /* Top Videos - 15% reduction */
  .top-videos-row {
    min-height: 68px;
  }

  .video-thumbnail-desktop {
    width: 88px;
    height: 50px;
  }
}

/* ========================================
   DESKTOP (1024px+) - COMPACT
   ======================================== */

@media (min-width: 1024px) {
  /* 2-Column Layout - Desktop */
  .dashboard-main-content {
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
  }
  
  .left-column {
    flex: 0 0 calc(67% - 0.75rem);
  }
  
  .right-column {
    flex: 0 0 calc(33% - 0.75rem);
    display: flex;
  }
  
  /* AI insight matches left column height */
  .insight-sidebar-wrapper {
    flex: 1;
    display: flex;
  }
  
  .insight-sidebar-wrapper > div {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  /* Metric cards in one row inside left column */
  .metric-cards-row.three-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .metric-cards-row.four-cards {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .metric-cards-row.five-cards {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* Hero Stat Section - 30% reduction */
  .hero-stat-container {
    padding: 1.25rem 1.5rem; /* 20px top/bottom, 24px left/right */
  }

  .hero-stat-main {
    font-size: 1.75rem; /* 28px - down from 40px */
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }

  .hero-stat-comparison {
    font-size: 1.125rem; /* 18px - down from 24px */
    line-height: 1.4;
  }

  /* AI Insight Card - Compact but prominent */
  .ai-insight-card {
    padding: 1rem; /* 16px - down from 24-32px */
    margin-bottom: 1rem; /* 16px - down from 24px */
  }

  .ai-insight-header-text {
    font-size: 0.875rem; /* 14px */
    margin-bottom: 0.5rem;
  }

  .ai-insight-title {
    font-size: 1.125rem; /* 18px - down from 20px */
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .ai-insight-message {
    font-size: 0.9375rem; /* 15px - down from 16px */
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }

  .ai-insight-explanation {
    font-size: 0.875rem; /* 14px */
    line-height: 1.5;
  }

  .ai-insight-button {
    padding: 0.625rem 1.25rem; /* 10px 20px - down from 12px 24px */
    font-size: 0.875rem; /* 14px */
  }

  /* Metric Cards - Slight reduction */
  .dashboard-metric-card {
    padding: 0.875rem; /* 14px - more compact */
  }

  .metric-label {
    font-size: 0.8125rem; /* 13px - smaller */
  }

  .metric-value {
    font-size: 1.75rem; /* 28px - down from 32px */
    line-height: 1.2;
  }

  .metric-change {
    font-size: 0.75rem; /* 12px - smaller to prevent wrapping */
  }

  /* Graph - 30% reduction */
  .dashboard-graph-container {
    height: 280px; /* Down from 400px */
  }

  /* Top Videos Table - Compact */
  .top-videos-table th {
    font-size: 0.75rem; /* 12px */
    padding: 0.5rem 1.5rem; /* 8px vertical */
    text-transform: uppercase;
    font-weight: 600;
  }

  .top-videos-table td {
    padding: 0.5rem 1.5rem; /* 8px vertical - down from 16px */
    font-size: 0.875rem; /* 14px - down from 16px */
  }

  .top-videos-row {
    min-height: 56px; /* Compact row height */
  }

  .video-thumbnail-desktop {
    width: 80px; /* Down from larger */
    height: 45px;
  }

  .video-title-text {
    font-size: 0.875rem; /* 14px */
    line-height: 1.4;
  }

  .video-stats-text {
    font-size: 0.8125rem; /* 13px */
  }

  /* Section Spacing - Tighter */
  .dashboard-section {
    margin-bottom: 1rem; /* 16px - down from 24px */
  }

  /* Performance Metrics Section */
  .performance-metrics-card {
    padding: 1rem; /* 16px - down from 24px */
  }

  .performance-metrics-title {
    font-size: 1.125rem; /* 18px - down from 20px */
    margin-bottom: 0.75rem; /* 12px - down from 16px */
  }

  .performance-metric-label {
    font-size: 0.875rem; /* 14px */
  }

  .performance-metric-value {
    font-size: 1.5rem; /* 24px - down from 32px */
    margin-top: 0.25rem;
  }

  /* Chart title and headers - slightly smaller */
  .chart-section-title {
    font-size: 1.125rem; /* 18px - down from 20px */
  }

  /* Time period section - tighter */
  .time-period-section {
    padding: 0.75rem; /* 12px - down from 16px */
    margin-bottom: 1rem; /* 16px - down from 24px */
  }

  /* Channel header - slightly more compact */
  .channel-header-card {
    padding: 1.25rem; /* 20px - down from 24px */
    margin-bottom: 1rem; /* 16px - down from 24px */
  }

  .channel-title {
    font-size: 1.875rem; /* 30px - down from 48px */
  }

  .channel-subtitle {
    font-size: 0.9375rem; /* 15px */
  }
}

/* ========================================
   MOBILE (<768px) - COMFORTABLE
   ======================================== */

@media (max-width: 767px) {
  /* 2-Column Layout - Stack on Mobile */
  .dashboard-main-content {
    flex-direction: column;
  }
  
  .left-column,
  .right-column {
    flex: 0 0 100%;
    width: 100%;
  }
  
  /* AI insight comfortable mobile sizing */
  .insight-sidebar-wrapper > div {
    min-height: auto;
  }
  
  /* Cards go 2-column on mobile */
  .metric-cards-row.three-cards,
  .metric-cards-row.four-cards,
  .metric-cards-row.five-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Keep comfortable sizing on mobile */
  .hero-stat-container {
    padding: 1.5rem;
  }

  .hero-stat-main {
    font-size: 2rem; /* 32px - slightly smaller than original but readable */
  }

  .hero-stat-comparison {
    font-size: 1.25rem; /* 20px */
  }

  .ai-insight-card {
    padding: 1.25rem; /* 20px */
  }

  .dashboard-graph-container {
    height: 250px; /* Shorter on mobile */
  }

  /* Top Videos - More comfortable on mobile */
  .top-videos-mobile-row {
    padding: 1rem;
    min-height: 72px;
  }

  .video-title-mobile {
    font-size: 0.9375rem; /* 15px - readable on mobile */
  }

  /* Show fewer videos on mobile with smooth transition */
  .top-videos-mobile-item:nth-child(n+6) {
    display: none;
  }

  .dashboard-section {
    margin-bottom: 1.25rem; /* 20px */
  }
}
