/* ============================================================
 * Hueit - Styling
 *
 * This file contains all styling for the color palette generator.
 * The app supports multiple themes that can be easily customized.
 *
 * Main sections:
 * 1. Imports & Base styles
 * 2. Animations (blob background effect)
 * 3. Button effects (3D elevation on hover)
 * 4. Themes: Dark, Light, Pastel (add new ones below)
 * 5. Common component styles
 * 6. Responsive design for mobile
 * ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Syne:wght@700;800&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: background 0.4s ease, color 0.4s ease;
    letter-spacing: 0.3px;
}

/* Typography - headings use Syne for a premium, geometric look */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.025em;
    font-weight: 800;
}

/* ===== ANIMATIONS ===== */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* ===== 3D BUTTON EFFECT ===== */
.btn-3d {
    position: relative;
    border: none;
    border-bottom: 4px solid rgba(0, 0, 0, 0.3);
    border-right: 4px solid rgba(0, 0, 0, 0.2);
    transition: all 0.15s ease;
    transform: translateY(0);
}

.btn-3d:hover {
    transform: translateY(-4px);
    border-bottom: 6px solid rgba(0, 0, 0, 0.4);
    border-right: 6px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2) !important;
}

.btn-3d:active {
    transform: translateY(2px);
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    border-right: 2px solid rgba(0, 0, 0, 0.1);
}

/* Dark theme with 3D effect */
body.theme-dark .btn-3d {
    border-bottom-color: rgba(255, 255, 255, 0.15);
    border-right-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .btn-3d:hover {
    border-bottom-color: rgba(255, 255, 255, 0.25);
    border-right-color: rgba(255, 255, 255, 0.2);
}

/* ===== DARK THEME (Primary) =====
   This is the default theme. To modify:
   1. Change background: #0f172a to your color
   2. Change color: #e2e8f0 to your text color
   3. Update other sections (cards, buttons, etc) with matching colors

   To add a new theme, copy this entire section and change:
   - body.theme-dark → body.theme-mytheme
   - All colors to match your theme
   ===== */
body.theme-dark {
    background: linear-gradient(135deg, #0a0e27 0%, #0f172a 50%, #0a0e27 100%);
    color: #e2e8f0;
}

body.theme-dark .card {
    background: rgba(20, 28, 50, 0.5);
    border: 1px solid rgba(100, 120, 180, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

body.theme-dark .card-inner {
    background: rgba(10, 14, 39, 0.3);
    border: 1px solid rgba(100, 120, 180, 0.1);
}

body.theme-dark .text-primary {
    color: #f1f5f9;
}

body.theme-dark .text-secondary {
    color: #cbd5e1;
}

body.theme-dark .canvas-area {
    background: rgba(20, 30, 48, 0.8);
    border: 2px solid rgba(71, 85, 105, 0.4);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Button styling - flat by default, elevates on hover with shadow on bottom/right
   The shadow color should match your theme's background tone (desaturated) */
body.theme-dark .btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: #ffffff;
    font-weight: 700;
    border: none;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);       /* Starts at normal position */
    letter-spacing: 0.5px;
    position: relative;
}

body.theme-dark .btn-primary:hover {
    transform: translateY(-4px) translateX(-2px);  /* Lift up and left */
    box-shadow: 6px 6px 0 rgba(6, 182, 212, 0.3), 0 12px 25px rgba(6, 182, 212, 0.25); /* Shadow appears on bottom/right */
}

body.theme-dark .btn-primary:active {
    transform: translateY(-1px) translateX(-1px);
    box-shadow: 2px 2px 0 rgba(6, 182, 212, 0.2), 0 4px 10px rgba(6, 182, 212, 0.15);
}

body.theme-dark .theme-toggle {
    background: rgba(30, 41, 59, 0.5);
    border: none;
    color: #cbd5e1;
    font-weight: 600;
    transition: all 0.15s ease;
    box-shadow: none;
    transform: translateY(0);
}

body.theme-dark .theme-toggle:hover {
    background: rgba(30, 41, 59, 0.7);
    color: #f1f5f9;
    transform: translateY(-2px) translateX(-1px);
    box-shadow: 3px 3px 0 rgba(71, 85, 105, 0.4);
}

body.theme-dark .theme-toggle.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
    border: none;
    box-shadow: none;
}

body.theme-dark .theme-toggle.active:hover {
    transform: translateY(-2px) translateX(-1px);
    box-shadow: 3px 3px 0 rgba(71, 85, 105, 0.5);
}

body.theme-dark .card-inner {
    transition: all 0.2s ease;
}

body.theme-dark .card-inner:hover {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(71, 85, 105, 0.3);
}

/* Elevate effect for card-inner buttons in dark theme */
body.theme-dark button.card-inner:hover {
    box-shadow: 3px 3px 0 rgba(71, 85, 105, 0.4);
}

body.theme-dark .codeFormatBtn,
body.theme-dark .colorBlindBtn {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(71, 85, 105, 0.3);
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: none;
    transform: translateY(0);
}

body.theme-dark .codeFormatBtn:hover,
body.theme-dark .colorBlindBtn:hover {
    background: rgba(30, 41, 59, 0.7);
    color: #f1f5f9;
    transform: translateY(-2px) translateX(-1px);
    box-shadow: 3px 3px 0 rgba(71, 85, 105, 0.4);
}

body.theme-dark #codeFormatSelect {
    background: rgba(30, 41, 59, 0.5);
    border: none;
    color: #cbd5e1;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: none;
    transform: translateY(0);
}

body.theme-dark #codeFormatSelect:hover {
    background: rgba(30, 41, 59, 0.7);
    color: #f1f5f9;
    transform: translateY(-3px) translateX(-2px);
    box-shadow: 4px 4px 0 rgba(71, 85, 105, 0.5);
}

