/* ========================================================================
   BRIX Templates Design System - styles.css
   Version: 1.0.0
   ======================================================================== */

/* ========================================================================
   1. DESIGN TOKENS / CSS VARIABLES
   ======================================================================== */

:root {
  /* ======================
     Colors - Blue-Tinted Gray Scale
     ====================== */
  --gray-50: #fafbfc;
  --gray-100: #f5f7f9;
  --gray-200: #e8ecf0;
  --gray-300: #d5dce3;
  --gray-400: #a3b1c1;
  --gray-500: #738396;
  --gray-600: #546278;
  --gray-700: #404859;
  --gray-800: #2a3142;
  --gray-900: #1a2030;

  /* ======================
     Colors - Primary (Blue)
     ====================== */
  --primary-50: #e8f2ff;
  --primary-100: #d4e6ff;
  --primary-200: #a9ccff;
  --primary-300: #7eb3ff;
  --primary-400: #5399ff;
  --primary-500: #2370FF;
  --primary-600: #1a5ad4;
  --primary-700: #1447a8;
  --primary-800: #0f357d;
  --primary-900: #0a2351;

  /* ======================
     Colors - Background
     ====================== */
  --bg-lavender: #f0f5ff;  /* Light blue-tinted background */
  
  /* ======================
     Colors - Semantic
     ====================== */
  --success-500: #10b981;
  --success-600: #059669;
  --warning-500: #f59e0b;
  --warning-600: #d97706;
  --error-500: #ef4444;
  --error-600: #dc2626;
  --info-500: #3b82f6;
  --info-600: #2563eb;
  
  /* ======================
     Spacing Scale (4px base)
     ====================== */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  
  /* ======================
     Border Radius
     ====================== */
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;
  
  /* ======================
     Component Sizing
     ====================== */
  --size-control-sm: 20px;
  --size-icon-xs: 12px;
  --size-icon-sm: 16px;
  --size-icon-md: 20px;
  --size-icon-lg: 24px;
  --size-button-sm: 36px;
  --size-button-md: 40px;
  --size-button-lg: 44px;
  --size-input: 40px;
  --size-container-max: 800px;
  
  /* ======================
     Typography - Font Sizes
     ====================== */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  
  /* ======================
     Typography - Font Weights
     ====================== */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* ======================
     Typography - Line Heights
     ====================== */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* ======================
     Typography - Font Families
     ====================== */
  --font-sans: "Inter Tight", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono",
               Consolas, "Courier New", monospace;
  
  /* ======================
     Shadows
     ====================== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 10px 25px rgba(0, 0, 0, 0.1);
  
  /* ======================
     Transitions
     ====================== */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  --transition-bounce: 0.15s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================================================
   2. RESET & BASE STYLES
   ======================================================================== */

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

/* Ensure Inter Tight is used as base font */
html {
  font-family: var(--font-sans);
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--gray-700);
  background: var(--bg-lavender);
  padding: var(--space-8);
  max-width: var(--size-container-max);
  margin: 0 auto;
}

/* Ensure all elements inherit the font unless specifically overridden */
button, input, select, textarea {
  font-family: inherit;
}

/* ========================================================================
   3. TYPOGRAPHY
   ======================================================================== */

h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
  color: var(--gray-800);
  margin-bottom: var(--space-3);
}

p {
  color: var(--gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

/* ========================================================================
   4. LAYOUT COMPONENTS
   ======================================================================== */

.container {
  max-width: var(--size-container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.logo {
  width: 120px;
  height: auto;
  margin-bottom: var(--space-6);
  display: block;
}

/* ========================================================================
   5. CARDS & PANELS
   ======================================================================== */

.card {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-4);
}

.card-compact {
  padding: var(--space-4);
}

.card-bordered {
  box-shadow: none;
  border: 1px solid var(--gray-100);
}

.card-elevated {
  box-shadow: var(--shadow-lg);
}

.card-header {
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--gray-100);
}

/* .card-body - Main content area, structure only, no specific styles needed */

.card-footer {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-100);
}

/* ========================================================================
   6. BUTTONS
   ======================================================================== */

.btn {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Button Variants */
.btn-primary {
  background: var(--primary-500);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-600);
}

.btn-secondary {
  background: white;
  color: var(--primary-500);
  border: 1px solid var(--primary-500);
}

.btn-secondary:hover {
  background: var(--primary-50);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.btn-ghost:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.btn-danger {
  background: var(--error-500);
  color: white;
}

.btn-danger:hover {
  background: var(--error-600);
}

.btn-success {
  background: var(--success-500);
  color: white;
}

.btn-success:hover {
  background: var(--success-600);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
}

.btn-md {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
}

/* Button States */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn.copied {
  background: var(--success-500);
}

/* ========================================================================
   7. FORMS
   ======================================================================== */

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  transition: all var(--transition-base);
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: var(--leading-normal);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: var(--font-medium);
  color: var(--gray-700);
  font-size: var(--text-sm);
}

/* Checkboxes and Radios */
.checkbox-wrapper,
.radio-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-3);
  cursor: pointer;
}

