/* ==========================================================================
   Base variables and theme settings
   ========================================================================== */

:root {
  /* Colors - Dark theme (default) */
  --primary: #7c3aed;
  --primary-hover: #8b5cf6;
  --primary-dark: #6d28d9;
  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --bg: #0f172a;
  --bg-darker: #020617;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-active: rgba(255, 255, 255, 0.15);
  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);
  
  /* Sizing and spacing */
  --radius-sm: 0.375rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  
  /* Effects */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --blur: 16px;
  --blur-light: 8px;
  
  /* Animations */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography */
  --font: 'Plus Jakarta Sans', sans-serif;
}

/* Light theme - Applied to html element */
html.light-mode {
  --primary: #6d28d9;
  --primary-hover: #7c3aed;
  --primary-dark: #5b21b6;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --bg-darker: #e2e8f0;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-active: rgba(255, 255, 255, 0.95);
  --border: rgba(0, 0, 0, 0.1);
  --border-light: rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Reset and base elements
   ========================================================================== */

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

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition);
}

.background-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
              radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
  z-index: -1;
  opacity: 0.8;
  transition: opacity var(--transition);
}

html.light-mode .background-gradient {
  opacity: 0.2;
}

/* ==========================================================================
   Glass effect components
   ========================================================================== */

