/* Main Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #333;
  background: linear-gradient(to bottom right, #f8fafc, #e0f2fe);
}

/* Logo */
.logo-container {
  width: 40px;
  height: 40px;
  background: linear-gradient(to bottom right, #2563eb, #1e40af);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Channel Cards */
.channel-card {
  transition: all 0.3s ease;
  border-color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.channel-thumbnail {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid #f1f5f9;
}

.featured-badge {
  background: linear-gradient(to right, #f59e0b, #ea580c);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 1rem;
  text-align: center;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.channel-name {
  color: #1e293b;
  transition: color 0.2s;
}

.channel-card:hover .channel-name {
  color: #2563eb;
}

.channel-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags */
.tag-theme {
  background-color: #f3e8ff;
  color: #7e22ce;
}

.tag-language {
  background-color: #dcfce7;
  color: #15803d;
}

.tag-gameType {
  background-color: #ffedd5;
  color: #c2410c;
}

.tag-level {
  background-color: #dbeafe;
  color: #1e40af;
}

/* Filter Panel */
.filter-option {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-option:not(.active) {
  background-color: #f1f5f9;
  color: #475569;
}

.filter-option:not(.active):hover {
  background-color: #e2e8f0;
}

.filter-option.active {
  background-color: #2563eb;
  color: white;
}

/* Forms */
.form-control:focus, .btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* Suggest Form */
#suggest-form .filter-option {
  display: inline-block;
  margin-bottom: 0.5rem;
  border: 1px solid #e2e8f0;
}

#suggest-form .filter-option.active {
  border-color: #2563eb;
}

/* Admin Panel */
.edit-channel, .delete-channel {
  transition: all 0.2s;
}

.edit-channel:hover {
  background-color: #dbeafe;
  border-color: #2563eb;
}

.delete-channel:hover {
  background-color: #fee2e2;
  border-color: #dc2626;
}