.catalog-page {
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

.catalog-header {
  padding: 16px 20px 0;
  background-color: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 22px;
  color: var(--text);
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
}

.catalog-title-section {
  margin-bottom: 16px;
}

.catalog-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}

.catalog-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.search-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  z-index: 1;
}

.search-input {
  width: 100%;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px 12px 42px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #1abc9c;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.catalog-content {
  padding: 4px 20px 0;
}

.courses-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Skeleton loading */
.loading-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-card {
  height: 160px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.empty-icon {
  font-size: 48px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.empty-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.empty-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
