/* ============================================================
   Color Palette Generator Tool - Standalone Styles
   Fully isolated from main website
   All styles self-contained - no external dependencies
   ============================================================ */

:root {
  /* Brand Colors */
  --primary: #00e556;
  --primary-dim: rgba(0, 229, 86, 0.1);
  --primary-glow: #00e556;
  
  /* Light Theme (Default) */
  --bg-main: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-surface: #ffffff;
  --surface-light: #ffffff;
  --text-main: #0b0b0b;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --border-color: #e2e8f0;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(0, 229, 86, 0.3);
}

html.dark {
  --bg-main: #030303;
  --bg-secondary: #0a0a0a;
  --bg-surface: #0f0f0f;
  --surface-light: #0f0f0f;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --text-light: #6b7280;
  --border-color: #262626;
  --border-light: #262626;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(0, 229, 86, 0.4);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Header */
.tool-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.88);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

html.dark .tool-header {
  background: rgba(3, 3, 3, 0.8);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.logo-link:hover {
  color: var(--primary);
}

.logo-badge {
  background: var(--primary-dim);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Header Navigation - Pill Style */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 16px;
  background: var(--surface-light);
  padding: 4px;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  text-decoration: none;
  color: var(--text-muted);
  background: transparent;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
  background: var(--bg-secondary);
}

.nav-link.active {
  background: var(--primary);
  color: #000;
}

.nav-link .material-icons-outlined {
  font-size: 18px;
}

.nav-link span:not(.material-icons-outlined) {
  display: inline-block;
}

@media (max-width: 768px) {
  .nav-link span:not(.material-icons-outlined) {
    display: none;
  }
  
  .nav-link {
    padding: 8px 12px;
    min-width: 40px;
    justify-content: center;
  }
  
  .header-nav {
    margin-right: 8px;
  }
}

.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-main);
}

.theme-toggle:hover {
  background: var(--primary-dim);
  border-color: var(--primary);
}

.theme-icon-light,
.theme-icon-dark {
  font-size: 20px;
}

html:not(.dark) .theme-icon-dark {
  display: none;
}

html.dark .theme-icon-light {
  display: none;
}

/* Main Content */
.tool-main {
  flex: 1;
  padding: 40px 0;
}

.hero-section {
  text-align: center;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.text-glow {
  background: linear-gradient(135deg, var(--primary) 0%, #00c44a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 229, 86, 0.5);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.tool-section {
  margin-bottom: 40px;
}

.tool-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.tool-card:hover {
  box-shadow: var(--shadow-md);
}


/* Privacy Notice */
.privacy-notice {
  background: var(--primary-dim);
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 32px;
  color: var(--text-main);
  font-size: 0.9375rem;
}

/* Palette Generator - Two Column Layout */
.palette-generator {
  width: 100%;
}

/* Top Action Buttons */
.top-action-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 8px;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .top-action-buttons {
    flex-direction: column;
  }
  
  .top-action-buttons .btn {
    width: 100%;
  }
}

.palette-grid {
  display: grid;
  grid-template-columns: 2fr 3fr; /* Left 40%, Right 60% */
  gap: 32px;
  align-items: start;
  width: 100%;
}

@media (max-width: 1024px) {
  .palette-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Left Column */
.palette-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0; /* Prevent grid overflow */
}

/* Right Column */
.palette-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0; /* Prevent grid overflow */
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.control-input {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.control-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}

.color-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.color-picker {
  width: 60px;
  height: 44px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  background: none;
}

.color-picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}

.color-hex {
  flex: 1;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
}

.control-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.control-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.control-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.control-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease;
}

.control-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.slider-value {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  min-width: 50px;
  text-align: right;
}

.control-actions {
  display: flex;
  gap: 12px;
  grid-column: 1 / -1;
  margin-top: 8px;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #000;
}

.btn-primary:hover {
  background: #00c44a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
}

.btn-export {
  background: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-export:hover {
  background: var(--primary-dim);
  border-color: var(--primary);
  color: var(--primary);
}

/* Scheme Type Selectors */
.scheme-selectors {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.scheme-selectors h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scheme-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.scheme-icon {
  flex: 1;
  min-width: 60px;
  padding: 12px 8px;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-main);
}

.scheme-icon:hover {
  border-color: var(--primary);
  background: var(--primary-dim);
  color: var(--text-main);
}

.scheme-icon.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #000;
}

.scheme-icon.active .scheme-icon-circle,
.scheme-icon.active .scheme-icon-adjacent,
.scheme-icon.active .scheme-icon-triangle,
.scheme-icon.active .scheme-icon-square {
  color: #000 !important;
}

.scheme-icon.active .scheme-label {
  color: #000 !important;
}

.scheme-icon-circle,
.scheme-icon-adjacent,
.scheme-icon-triangle,
.scheme-icon-square {
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-main) !important;
  transition: none;
}

.scheme-icon-triangle {
  font-size: 1rem;
}

.scheme-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-main) !important;
  transition: none;
}

.scheme-select-hidden {
  display: none;
}

/* Color Wheel */
.color-wheel-container {
  text-align: center;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#colorWheel {
  border-radius: 50%;
  cursor: crosshair;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--border-color);
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
}

