body { }
.font-preview { font-family: 'Courier New', Courier, monospace; }

/* ==========================
   Fonts Channel Enhancements
   ========================== */
/* Filter toolbar */
.fonts-filter-bar {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: .75rem;
  display: flex;
  gap: .5rem;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.fonts-filter-bar .form-control,
.fonts-filter-bar .form-select {
  border-radius: .5rem;
}

.fonts-filter-bar .btn-primary {
  border-radius: .5rem;
}

/* Current selection summary */
.fonts-filter-summary {
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
  border: 1px solid #e9ecef;
  border-radius: .75rem;
  padding: .75rem 1rem;
  color: #495057;
}

.fonts-filter-summary strong {
  color: #212529;
}

/* Card grid spacing */
.fonts-grid {
  row-gap: 1.25rem;
}

/* Font list card */
.font-card.sleek {
  border-radius: 1rem;
  border-color: #e9ecef;
  box-shadow: 0 2px 10px rgba(33,37,41,.04);
}

.font-card.sleek .card-header {
  background: linear-gradient(180deg, #fafbff 0%, #f3f5ff 100%);
  border-bottom: 1px solid #eef1ff;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.font-card.sleek .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .2px;
}

.font-card .meta {
  color: #6c757d;
  font-size: .875rem;
}

.font-card .badge {
  border-radius: 999px;
}

/* Muted palette for elegant look */
.badge-muted {
  background: #f5f6f8;
  color: #495057;
  border: 1px solid #e5e7eb;
  font-weight: 500;
}

.badge-muted-alt {
  background: #f0f2f4;
  color: #6c757d;
  border: 1px solid #e6e8ea;
  font-weight: 500;
}

.text-muted-strong {
  color: #555e68;
}

.btn-ghost-muted {
  color: #495057;
  background: #f7f8f9;
  border: 1px solid #e5e7eb;
}

.btn-ghost-muted:hover {
  background: #eef1f4;
  border-color: #dfe3e7;
  color: #343a40;
}

.font-card .btn-ghost-muted {
  border-radius: .5rem;
  background: #f6f8ff;
  border-color: #dfe6ff;
  color: #3f4b5a;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}

.font-card .btn-ghost-muted:hover {
  background: #eef2ff;
  border-color: #cfd7ff;
  color: #2b3645;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16,24,40,.08);
}

.font-card .btn-ghost-muted:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
}

.font-card .btn-ghost-muted:focus-visible {
  box-shadow: 0 0 0 3px rgba(99,102,241,.2);
}

.font-card .btn-ghost-muted .bi { color: inherit; opacity: .9; }

.hairline-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.06), transparent);
  margin: .5rem 0 .75rem;
}

[data-bs-theme="dark"] .badge-muted,
[data-bs-theme="dark"] .badge-muted-alt {
  background: #2f3439;
  color: #cfd4da;
  border-color: #3a4046;
}

[data-bs-theme="dark"] .btn-ghost-muted {
  background: #2b3035;
  border-color: #3a4046;
  color: #cfd4da;
}

[data-bs-theme="dark"] .btn-ghost-muted:hover {
  background: #32373c;
  border-color: #444a51;
  color: #ffffff;
}

.font-card .btn-outline-secondary {
  border-radius: .5rem;
}

/* Preview pane */
.font-preview.slim {
  background: #fafbfc;
  border: 1px dashed #eef1f4;
  min-height: 72px;
  position: relative;
  overflow: hidden;
}

.font-preview.slim .font-name {
  transition: all 0.3s ease;
}

.font-preview.slim .font-name.loading {
  color: #6c757d;
  font-style: normal;
}

.font-preview.slim .font-name.error {
  color: #dc3545;
  font-size: 0.875rem;
}

.font-preview.slim .font-name.loaded {
  color: #4b5563;
  font-weight: 600;
}

/* Softer preview title color */
.font-preview.slim .font-name {
  color: #4b5563;
}