.checkbox,
.radio {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: var(--size-control-sm);
  height: var(--size-control-sm);
}

/* Bot Checkbox Specific Styles */
.bot-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: var(--size-control-sm);
  height: var(--size-control-sm);
}

.checkbox-box,
.radio-box {
  width: var(--size-control-sm);
  height: var(--size-control-sm);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-right: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-bounce);
  flex-shrink: 0;
}

.radio-box {
  border-radius: var(--radius-full);
}

.checkbox-box i,
.radio-box i {
  font-size: var(--text-xs);
  color: white;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-bounce);
}

.checkbox:checked ~ .checkbox-box,
.radio:checked ~ .radio-box {
  background: var(--primary-500);
  border-color: var(--primary-500);
  transform: scale(1.05);
}

.checkbox:checked ~ .checkbox-box i,
.radio:checked ~ .radio-box i {
  opacity: 1;
  transform: scale(1);
}

.checkbox:focus ~ .checkbox-box,
.radio:focus ~ .radio-box {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Bot Checkbox Checked States */
.bot-checkbox:checked ~ label .checkbox-box {
  background: var(--primary-500);
  border-color: var(--primary-500);
  transform: scale(1.05);
}

.bot-checkbox:checked ~ label .checkbox-box i {
  opacity: 1;
  transform: scale(1);
}

.bot-checkbox:focus ~ label .checkbox-box {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ========================================================================
   8. NAVIGATION & TABS
   ======================================================================== */

.tabs {
  display: inline-flex;
  gap: var(--space-2);
  background: var(--gray-100);
  padding: var(--space-1);
  border-radius: var(--radius-lg);
}

.tab {
  padding: var(--space-2) var(--space-4);
  background: transparent;
  border: none;
  color: var(--gray-600);
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.tab:hover:not(.active) {
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.5);
}

.tab.active {
  background: white;
  color: var(--primary-600);
  box-shadow: var(--shadow-sm);
}

.tab-icon {
  font-size: var(--text-sm);
}

.tab-content {
  display: none;
}

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

/* Main tabs container */
.main-tabs-container {
  background: white;
  padding: var(--space-2);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  display: inline-block;
}

.main-tabs {
  background: var(--bg-lavender);
}

/* ========================================================================
   9. TABLES
   ======================================================================== */

.table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.table th {
  background: var(--gray-900);
  color: white;
  text-align: left;
  padding: var(--space-4);
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
}

.table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--gray-100);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background: var(--gray-50);
}

/* ========================================================================
   10. UTILITY CLASSES
   ======================================================================== */

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

/* Flexbox */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }

/* Spacing */
.m-0 { margin: 0; }
.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }

/* Text */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Colors */
.text-primary { color: var(--primary-500); }
.text-success { color: var(--success-500); }
.text-error { color: var(--error-500); }
.text-warning { color: var(--warning-500); }
.text-muted { color: var(--gray-500); }

.bg-primary { background: var(--primary-500); }
.bg-success { background: var(--success-500); }
.bg-error { background: var(--error-500); }
.bg-warning { background: var(--warning-500); }
.bg-gray-50 { background: var(--gray-50); }
.bg-gray-100 { background: var(--gray-100); }
.bg-white { background: white; }

/* Borders */
.border { border: 1px solid var(--gray-200); }
.border-top { border-top: 1px solid var(--gray-200); }
.border-bottom { border-bottom: 1px solid var(--gray-200); }
.border-none { border: none; }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-none { box-shadow: none; }

/* ========================================================================
   11. SCROLLBAR STYLES
   ======================================================================== */

/* Custom scrollbar for code blocks */
.code-display::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.code-display::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: var(--radius-full);
}

