/* CSS Variables - Design System */
:root {
  --primary: 199 89% 48%;
  --primary-foreground: 0 0% 100%;
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --border: 214 32% 91%;
  --accent: 210 40% 96%;
  --accent-foreground: 222 47% 11%;
  --destructive: 0 84% 60%;
  --ring: 199 89% 48%;
  --radius: 0.5rem;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  position: relative;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-pill {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
  border-radius: 9999px;
}

.logo-text {
  font-weight: 700;
  font-size: 0.875rem;
}

.version-badge {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.mobile-menu-btn {
  display: none;
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: hsl(var(--foreground));
}

.mobile-menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile Navigation */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.mobile-nav-overlay.active {
  display: block;
}

.mobile-nav-sheet {
  position: fixed;
  top: 0;
  right: 0;
  width: 16rem;
  height: 100%;
  background: hsl(var(--card));
  padding: 1rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-sheet {
  transform: translateX(0);
}

.close-nav-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: hsl(var(--primary));
}

/* Main Content */
.main-content {
  padding: 1.5rem 1rem;
}

/* Top Section Layout */
.top-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .top-section {
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
  }
}

.left-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.right-column {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .right-column {
    justify-content: flex-end;
  }
}

/* Hero Section */
.hero-section {
  /*padding: 1rem 0;*/
  padding:17px 0 0 0
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.welcome-badge svg {
  width: 1rem;
  height: 1rem;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 1.875rem;
  }
}

.hero-description {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin-bottom: 1rem;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.quick-access-card {
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  cursor: pointer;
  transition: all 0.2s;
}

.quick-access-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.quick-access-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
  margin-bottom: 0.375rem;
  transition: transform 0.2s;
}

.quick-access-card:hover .quick-access-icon {
  transform: scale(1.1);
}

.quick-access-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.quick-access-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Support Contact Card */
.support-contact-card {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--primary) / 0.2);
  background: hsl(var(--primary) / 0.05);
}

.support-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.support-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.support-header h3 {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.support-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.support-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.support-label svg {
  width: 1rem;
  height: 1rem;
}

.support-item {
  font-size: 0.875rem;
}

.support-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone {
  font-weight: 500;
  color: hsl(var(--foreground));
}

.toll-badge {
  font-size: 0.625rem;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.support-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.day {
  font-weight: 500;
  color: hsl(var(--foreground));
  display: block;
}

.time {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Login Card */
.login-card {
  width: 100%;
  max-width: 24rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: hsl(var(--card));
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.login-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  text-align: center;
  letter-spacing: 0.05em;
}

.logo-dot {
  color: hsl(var(--foreground));
}

.logo-t {
  color: hsl(var(--destructive));
}

.logo-semi {
  color: hsl(var(--foreground));
}

.login-title {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  color: hsl(var(--foreground));
  margin-top: 0.5rem;
}

.login-subtitle {
  font-size: 0.875rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.25rem;
}

.login-form {
  /*display: flex;*/
  flex-direction: column;
  /*gap: 1rem;*/
}

.form-group {
  /*display: flex;*/
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
}

.input-wrapper {
  position: relative;
}

.input-wrapper svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
}

.input-wrapper input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrapper input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.quiz-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quiz-row label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.quiz-question {
  font-size: 0.875rem;
  font-weight: 500;
}

.quiz-input {
  width: 4rem;
  padding: 0.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.875rem;
  outline: none;
}

.quiz-input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
}

.forgot-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  padding: 0.75rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.login-btn:hover {
  background: hsl(var(--primary) / 0.9);
}

.product-logos {
  display: flex;
  /*align-items: center;*/
  justify-content: center;
  gap: 1rem;
  padding-top: 0.5rem;
  /*opacity: 0.6;*/
}

.product-logos span {
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.product-logos .highlight {
  color: hsl(var(--primary));
}

.version-info {
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  padding-top: 0.5rem;
}

.version-info a {
  color: hsl(var(--primary));
  text-decoration: none;
}

.version-info a:hover {
  text-decoration: underline;
}

.version-info .license {
  margin-top: 0.25rem;
}

/* Sections */
.section {
  margin-top: 1.5rem;
}

.section-header {
  margin-bottom: 1rem;
}

.section-header h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.section-header h2 svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.section-header p {
  color: hsl(var(--muted-foreground));
}

/* Card */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
}

/* Training Section */
.training-section {
  width: 100%;
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .training-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Calendar */
.calendar-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.calendar-nav {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  border-radius: var(--radius);
  transition: background 0.2s;
}

.calendar-nav:hover {
  background: hsl(var(--muted));
}

.calendar-nav svg {
  width: 1.25rem;
  height: 1.25rem;
}

.calendar-month {
  font-weight: 600;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.calendar-day:hover {
  background: hsl(var(--muted));
}

.calendar-day.other-month {
  color: hsl(var(--muted-foreground) / 0.5);
}

.calendar-day.today {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-weight: 600;
}

.calendar-day.has-event {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
}

.calendar-day.has-event:hover {
  background: hsl(var(--primary) / 0.9);
}

.calendar-day.selected {
  ring: 2px;
  ring-color: hsl(var(--primary));
}

/* Upcoming Sessions */
.upcoming-sessions {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
}

.upcoming-sessions h3 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.session-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  cursor: pointer;
  transition: all 0.2s;
}

.session-item:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--muted) / 0.5);
}