body.theme-dark #codeFormatSelect:focus {
    outline: none;
    background: rgba(30, 41, 59, 0.7);
    color: #f1f5f9;
}


body.theme-dark .codeFormatBtn.active,
body.theme-dark .colorBlindBtn.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: rgba(6, 182, 212, 0.5);
    color: #22d3ee;
    border-bottom: 3px solid rgba(6, 182, 212, 0.5);
    border-right: 3px solid rgba(6, 182, 212, 0.4);
}

body.theme-dark .code-block {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.3);
    color: #cbd5e1;
}

body.theme-dark .shadow-color-preview {
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.15);
}

/* ===== LIGHT THEME ===== */
body.theme-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #1e293b;
}

body.theme-light .card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(203, 213, 225, 0.5);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

body.theme-light .card-inner {
    background: rgba(248, 250, 252, 0.6);
    border: 1px solid rgba(203, 213, 225, 0.3);
}

/* Elevate effect for card-inner buttons in light theme */
body.theme-light button.card-inner:hover {
    box-shadow: 3px 3px 0 rgba(203, 213, 225, 0.4);
}

body.theme-light .text-primary {
    color: #0f172a;
}

body.theme-light .text-secondary {
    color: #64748b;
}

body.theme-light .canvas-area {
    background: #ffffff;
    border: 2px solid rgba(203, 213, 225, 0.5);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
}

body.theme-light .btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: #ffffff;
    font-weight: 600;
    border: none;
    box-shadow: none;
    transition: all 0.15s ease;
    transform: translateY(0);
}

body.theme-light .btn-primary:hover {
    transform: translateY(-3px) translateX(-2px);
    box-shadow: 4px 4px 0 rgba(3, 105, 161, 0.6);
}

body.theme-light .btn-primary:active {
    transform: translateY(-1px) translateX(-1px);
    box-shadow: 2px 2px 0 rgba(3, 105, 161, 0.6);
}

body.theme-light .theme-toggle {
    background: rgba(241, 245, 249, 0.7);
    border: none;
    color: #64748b;
    font-weight: 600;
    transition: all 0.15s ease;
}

body.theme-light .theme-toggle:hover {
    background: rgba(226, 232, 240, 0.8);
    color: #334155;
    transform: translateY(-2px) translateX(-1px);
    box-shadow: 3px 3px 0 rgba(203, 213, 225, 0.4);
}

body.theme-light .theme-toggle.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
    border: none;
}

body.theme-light .theme-toggle.active:hover {
    transform: translateY(-2px) translateX(-1px);
    box-shadow: 3px 3px 0 rgba(3, 105, 161, 0.8);
}

body.theme-light .codeFormatBtn,
body.theme-light .colorBlindBtn {
    background: rgba(241, 245, 249, 0.6);
    border: 2px solid rgba(203, 213, 225, 0.3);
    color: #64748b;
    font-weight: 500;
    box-shadow: none;
    transform: translateY(0);
    transition: all 0.2s ease;
}