.code-display::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
}

.code-display::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* Firefox scrollbar styling */
.code-display {
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) var(--gray-100);
}

/* Global thin scrollbars for better consistency */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) var(--gray-100);
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--gray-50);
}

*::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-md);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ========================================================================
   12. COMPONENT-SPECIFIC STYLES
   ======================================================================== */

/* Bot List Styles */
.bot-item {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: var(--space-3);
}

.bot-item:last-child {
  margin-bottom: 0;
}

.bot-item label {
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.bot-name {
  color: var(--gray-900);
  font-weight: var(--font-medium);
}

.bot-company {
  color: var(--gray-500);
  font-size: var(--text-sm);
  margin-left: var(--space-2);
}

/* Category Headers */
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.category-title {
  color: var(--gray-900);
  font-weight: var(--font-semibold);
  font-size: var(--text-lg);
  margin: 0;
}

.category-description {
  color: var(--gray-500);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  font-weight: var(--font-normal);
}

/* Bot Count Badge */
.bot-count {
  color: var(--gray-600);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  font-weight: var(--font-medium);
  white-space: nowrap;
}

/* Code Display */
.code-display {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  max-height: 400px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  white-space: pre;
  word-wrap: break-word;
  color: var(--gray-900);
}

/* Search Input */
.search-wrapper {
  position: relative;
  margin-bottom: var(--space-6);
}

.search-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-600);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-10);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  color: var(--gray-800);
  transition: all var(--transition-base);
  background: white;
  font-family: var(--font-sans);
}

.search-input::placeholder {
  color: var(--gray-400);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-500);
  background: white;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-1);
}

.quick-action-btn {
  background: white;
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.quick-action-btn:hover {
  border-color: var(--primary-500);
  color: var(--gray-900);
  background: var(--primary-50);
}

.btn-icon {
  color: var(--primary-500);
  font-size: var(--text-xs);
  width: var(--size-icon-sm);
  text-align: center;
}

/* Check Category Button */
.check-category-btn {
  background: transparent;
  border: 1px solid var(--primary-500);
  color: var(--primary-500);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.check-category-btn:hover {
  background: var(--primary-50);
}

.check-icon {
  width: var(--size-icon-xs);
  height: var(--size-icon-xs);
  display: inline-block;
}

/* See All Button */
.see-all-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: transparent;
  border: none;
  color: var(--primary-500);
  font-size: var(--text-sm);
  cursor: pointer;
  margin-top: var(--space-3);
  text-align: left;
  padding: 0;
  font-weight: var(--font-medium);
}

.see-all-btn i {
  font-size: var(--text-xs);
  transition: transform var(--transition-base);
}

.see-all-btn:hover {
  text-decoration: underline;
}

.see-all-btn:hover i {
  transform: translateY(2px);
}

/* Bots List Container */
.bots-container {
  position: relative;
  margin-bottom: var(--space-4);
}

.bots-list {
  list-style: none;
  margin-bottom: 0;
  position: relative;
}

.bots-list.collapsed .bot-item:nth-child(n+4) {
  display: none;
}

/* Gradient Overlay */
.gradient-overlay {
  position: absolute;
  bottom: -5px;
  left: -5px;
  right: -5px;
  height: 65px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 30%, rgba(255,255,255,1) 100%);
  pointer-events: none;
  z-index: 1;
}

.bots-list.collapsed .gradient-overlay {
  display: block;
}

.bots-list:not(.collapsed) .gradient-overlay {
  display: none;
}

/* Result Section */
.result {
  margin-top: var(--space-4);
  padding: var(--space-6);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.result-header {
  color: var(--gray-900);
  font-weight: var(--font-medium);
  font-size: var(--text-lg);
  text-align: left;
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.result-icon {
  color: var(--primary-500);
  font-size: var(--text-xl);
}

/* Footer */
.by-brix {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.by-brix a {
  color: var(--primary-500);
  text-decoration: none;
  font-weight: var(--font-medium);
  padding: 0 var(--space-2);
  margin-left: var(--space-1);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  display: inline-block;
  position: relative;
}

.by-brix a:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-600);
}

/* ========================================================================
   13. RESPONSIVE DESIGN
   ======================================================================== */

@media (max-width: 768px) {
  body {
    padding: var(--space-4);
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: var(--text-3xl);
  }
  
  .card {
    padding: var(--space-4);
  }
}