.glass {
  background: var(--surface);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.glass:hover {
  background: var(--surface-active);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.glass-nav {
  background: var(--surface);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.glass-input {
  background: var(--surface);
  backdrop-filter: blur(var(--blur-light));
  -webkit-backdrop-filter: blur(var(--blur-light));
  border: 1px solid var(--border);
}

.glass-footer {
  background: var(--surface);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

/* ==========================================================================
   Header and navigation
   ========================================================================== */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
}

.logo a:hover .logo-icon {
  transform: scale(1.1);
}

.logo span {
  font-size: 1.25rem;
  font-weight: 600;
  color: #A399FF;
  letter-spacing: -0.025em;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all var(--transition-fast);
}

nav a:hover {
  color: var(--text);
  background: var(--surface);
}

nav a.active {
  color: var(--primary);
  background: var(--surface);
}

.controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ==========================================================================
   Theme toggle
   ========================================================================== */

.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.theme-toggle:hover {
  background: var(--surface-active);
  color: var(--primary);
}

.theme-toggle i {
  transition: transform var(--transition), opacity var(--transition);
}

.theme-toggle:hover i {
  transform: rotate(45deg);
}

/* Default (dark mode): Show SUN icon */
.theme-toggle .fa-sun {
  opacity: 1;
  display: inline-block;
}

.theme-toggle .fa-moon {
  opacity: 0;
  display: none;
}

/* Light mode: Show MOON icon - Updated to use html selector */
html.light-mode .theme-toggle .fa-sun {
  opacity: 0 !important;
  display: none !important;
}

html.light-mode .theme-toggle .fa-moon {
  opacity: 1 !important;
  display: inline-block !important;
}

/* ==========================================================================
   Search form
   ========================================================================== */

.search-form {
  position: relative;
}

.search-container {
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: 9999px;
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
  max-width: 280px;
}

.search-input {
  width: 180px;
  padding: 0.625rem 0.875rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.875rem;
  transition: width var(--transition);
}

.search-form.expanded .search-input {
  width: 280px;
}

.search-input:focus {
  outline: none;
}

.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.search-button:hover {
  color: var(--primary);
}

#search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  background: var(--surface-active);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all var(--transition);
}

#search-suggestions.active {
  max-height: 400px;
  opacity: 1;
}

.search-loading {
  padding: 1rem;
  text-align: center;
  color: var(--text-secondary);
}

.search-suggestion {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-suggestion:hover {
  background: var(--surface);
}

.suggestion-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: var(--primary);
}

.suggestion-content {
  flex: 1;
}

.suggestion-name {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.suggestion-match,
.suggestion-collection,
.suggestion-description {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.search-all-results {
  display: block;
  padding: 0.75rem 1rem;
  text-align: center;
  color: var(--primary);
  font-weight: 500;
  border-top: 1px solid var(--border);
  transition: background var(--transition-fast);
  text-decoration: none;
}

.search-all-results:hover {
  background: var(--surface);
}

.search-no-results {
  padding: 1rem;
  text-align: center;
  color: var(--text-secondary);
}

/* ==========================================================================
   Mobile menu
   ========================================================================== */

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1001;
}

.menu-toggle:hover {
  background: var(--surface-active);
  color: var(--primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu nav a {
  font-size: 1.25rem;
  padding: 0.75rem 1.5rem;
}

/* ==========================================================================
   Main content
   ========================================================================== */

main {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  animation: fadeSlideDown 0.8s ease-out;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  animation: fadeSlideDown 0.8s ease-out;
  animation-delay: 0.1s;
  animation-fill-mode: both;
}

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

/* ==========================================================================
   Filter controls
   ========================================================================== */

.filter-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  background: var(--surface-active);
  color: var(--text);
}

.filter-tab.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ==========================================================================
   Collections Grid
   ========================================================================== */

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.collection-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  opacity: 0;
  animation: fadeSlideUp 0.6s ease-out forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.collection-card:nth-child(2) {
  --delay: 1;
}

.collection-card:nth-child(3) {
  --delay: 2;
}

.collection-card:nth-child(4) {
  --delay: 3;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.collection-icon {
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: white;
  font-size: 2rem;
  transition: all var(--transition);
}

.collection-card:hover .collection-icon {
  background-color: var(--primary-hover);
  width: 110px;
}

.collection-details {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.collection-details h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  min-height: 2.8em;
}

.collection-details h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: block;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.8em;
}

.collection-details h3 a:hover {
  color: var(--primary);
}

.collection-card:hover .collection-details h3 a {
  color: var(--primary);
}

.collection-count {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.collection-details p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.card-actions {
  display: flex;
  gap: 0.75rem;
}

.preview-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.preview-button:hover {
  background: var(--primary-hover);
}

.download-button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.download-button:hover {
  background: var(--primary);
  color: white;
}

/* ==========================================================================
   Buttons and actions
   ========================================================================== */

.action-button {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.action-button:hover {
  background: var(--primary-hover);
}

.submit-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.submit-button:hover {
  background: var(--primary-hover);
}

.download-all-button {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.download-all-button:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   Information sections
   ========================================================================== */

.collections-info {
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
}

.collections-info h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.collections-info p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: var(--text-secondary);
}

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 4rem 0;
}

.tools-section {
  margin-top: 4rem;
}

.tools-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.tools-section p {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.tools-section .collection-details h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.tools-section .collection-details h3 a:hover {
  color: var(--primary);
}

.more-icons, .more-tools {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* ==========================================================================
   Icon page specific styles
   ========================================================================== */

.icon-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.icon-page-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.icon-page-title p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.icon-page-description {
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
}

.icon-page-description p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.icon-page-description p:last-child {
  margin-bottom: 0;
}

.icon-page-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.search-wrapper {
  flex: 1;
  max-width: 400px;
  position: relative;
  border-radius: var(--radius);
}

.search-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-wrapper input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.875rem;
}

.search-wrapper input:focus {
  outline: none;
}

.icon-count {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.view-switcher {
  display: flex;
  gap: 0.5rem;
}

.view-button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-button:hover {
  background: var(--surface-active);
  color: var(--text);
}

.view-button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ==========================================================================
   Icons container and grid
   ========================================================================== */

.icons-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1.5rem;
}

.icons-grid.list-view {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.icon-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition);
  animation: fadeScaleIn 0.4s ease-out forwards;
  opacity: 0;
  animation-delay: calc(var(--index, 0) * 0.03s);
}

.icon-item:hover {
  background: var(--surface-active);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow);
}

.icons-grid.list-view .icon-item {
  flex-direction: row;
  padding: 0.75rem 1rem;
  text-align: left;
}

.icon-preview {
  width: 100%;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icons-grid.list-view .icon-preview {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  margin-right: 1rem;
}

.icon-preview img {
  max-width: 100%;
  max-height: 100%;
  transition: transform var(--transition-fast);
}

.icon-item:hover .icon-preview img {
  transform: scale(1.1);
}

.icon-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.icons-grid.list-view .icon-name {
  margin-bottom: 0;
  flex: 1;
  font-size: 0.875rem;
}

.icon-download {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--text-secondary);
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.icon-download:hover {
  background: var(--primary);
  color: white;
}

@keyframes fadeScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   Pagination controls
   ========================================================================== */

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pagination-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pagination-button:hover {
  background: var(--surface-active);
  color: var(--text);
}

.pagination-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.page-number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-number:hover {
  background: var(--surface-active);
  color: var(--text);
}

.page-number.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.page-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Loading indicators
.loading-indicator {
grid-column: 1 / -1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 4rem 2rem;
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(255, 255, 255, 0.1);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 1s linear infinite;
margin-bottom: 1.5rem;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.loading-indicator p {
color: var(--text-secondary);
}
/* ==========================================================================
Tabler icons specific styles
========================================================================== */
.tabler-controls {
display: flex;
flex-direction: column;
padding: 1.5rem;
margin-bottom: 2rem;
border-radius: var(--radius);
}
.style-controls h3 {
margin-bottom: 1rem;
font-size: 1rem;
font-weight: 600;
}
.style-buttons {
display: flex;
gap: 1rem;
}
.style-btn {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.625rem 1.25rem;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--text-secondary);
font-family: var(--font);
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all var(--transition-fast);
}
.style-btn:hover {
background: var(--surface-active);
color: var(--text);
}
.style-btn.active {
background: var(--primary);
color: white;
border-color: var(--primary);
}
/* ==========================================================================
Content sections
========================================================================== */
.tabler-notes,
.usage-examples,
.icon-specs,
.icon-features,
.usage-ideas,
.download-info {
padding: 1.5rem 2rem;
margin-top: 2rem;
border-radius: var(--radius);
}
.tabler-notes h3,
.usage-examples h3,
.icon-specs h3,
.icon-features h3,
.usage-ideas h3,
.download-info h3 {
margin-bottom: 1rem;
font-size: 1.25rem;
font-weight: 600;
}
.tabler-notes p,
.usage-examples p,
.icon-specs p,
.icon-features p,
.usage-ideas p,
.download-info p {
margin-bottom: 1rem;
color: var(--text-secondary);
line-height: 1.6;
}
.tabler-notes ul,
.usage-examples ul,
.icon-specs ul,
.icon-features ul,
.usage-ideas ul,
.download-info ul {
margin-left: 1.5rem;
margin-bottom: 1rem;
color: var(--text-secondary);
}
.tabler-notes li,
.usage-examples li,
.icon-specs li,
.icon-features li,
.usage-ideas li,
.download-info li {
margin-bottom: 0.5rem;
}
.tabler-notes a {
color: var(--primary);
text-decoration: none;
transition: color var(--transition-fast);
}
.tabler-notes a:hover {
color: var(--primary-hover);
text-decoration: underline;
}
/* ==========================================================================
Related collections
========================================================================== */
.related-collections {
margin-top: 4rem;
}
.related-collections h2 {
text-align: center;
font-size: 1.75rem;
margin-bottom: 2rem;
}
/* ==========================================================================
Tool categories
========================================================================== */
.tools-categories {
display: flex;
justify-content: center;
gap: 0.75rem;
margin-bottom: 3rem;
flex-wrap: wrap;
}
.tool-category {
padding: 0.625rem 1.25rem;
border-radius: 9999px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--text-secondary);
font-family: var(--font);
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all var(--transition-fast);
}
.tool-category:hover {
background: var(--surface-active);
color: var(--text);
}
.tool-category.active {
background-color: var(--primary);
color: white;
border-color: var(--primary);
}
.tool-section {
margin-top: 4rem;
padding: 2.5rem;
border-radius: var(--radius-lg);
}
.tool-section-content {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.tool-section h2 {
font-size: 1.75rem;
margin-bottom: 1rem;
}
.tool-section p {
color: var(--text-secondary);
margin-bottom: 1.5rem;
line-height: 1.6;
}
/* ==========================================================================
Form styles
========================================================================== */
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
}
.glass-input {
width: 100%;
padding: 0.875rem 1.25rem;
border-radius: var(--radius);
color: var(--text);
font-family: var(--font);
font-size: 0.875rem;
}
textarea.glass-input {
resize: vertical;
min-height: 150px;
}
.glass-input:focus {
outline: none;
border-color: var(--primary);
}
.form-success {
padding: 3rem 2rem;
text-align: center;
border-radius: var(--radius-lg);
margin-bottom: 2rem;
}
.success-icon {
font-size: 4rem;
color: var(--primary);
margin-bottom: 1.5rem;
}
.form-success h2 {
margin-bottom: 1rem;
font-size: 1.75rem;
}
.form-success p {
max-width: 500px;
margin: 0 auto 2rem;
color: var(--text-secondary);
}
.form-error {
padding: 1rem;
background: rgba(239, 68, 68, 0.1);
border-left: 4px solid #ef4444;
border-radius: var(--radius-sm);
margin-bottom: 1.5rem;
color: #ef4444;
}
/* ==========================================================================
Contact page styles
========================================================================== */
.contact-container {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 2rem;
}
.contact-info {
padding: 2.5rem;
border-radius: var(--radius-lg);
display: flex;
flex-direction: column;
gap: 2.5rem;
}
.contact-method {
display: flex;
gap: 1.25rem;
}
.contact-icon {
width: 3rem;
height: 3rem;
border-radius: 50%;
background: var(--surface-active);
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
font-size: 1.25rem;
flex-shrink: 0;
}
.contact-details h3 {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 0.75rem;
}
.contact-details p {
color: var(--text-secondary);
margin-bottom: 0.5rem;
}
.contact-social h3 {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 1.25rem;
}
.contact-form {
padding: 2.5rem;
border-radius: var(--radius-lg);
}
.contact-form h2 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 2rem;
}
.social-links {
display: flex;
gap: 1rem;
}
.social-links a {
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
background: var(--surface);
color: var(--text-secondary);
border-radius: 50%;
transition: all var(--transition-fast);
}
.social-links a:hover {
background: var(--primary);
color: white;
}
/* ==========================================================================
About page styles
========================================================================== */
.about-content {
padding: 2.5rem;
border-radius: var(--radius-lg);
}
.about-section {
margin-bottom: 3rem;
}
.about-section:last-child {
margin-bottom: 0;
}
.about-section h2 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1.25rem;
color: var(--text);
}
.about-section p {
margin-bottom: 1.25rem;
color: var(--text-secondary);
line-height: 1.7;
}
.about-section ul,
.about-section ol {
margin-left: 1.5rem;
margin-bottom: 1.25rem;
color: var(--text-secondary);
}
.about-section li {
margin-bottom: 0.5rem;
}
.about-section a {
color: var(--primary);
text-decoration: none;
transition: color var(--transition-fast);
}
.about-section a:hover {
color: var(--primary-hover);
text-decoration: underline;
}
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.team-member {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.member-avatar {
width: 80px;
height: 80px;
border-radius: 50%;
background: var(--surface-active);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
color: var(--primary);
font-size: 1.75rem;
transition: all var(--transition-fast);
}
.team-member:hover .member-avatar {
background: var(--primary);
color: white;
transform: scale(1.1);
}
.team-member h3 {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.team-member p {
color: var(--text-muted);
font-size: 0.875rem;
}
/* ==========================================================================
Legal pages styles
========================================================================== */
.legal-content {
padding: 2.5rem;
border-radius: var(--radius-lg);
}
.legal-section {
margin-bottom: 2.5rem;
}
.legal-section:last-child {
margin-bottom: 0;
}
.legal-section h2 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1.25rem;
color: var(--text);
}
.legal-section h3 {
font-size: 1.125rem;
font-weight: 600;
margin: 1.5rem 0 1rem;
color: var(--text);
}
.legal-section p {
margin-bottom: 1rem;
color: var(--text-secondary);
line-height: 1.7;
}
.legal-section ul {
margin: 1rem 0 1.5rem 1.5rem;
color: var(--text-secondary);
}
.legal-section ul li {
margin-bottom: 0.5rem;
}
/* ==========================================================================
Search results page
========================================================================== */
.search-section {
margin-bottom: 3rem;
}
.search-section h2 {
font-size: 1.5rem;
margin-bottom: 1.5rem;
}
.no-results {
text-align: center;
padding: 3rem 1rem;
}
.no-results-icon {
font-size: 3rem;
color: var(--text-secondary);
margin-bottom: 1.5rem;
}
.search-suggestions {
max-width: 500px;
margin: 2rem auto;
text-align: left;
background: var(--surface);
padding: 1.5rem;
border-radius: var(--radius);
}
.search-suggestions h3 {
margin-bottom: 1rem;
}
.search-suggestions ul {
list-style-type: disc;
padding-left: 1.5rem;
}
.search-suggestions li {
margin-bottom: 0.5rem;
}
.browse-links {
display: flex;
justify-content: center;
gap: 1rem;
margin-top: 2rem;
}
/* ==========================================================================
Error page styles
========================================================================== */
.error-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 6rem 2rem;
text-align: center;
}
.error-icon {
font-size: 5rem;
color: var(--primary);
margin-bottom: 2rem;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.1);
opacity: 0.8;
}
100% {
transform: scale(1);
opacity: 1;
}
}
.error-title {
font-size: 3rem;
font-weight: 700;
margin-bottom: 1rem;
}
.error-message {
font-size: 1.25rem;
color: var(--text-secondary);
margin-bottom: 2rem;
max-width: 600px;
}
.error-path {
padding: 0.75rem 1.5rem;
background: var(--surface);
border-radius: var(--radius);
font-family: monospace;
margin-bottom: 2rem;
word-break: break-all;
max-width: 100%;
}
.error-actions {
display: flex;
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
}
.error-search {
margin: 2rem 0;
width: 100%;
max-width: 500px;
}
.error-search-form {
display: flex;
width: 100%;
}
.error-search-input {
flex: 1;
padding: 0.75rem 1.25rem;
border: 1px solid var(--border);
border-right: none;
border-top-left-radius: var(--radius);
border-bottom-left-radius: var(--radius);
background: var(--surface);
color: var(--text);
font-family: var(--font);
}
.error-search-button {
padding: 0.75rem 1.25rem;
background: var(--primary);
color: white;
border: none;
border-top-right-radius: var(--radius);
border-bottom-right-radius: var(--radius);
cursor: pointer;
}
/* ==========================================================================
Footer styles
========================================================================== */
.footer-content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 2rem;
margin-bottom: 2rem;
}
.footer-logo {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1rem;
}
.footer-logo .logo-icon {
width: 3rem;
height: 3rem;
}
.footer-links {
display: flex;
flex-wrap: wrap;
gap: 3rem;
}
.footer-section h4 {
font-size: 1rem;
font-weight: 600;
margin-bottom: 1rem;
}
.footer-section ul {
list-style: none;
}
.footer-section ul li {
margin-bottom: 0.5rem;
}
.footer-section ul li a {
color: var(--text-secondary);
text-decoration: none;
transition: color var(--transition-fast);
}
.footer-section ul li a:hover {
color: var(--primary);
}
.footer-bottom {
padding-top: 1.5rem;
border-top: 1px solid var(--border);
text-align: center;
}
.footer-bottom p {
color: var(--text-muted);
font-size: 0.875rem;
}
/* ==========================================================================
Responsive styles
========================================================================== */
@media (max-width: 1200px) {
.collections-grid {
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
}
@media (max-width: 992px) {
header {
padding: 1rem 1.5rem;
}
main {
padding: 1.5rem;
}
.hero h1 {
font-size: 2.25rem;
}
.contact-container {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
header nav {
display: none;
}
.menu-toggle {
display: flex;
}
.logo span {
font-size: 1.125rem;
}
.hero h1 {
font-size: 2rem;
}
.hero p {
font-size: 1.125rem;
}
.filter-controls {
overflow-x: auto;
justify-content: flex-start;
padding-bottom: 0.5rem;
}
.collection-icon {
width: 80px;
font-size: 1.5rem;
}
.collection-card:hover .collection-icon {
width: 90px;
}
.icons-grid {
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.team-grid {
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.about-content,
.contact-info,
.contact-form,
.legal-content {
padding: 1.5rem;
}
.search-input {
width: 140px;
}
.search-form.expanded .search-input {
width: 200px;
}
.browse-links {
flex-direction: column;
align-items: center;
}
}
@media (max-width: 576px) {
header {
padding: 0.75rem 1rem;
}
.controls {
margin-left: auto;
}
.hero h1 {
font-size: 1.75rem;
}
.hero p {
font-size: 1rem;
}
.search-wrapper {
max-width: 100%;
}
.icon-page-toolbar {
flex-direction: column;
align-items: flex-start;
}
.search-wrapper {
width: 100%;
}
.view-switcher {
align-self: flex-end;
}
.icons-grid {
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
}
.icon-preview {
height: 100px;
}
.pagination-controls {
flex-wrap: wrap;
}
.footer-content {
flex-direction: column;
gap: 1.5rem;
}
.footer-links {
gap: 2rem;
}
.search-button {
width: 30px;
}
.theme-toggle {
width: 2.25rem;
height: 2.25rem;
}
.menu-toggle {
width: 2.25rem;
height: 2.25rem;
}
}
/* ==========================================================================
Print styles
========================================================================== */
@media print {
.glass-nav,
.glass-footer,
.theme-toggle,
.menu-toggle,
.search-form,
.pagination-controls,
.action-button,
.filter-controls {
display: none !important;
}
body {
background: white;
color: black;
}
main {
padding: 0;
}
.glass {
box-shadow: none;
border: 1px solid #eee;
background: white;
}
a {
color: #000;
text-decoration: underline;
}
.icon-item {
break-inside: avoid;
}
}



.load-more-section {
    text-align: center;
    margin: 2rem 0;
}

.load-more-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.loading-more-indicator {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
}

.spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}