body.theme-light .codeFormatBtn:hover,
body.theme-light .colorBlindBtn:hover {
    background: rgba(226, 232, 240, 0.7);
    color: #334155;
    transform: translateY(-2px) translateX(-1px);
    box-shadow: 3px 3px 0 rgba(203, 213, 225, 0.3);
}

body.theme-light #codeFormatSelect {
    background: rgba(241, 245, 249, 0.6);
    border: none;
    color: #64748b;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: none;
    transform: translateY(0);
}

body.theme-light #codeFormatSelect:hover {
    background: rgba(226, 232, 240, 0.7);
    color: #334155;
    transform: translateY(-3px) translateX(-2px);
    box-shadow: 4px 4px 0 rgba(3, 105, 161, 0.6);
}

body.theme-light #codeFormatSelect:focus {
    outline: none;
    background: rgba(226, 232, 240, 0.7);
    color: #334155;
}


body.theme-light .codeFormatBtn.active,
body.theme-light .colorBlindBtn.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-color: rgba(6, 182, 212, 0.4);
    color: #0369a1;
}

body.theme-light .code-block {
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(203, 213, 225, 0.3);
    color: #334155;
}

body.theme-light .shadow-color-preview {
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.1);
}

/* ===== PASTEL THEME (Vibrant & Colorful) ===== */
body.theme-pastel {
    background: linear-gradient(135deg, #ffe5f7 0%, #e5f3ff 25%, #f0e5ff 50%, #e5ffe5 75%, #fff9e5 100%);
    color: #4a3f35;
}

body.theme-pastel .card {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 150, 200, 0.3);
    box-shadow: 0 8px 32px rgba(255, 120, 180, 0.15), 0 4px 16px rgba(147, 112, 219, 0.1);
}

body.theme-pastel .card-inner {
    background: linear-gradient(135deg, rgba(255, 229, 247, 0.8) 0%, rgba(229, 243, 255, 0.8) 100%);
    border: 2px solid rgba(255, 150, 200, 0.4);
}

/* Elevate effect for card-inner buttons in pastel theme */
body.theme-pastel button.card-inner:hover {
    box-shadow: 3px 3px 0 rgba(255, 150, 200, 0.3);
}

body.theme-pastel .text-primary {
    color: #8b2a5a;
}

body.theme-pastel .text-secondary {
    color: #a070a0;
}

body.theme-pastel .canvas-area {
    background: linear-gradient(135deg, #fff5fb 0%, #f5fbff 100%);
    border: 3px solid rgba(255, 150, 200, 0.5);
    box-shadow: 0 4px 16px rgba(255, 150, 200, 0.2), inset 0 2px 4px rgba(255, 200, 230, 0.3);
}

body.theme-pastel .btn-primary {
    background: linear-gradient(135deg, #ff85e0 0%, #ff6ba6 50%, #ff82d0 100%);
    box-shadow: none;
    color: white;
    font-weight: 600;
    border: none;
    transition: all 0.15s ease;
    transform: translateY(0);
}

body.theme-pastel .btn-primary:hover {
    transform: translateY(-3px) translateX(-2px);
    box-shadow: 4px 4px 0 rgba(214, 51, 132, 0.8);
}

body.theme-pastel .btn-primary:active {
    transform: translateY(-1px) translateX(-1px);
    box-shadow: 2px 2px 0 rgba(214, 51, 132, 0.8);
}

body.theme-pastel .theme-toggle {
    background: linear-gradient(135deg, rgba(255, 200, 230, 0.5) 0%, rgba(200, 230, 255, 0.5) 100%);
    border: none;
    color: #c9568a;
    font-weight: 500;
    transition: all 0.15s ease;
}

body.theme-pastel .theme-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 150, 200, 0.6) 0%, rgba(150, 200, 255, 0.6) 100%);
    color: #a03070;
    transform: translateY(-2px) translateX(-1px);
    box-shadow: 3px 3px 0 rgba(255, 150, 200, 0.4);
}