/* Hover feeling */
.font-card.sleek:hover {
  transform: translateY(-3px);
  border-color: #dfe3ff;
  box-shadow: 0 10px 26px rgba(111,66,193,.10);
}

/* Dark theme tweaks for fonts channel */
[data-bs-theme="dark"] .fonts-filter-bar {
  background: #2b3035;
  border-color: #3b4046;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

[data-bs-theme="dark"] .fonts-filter-summary {
  background: linear-gradient(180deg, #23272b 0%, #292d31 100%);
  border-color: #3b4046;
  color: #adb5bd;
}

[data-bs-theme="dark"] .font-card.sleek .card-header {
  background: linear-gradient(180deg, #2b3035 0%, #262b2f 100%);
  border-bottom-color: #3b4046;
}

[data-bs-theme="dark"] .font-preview.slim {
  background: #2f3439;
  border-color: #3a4046;
}

[data-bs-theme="dark"] .font-preview.slim .font-name {
  color: #cfd4da;
}

/* Header gradient similar to Bootstrap homepage */
.header-gradient {
  background: linear-gradient(90deg, #6f42c1 0%, #6d4aff 50%, #5a36f0 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 2px 8px rgba(0,0,0,.08);
}
.navbar.header-gradient .navbar-brand,
.navbar.header-gradient .nav-link { color: rgba(255,255,255,.95); }
.navbar.header-gradient .nav-link:hover { color: #fff; }

/* Logo styling */
.navbar-brand img {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Pill search - Fixed styling */
.search-pill {
  background: rgba(255,255,255,.15);
  border-radius: 999px;
  padding: .35rem .5rem .35rem .75rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 280px;
}

.search-pill .form-control {
  background: transparent;
  border: 0;
  color: #fff;
  width: 100%;
  padding: 0.25rem 0;
  font-size: 0.875rem;
}

.search-pill .form-control::placeholder { 
  color: rgba(255,255,255,.8); 
}

.search-pill .form-control:focus {
  box-shadow: none;
  outline: none;
}

.search-pill .btn { 
  background: #fff; 
  color: #6f42c1; 
  border: none;
  border-radius: 50%; 
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease-in-out;
  flex-shrink: 0;
}

.search-pill .btn:hover {
  background: #f8f9fa;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-pill .btn:active {
  transform: scale(0.95);
}

.search-pill .btn i {
  font-size: 0.875rem;
  font-weight: bold;
}

.search-pill .search-icon { 
  color: rgba(255,255,255,.9); 
  font-size: 0.875rem;
}

.search-pill .kbd-hint { 
  color: rgba(255,255,255,.8); 
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255,255,255,.1);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* Header tweaks */
.navbar .navbar-brand { letter-spacing: .2px; }
.navbar .nav-link { padding-left: .5rem; padding-right: .5rem; }

/* Footer tweaks */
footer .link-body-emphasis:hover { text-decoration: underline; }

/* Enhanced theme dropdown */
.theme-dropdown {
  min-width: 140px;
  padding: 0.5rem 0;
}

.theme-option {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
  color: inherit;
}

.theme-option:hover {
  background-color: var(--bs-light);
  text-decoration: none;
  color: inherit;
}

.theme-option.active {
  background: linear-gradient(90deg, #6f42c1 0%, #6d4aff 50%, #5a36f0 100%);
  color: white;
  border-radius: 0.375rem;
  margin: 0 0.5rem;
}

.theme-option.active .theme-icon {
  filter: brightness(0) invert(1);
}

.theme-check {
  color: white;
  font-weight: bold;
  font-size: 0.875rem;
}

.theme-icon {
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
}

.theme-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.theme-text {
  flex: 1;
}

/* Hero Section - Bootstrap inspired */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero-logo {
  margin-bottom: 2rem;
  text-align: center;
}

.hero-logo-img {
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(111, 66, 193, 0.15));
  margin: 0 auto;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.25rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  text-align: center;
}

.hero-actions {
  gap: 1.5rem;
  justify-content: center;
}

/* Code Block */
.code-block {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.code-text {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
  font-size: 1rem;
  color: #495057;
  margin: 0;
}

.copy-btn {
  background: none;
  border: none;
  color: #6c757d;
  padding: 0.25rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background-color: #e9ecef;
  color: #495057;
}

.copy-btn i {
  font-size: 1rem;
}

/* Hero Button */
.hero-btn {
  background: linear-gradient(135deg, #6f42c1 0%, #6d4aff 50%, #5a36f0 100%);
  border: none;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(111, 66, 193, 0.3);
  transition: all 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(111, 66, 193, 0.4);
  text-decoration: none;
  color: white;
}

.hero-btn i {
  font-size: 1.2rem;
}

/* Features Section */
.features-section {
  background: white;
  padding: 5rem 0;
}

.feature-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-color: #6f42c1;
}

.feature-icon {
  color: #6f42c1;
  margin-bottom: 1.5rem;
}

.feature-icon i {
  font-size: 2.5rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 1rem;
}

.feature-text {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Enhanced theme support */
[data-bs-theme="dark"] .bg-light {
  background-color: var(--bs-dark) !important;
}

[data-bs-theme="dark"] .card {
  background-color: var(--bs-dark);
  border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .text-muted {
  color: var(--bs-secondary) !important;
}

/* Dark theme overrides for hero section */
[data-bs-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #212529 0%, #343a40 50%, #495057 100%);
}

[data-bs-theme="dark"] .hero-title {
  color: #f8f9fa;
}

[data-bs-theme="dark"] .hero-description {
  color: #adb5bd;
}

[data-bs-theme="dark"] .code-block {
  background: #343a40;
  border-color: #495057;
}

[data-bs-theme="dark"] .code-text {
  color: #e9ecef;
}

[data-bs-theme="dark"] .features-section {
  background: #212529;
}

[data-bs-theme="dark"] .feature-card {
  background: #343a40;
  border-color: #495057;
}

[data-bs-theme="dark"] .feature-title {
  color: #f8f9fa;
}

[data-bs-theme="dark"] .feature-text {
  color: #adb5bd;
}

/* Smooth transitions */
.theme-transition {
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Enhanced dropdown styles */
.dropdown-item.active {
  background-color: var(--bs-primary);
  color: var(--bs-white);
}

/* Responsive improvements */
@media (max-width: 991.98px) {
  .search-pill {
    margin: 1rem 0;
    width: 100%;
    min-width: auto;
  }
  .search-pill .form-control {
    width: 100%;
  }
  
  .hero-logo-img {
    max-width: 100px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    max-width: 500px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .code-block {
    min-width: auto;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-logo-img {
    max-width: 80px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .hero-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
} 

/* Font Cards */
.font-card {
  transition: all 0.15s ease-in-out;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.font-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-color: #6f42c1;
}

.font-preview {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.font-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #6f42c1;
  word-break: break-all;
}

/* Font Detail Page */
.font-preview-area {
  min-height: 200px;
  border: 2px dashed #dee2e6;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.font-preview-area:hover {
  border-color: #6f42c1;
  background: #f0f0f0;
}

.font-preview-text {
  font-size: 2rem;
  line-height: 1.5;
  margin: 0;
  word-break: break-all;
}

.font-info-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: none;
  border-radius: 1rem;
}

.font-tag {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.5rem 1rem;
  background: rgba(111, 66, 193, 0.1);
  color: #6f42c1;
  border-radius: 2rem;
  font-size: 0.875rem;
}

/* Dark theme overrides for fonts */
[data-bs-theme="dark"] .font-card {
  background-color: #343a40;
  border-color: #495057;
}

[data-bs-theme="dark"] .font-preview {
  background: #495057;
}

[data-bs-theme="dark"] .font-preview-area {
  background: #495057;
  border-color: #6c757d;
}

[data-bs-theme="dark"] .font-info-card {
  background: linear-gradient(135deg, #343a40 0%, #495057 100%);
}

[data-bs-theme="dark"] .font-tag {
  background: rgba(111, 66, 193, 0.2);
} 