.wheel-info {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Color Info Panel */
.color-info-panel {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.color-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.color-info-item > label {
  flex-shrink: 0;
  min-width: 80px;
}

.color-info-item > span:not(.slider-value),
.color-info-item > div {
  flex: 1;
  min-width: 0;
}

.color-info-item > label {
  flex-shrink: 0;
}

.color-info-item > span,
.color-info-item > div {
  flex: 1;
  min-width: 0;
}

.color-info-item label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  min-width: 80px;
}

.color-info-item .slider-value {
  min-width: 50px;
  text-align: right;
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.875rem;
  padding: 4px 8px;
  margin-left: auto;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.btn-link:hover {
  color: var(--text-main);
}

.color-info-actions {
  margin-top: 8px;
}

/* Panel Tabs */
.panel-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-secondary);
  padding: 4px;
  border-radius: 8px;
}

.panel-tab {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.panel-tab:hover {
  color: var(--text-main);
  background: var(--bg-surface);
}

.panel-tab.active {
  background: var(--primary);
  color: #000;
}

/* Palette Swatches (Compact) */
.palette-swatches-compact {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.palette-swatches-compact h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.swatches-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.swatch-compact {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.swatch-compact:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.swatch-compact::after {
  content: attr(data-hex);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border: 1px solid var(--border-color);
  z-index: 20;
}

.swatch-compact:hover::after {
  opacity: 1;
}

/* Color Variations Grid */
.palette-variations {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.palette-variations h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.variations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.variation-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.variation-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.variation-main {
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.variation-main::after {
  content: attr(data-hex);
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.variation-shades {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 60px;
}

.variation-shade {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.variation-shade:hover {
  transform: scale(1.1);
  z-index: 10;
}

.variation-shade::after {
  content: attr(data-hex);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border: 1px solid var(--border-color);
  z-index: 20;
}

.variation-shade:hover::after {
  opacity: 1;
}

/* Legacy Palette Colors (for compatibility) */
.palette-colors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.palette-color {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.palette-color:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.color-swatch {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.color-info {
  padding: 12px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.color-hex-code {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.color-rgb {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.color-copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.palette-color:hover .color-copy-btn {
  opacity: 1;
}

/* Color Details */
.color-details {
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.color-details h3 {
  margin-bottom: 16px;
  color: var(--text-main);
}

.color-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.detail-item {
  padding: 12px;
  background: var(--bg-surface);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.detail-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.detail-value {
  font-family: 'Courier New', monospace;
  font-size: 0.9375rem;
  color: var(--text-main);
  font-weight: 600;
}

/* Contrast Checker */
.contrast-checker {
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.contrast-checker h3 {
  margin-bottom: 16px;
  color: var(--text-main);
}

.contrast-results {
  display: grid;
  gap: 12px;
}

.contrast-item {
  padding: 16px;
  background: var(--bg-surface);
  border-radius: 6px;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contrast-colors {
  display: flex;
  gap: 12px;
  align-items: center;
}

.contrast-swatch {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.contrast-info {
  flex: 1;
}

.contrast-ratio {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contrast-status {
  font-size: 0.875rem;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.contrast-status.pass {
  background: #10b981;
  color: white;
}

.contrast-status.fail {
  background: #ef4444;
  color: white;
}

.contrast-status.warning {
  background: #f59e0b;
  color: white;
}

/* Export Section */
.export-section {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 8px;
  display: none;
}

.export-section.active {
  display: block;
}

/* Preview Section (for future use) */
.preview-section {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 8px;
  display: block;
}

.preview-section:not(.active) {
  display: none;
}

.preview-section.active {
  display: block;
}

.export-section h3 {
  margin-bottom: 16px;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
}

.export-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}


@media (max-width: 768px) {
  .export-buttons {
    grid-template-columns: 1fr;
  }
  
  .variations-grid {
    grid-template-columns: 1fr;
  }
  
  #colorWheel {
    max-width: 300px;
  }
}

/* About Section */
.about-section {
  margin-top: 40px;
}

.about-content {
  max-width: none;
}

.about-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-main);
}

.about-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.about-content p {
  margin-bottom: 16px;
  color: var(--text-main);
  line-height: 1.8;
}

.info-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.info-list li {
  padding: 12px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-main);
  line-height: 1.7;
}

.info-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--primary);
  font-weight: bold;
}

.info-list ol {
  list-style: decimal;
  padding-left: 24px;
  margin-bottom: 24px;
}

.info-list ol li {
  padding: 8px 0;
  padding-left: 8px;
}

.info-list ol li::before {
  display: none;
}

/* FAQ */
.faq-item {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.faq-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.faq-item p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.info-note {
  padding: 20px;
  background: var(--primary-dim);
  border: 1px solid var(--primary);
  border-radius: 8px;
  margin-top: 32px;
  color: var(--text-main);
  line-height: 1.8;
}

/* Footer */
.tool-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  margin-top: 60px;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  color: var(--primary);
  font-size: 1.25rem;
}

.toast-message {
  color: var(--text-main);
  font-size: 0.9375rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .palette-grid {
    grid-template-columns: 1fr;
  }
  
  .palette-left,
  .palette-right {
    width: 100%;
  }
  
  #colorWheel {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .tool-card {
    padding: 20px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .palette-grid {
    gap: 20px;
  }
  
  .scheme-icons {
    gap: 6px;
  }
  
  .scheme-icon {
    min-width: 50px;
    padding: 10px 6px;
  }
  
  #colorWheel {
    max-width: 300px;
  }
  
  .variations-grid {
    grid-template-columns: 1fr;
  }
  
  .export-buttons {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .color-info-item {
    flex-wrap: wrap;
  }
  
  .color-info-item label {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  #colorWheel {
    max-width: 280px;
  }
  
  .color-wheel-container {
    padding: 16px;
  }
  
  .scheme-icon {
    min-width: 45px;
    padding: 8px 4px;
  }
  
  .scheme-label {
    font-size: 0.7rem;
  }
}