body.theme-pastel .theme-toggle.active {
    background: linear-gradient(135deg, #ff85e0 0%, #ff6ba6 50%, #ff82d0 100%);
    color: white;
    border: none;
    box-shadow: none;
}

body.theme-pastel .theme-toggle.active:hover {
    transform: translateY(-2px) translateX(-1px);
    box-shadow: 3px 3px 0 rgba(214, 51, 132, 0.8);
}

body.theme-pastel .codeFormatBtn,
body.theme-pastel .colorBlindBtn {
    background: linear-gradient(135deg, rgba(255, 200, 230, 0.4) 0%, rgba(200, 230, 255, 0.4) 100%);
    border: 2px solid rgba(255, 150, 200, 0.3);
    color: #c9568a;
    box-shadow: none;
    transform: translateY(0);
    transition: all 0.2s ease;
}

body.theme-pastel .codeFormatBtn:hover,
body.theme-pastel .colorBlindBtn:hover {
    background: linear-gradient(135deg, rgba(255, 150, 200, 0.5) 0%, rgba(150, 200, 255, 0.5) 100%);
    color: #a03070;
    transform: translateY(-2px) translateX(-1px);
    box-shadow: 3px 3px 0 rgba(255, 150, 200, 0.3);
}

body.theme-pastel .codeFormatBtn.active,
body.theme-pastel .colorBlindBtn.active {
    background: linear-gradient(135deg, #ff85e0 0%, #ff6ba6 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 6px 16px rgba(255, 107, 166, 0.3);
}

body.theme-pastel .code-block {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 150, 200, 0.3);
    color: #4a7c59;
    box-shadow: inset 0 2px 8px rgba(255, 150, 200, 0.1);
}

body.theme-pastel .shadow-color-preview {
    box-shadow: 0 8px 24px rgba(255, 107, 166, 0.25), 0 4px 12px rgba(200, 150, 255, 0.15);
}

body.theme-pastel #codeFormatSelect {
    background: linear-gradient(135deg, rgba(255, 200, 230, 0.4) 0%, rgba(200, 230, 255, 0.4) 100%);
    border: none;
    color: #c9568a;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: none;
    transform: translateY(0);
}

body.theme-pastel #codeFormatSelect:hover {
    background: linear-gradient(135deg, rgba(255, 150, 200, 0.5) 0%, rgba(150, 200, 255, 0.5) 100%);
    color: #a03070;
    transform: translateY(-3px) translateX(-2px);
    box-shadow: 4px 4px 0 rgba(255, 150, 200, 0.3);
}

body.theme-pastel #codeFormatSelect:focus {
    outline: none;
    background: linear-gradient(135deg, rgba(255, 150, 200, 0.5) 0%, rgba(150, 200, 255, 0.5) 100%);
    color: #a03070;
}

body.theme-pastel #codeFormatSelect option {
    background: rgba(255, 245, 251, 0.95);
    color: #4a3f35;
}


/* ===== COMMON STYLES ===== */

/* General select styling - ensures proper width and rounded corners */
select {
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em 1.5em;
}

/* Custom dropdown arrow for selects */
select.codeFormatBtn {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Make sure options are never hidden */
select option {
    padding: 0.5rem;
    margin: 0;
}

.card {
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-inner {
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.2s ease;
}

/* Elevate effect for card-inner buttons (Your Palette section) */
button.card-inner {
    transform: translateY(0);
    box-shadow: none;
}

button.card-inner:hover {
    transform: translateY(-3px) translateX(-2px);
}

.btn-primary {
    border-radius: 8px;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.canvas-area {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.canvas-area:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.indicator {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 0 2px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
}

.hue-indicator {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    transform: translateY(-50%);
}

.codeFormatBtn,
.colorBlindBtn {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    display: inline-block;
    text-align: center;
}

/* Select elements with codeFormatBtn need full width support */
select.codeFormatBtn {
    display: block;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding-right: 2.5rem;
    overflow: visible;
}

/* Ensure select dropdown extends properly */
select.codeFormatBtn option {
    padding: 0.5rem 1rem;
    margin: 0;
    min-width: 100%;
}

.code-block {
    border-radius: 8px;
    padding: 1.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    overflow-x: auto;
    transition: all 0.2s ease;
}

.color-swatch {
    aspect-ratio: 1;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.color-swatch:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.color-swatch.favorite {
    border: 3px solid #fbbf24;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);
}

.swatch-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 0.25rem;
    font-size: 0.7rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s;
}

.color-swatch:hover .swatch-label {
    opacity: 1;
}

.gradient-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 8rem;
    transition: all 0.3s ease;
}

.gradient-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.gradient-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 0.75rem;
    font-size: 0.75rem;
}

.theme-toggle {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    user-select: none;
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.6);
}

input[type="number"] {
    transition: all 0.2s ease;
}

input[type="number"]:focus {
    transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .card {
        border-radius: 1rem;
    }

    .color-swatch {
        aspect-ratio: 1;
    }

    .btn-primary {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}