.session-item.active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
}

.session-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
  min-width: 3rem;
}

.session-date .day-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--primary));
  line-height: 1;
}

.session-date .month {
  font-size: 0.625rem;
  color: hsl(var(--primary));
  text-transform: uppercase;
}

.session-info h4 {
  font-size: 0.875rem;
  font-weight: 500;
}

.session-info p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Session Details */
.session-details {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
}

.details-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

.details-placeholder svg {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.details-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.detail-row svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.detail-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 1rem 0;
  line-height: 1.6;
}

.register-btn {
  width: 100%;
  padding: 0.75rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.register-btn:hover {
  background: hsl(var(--primary) / 0.9);
}

/* Two Column Section */
.two-column-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .two-column-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Search and Filter Row */
.search-filter-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .search-filter-row {
    flex-direction: row;
  }
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-input-wrapper svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 0.875rem;
  outline: none;
}

.search-input-wrapper input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.filter-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 0.875rem;
  outline: none;
  background: hsl(var(--background));
  min-width: 10rem;
}

.filter-select:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

/* Scrollable Content */
.scrollable-content {
  height: 320px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.announcements-list.scrollable-content {
  height: 400px;
}

/* Announcements List */
.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.announcement-item {
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: all 0.2s;
}

.announcement-item:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--muted) / 0.5);
}

.announcement-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.announcement-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.announcement-badge {
  font-size: 0.625rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
}

.announcement-badge.update {
  background: hsl(199 89% 48% / 0.1);
  color: hsl(199 89% 48%);
}

.announcement-badge.alert {
  background: hsl(0 84% 60% / 0.1);
  color: hsl(0 84% 60%);
}

.announcement-badge.maintenance {
  background: hsl(45 93% 47% / 0.1);
  color: hsl(45 93% 47%);
}

.announcement-badge.feature {
  background: hsl(142 76% 36% / 0.1);
  color: hsl(142 76% 36%);
}

.announcement-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}

.announcement-date {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid hsl(var(--border));
}

.tab-btn {
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  margin-bottom: -1px;
}

.tab-btn:hover {
  color: hsl(var(--foreground));
}

.tab-btn.active {
  color: hsl(var(--primary));
  border-bottom-color: hsl(var(--primary));
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* NBTC List */
.nbtc-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nbtc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.nbtc-item:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--muted) / 0.5);
}

.nbtc-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary) / 0.1);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.nbtc-icon svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.nbtc-info {
  flex: 1;
  min-width: 0;
}

.nbtc-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.nbtc-meta {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Video List */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.video-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.video-item:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--muted) / 0.5);
}

.video-thumbnail {
  position: relative;
  width: 6rem;
  height: 3.5rem;
  background: hsl(var(--muted));
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumbnail .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--foreground) / 0.2);
  opacity: 0;
  transition: opacity 0.2s;
}

.video-item:hover .play-overlay {
  opacity: 1;
}

.play-overlay svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary-foreground));
}

.video-info {
  flex: 1;
  min-width: 0;
}

.video-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.video-item:hover .video-title {
  color: hsl(var(--primary));
}

.video-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.video-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.video-meta svg {
  width: 0.75rem;
  height: 0.75rem;
}

.video-meta .external {
  color: hsl(var(--primary));
}

.video-badge {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius);
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
  display: none;
}

@media (min-width: 640px) {
  .video-badge {
    display: inline-flex;
  }
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

.empty-state svg {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

/* Footer */
.footer {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 3rem 0;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  grid-column: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  border-radius: var(--radius);
}

.footer-logo-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary-foreground));
}

.footer-logo h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-logo p {
  font-size: 0.75rem;
  opacity: 0.7;
}

.footer-desc {
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-column h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column a {
  font-size: 0.875rem;
  color: hsl(var(--background));
  opacity: 0.7;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-column a:hover {
  opacity: 1;
  color: hsl(var(--primary));
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.7;
}

.contact-list svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--background) / 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--background));
  opacity: 0.5;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: hsl(var(--primary));
}

/* Responsive */
@media (max-width: 767px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .quick-access-grid {
    grid-template-columns: 1fr;
  }
}