/* Linear-inspired Design System */

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

:root {
    /* Hybrid Linear + Liquid Glass palette */
    --primary: #5E6AD2;
    --primary-dark: #4C63D2;
    --primary-light: #8B95ED;
    --accent: #00D2FF;
    --success: #00A86B;
    --error: #F5455C;
    --warning: #FFC53D;
    
    /* Refined neutrals with glass effects */
    --bg: #FAFBFC;
    --bg-secondary: rgba(255, 255, 255, 0.8);
    --surface: rgba(255, 255, 255, 0.85);
    --surface-elevated: rgba(255, 255, 255, 0.95);
    --surface-glass: rgba(255, 255, 255, 0.3);
    --text: #0D1117;
    --text-secondary: #656D76;
    --text-tertiary: #8B949E;
    --text-placeholder: #A7B0B8;
    --border: rgba(209, 217, 224, 0.6);
    --border-secondary: rgba(225, 232, 237, 0.4);
    --border-focus: rgba(94, 106, 210, 0.4);
    
    /* Glass effects */
    --glass-bg: rgba(255, 255, 255, 0.3);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    --glass-backdrop: blur(20px);
    
    /* Refined shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.12);
    
    /* Subtle gradients */
    --gradient-primary: linear-gradient(135deg, #5E6AD2 0%, #8B95ED 100%);
    --gradient-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    --gradient-border: linear-gradient(145deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    
    /* Subtle noise texture */
    --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
    
    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Border radius scale */
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Display', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Lisa Frank inspired background with subtle colors */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Subtle Lisa Frank inspired color orbs */
        radial-gradient(circle at 15% 25%, rgba(139, 149, 237, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(255, 197, 61, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 25% 75%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 75% 85%, rgba(245, 69, 92, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(0, 168, 107, 0.03) 0%, transparent 45%),
        radial-gradient(circle at 10% 60%, rgba(139, 149, 237, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 90% 40%, rgba(255, 197, 61, 0.03) 0%, transparent 25%),
        /* Base gradient */
        linear-gradient(135deg, #FAFBFC 0%, #F6F8FA 100%);
    z-index: -2;
    pointer-events: none;
    animation: float 30s ease-in-out infinite;
}

/* Gentle floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(0.5deg); }
    50% { transform: translateY(2px) rotate(-0.3deg); }
    75% { transform: translateY(-1px) rotate(0.2deg); }
}

/* Additional subtle glass layer */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 35%);
    z-index: -1;
    pointer-events: none;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-8);
}

/* Header - Liquid Glass */
header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-6) var(--space-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo::before {
    content: '';
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: block;
}

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

/* Cards - Liquid Glass style */
.card {
    background: var(--gradient-glass);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    opacity: 0.6;
}

.card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-focus);
}

.card-header {
    margin-bottom: var(--space-8);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-2);
    letter-spacing: -0.01em;
    color: var(--text);
}

.card-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* Buttons - Hybrid Linear + Glass style */
.button {
    padding: var(--space-3) var(--space-5);
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.button-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.button-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #4C63D2 0%, #8B95ED 100%);
}

.button-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.button-secondary:hover:not(:disabled) {
    background: var(--surface-elevated);
    border-color: var(--border-focus);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.button-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: var(--space-2) var(--space-3);
}

.button-ghost:hover:not(:disabled) {
    color: var(--text);
    background: var(--bg-secondary);
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Store Configuration */
.store-config-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-8);
    align-items: start;
    margin-bottom: var(--space-8);
}

.store-arrow {
    font-size: 16px;
    color: var(--text-tertiary);
    padding-top: var(--space-12);
    text-align: center;
    font-weight: 500;
}

.store-config-box {
    background: var(--gradient-glass);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: var(--glass-shadow);
    padding: 1em;
}

.store-config-box.unlocked {
    border-color: rgba(255, 149, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 149, 0, 0.1), var(--glass-shadow);
    background: linear-gradient(145deg, rgba(255, 149, 0, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.store-config-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: visible;
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
}

.store-config-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.store-config-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.store-badge {
    font-size: 12px;
    background: var(--bg);
    color: var(--text-secondary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-weight: 500;
}

/* Form Elements */
.form-group {
    margin-bottom: var(--space-5);
    position: relative;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-2);
    font-size: 13px;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.form-input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(94, 106, 210, 0.1), var(--shadow);
    background: var(--surface-elevated);
}

.form-input:disabled {
    background: var(--bg-secondary);
    color: var(--text-tertiary);
    cursor: not-allowed;
    opacity: 0.7;
}

.form-input.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(245, 69, 92, 0.1);
}

/* Status Dots */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-tertiary);
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
}

.status-dot.connected {
    background: var(--success);
}

.status-dot.error {
    background: var(--error);
}

.status-dot.testing {
    background: var(--warning);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Lock Button */
.lock-button {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-2);
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lock-button:hover {
    background: var(--bg-secondary);
    border-color: var(--border-focus);
}

.lock-button.unlocked {
    background: rgba(255, 197, 61, 0.1);
    border-color: var(--warning);
    color: var(--warning);
}

/* Tooltip */
.tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 50%;
    transform: translateX(50%) translateY(4px);
    background: var(--text);
    color: var(--surface);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--text);
}

.tooltip.show {
    opacity: 1;
    transform: translateX(50%) translateY(0);
}

.tooltip.warning {
    background: var(--warning);
    color: var(--text);
}

.tooltip.warning::after {
    border-top-color: var(--warning);
}

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

.tooltip.success::after {
    border-top-color: var(--success);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.menu-card {
    background: var(--gradient-glass);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    opacity: 0.8;
}

.menu-card:hover {
    border-color: var(--border-focus);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    background: var(--surface-elevated);
}

.menu-card.selected {
    border-color: var(--primary);
    background: rgba(94, 106, 210, 0.05);
    box-shadow: 0 0 0 3px rgba(94, 106, 210, 0.1);
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--space-4);
}

.menu-card-title {
    font-weight: 600;
    color: var(--text);
    font-size: 16px;
    margin-bottom: var(--space-1);
}

.menu-card-handle {
    font-size: 12px;
    color: var(--text-tertiary);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    background: var(--bg-secondary);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

.menu-card-stats {
    display: flex;
    gap: var(--space-4);
    font-size: 13px;
    color: var(--text-secondary);
}

.menu-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

/* Loading States */
.loading-state {
    text-align: center;
    padding: var(--space-16);
    color: var(--text-secondary);
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-secondary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner.large {
    width: 32px;
    height: 32px;
    margin: 0 auto var(--space-4);
    border-width: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-16);
    color: var(--text-secondary);
}

.empty-state svg {
    margin-bottom: var(--space-4);
    opacity: 0.4;
    color: var(--text-tertiary);
}

.empty-state h3 {
    color: var(--text);
    margin-bottom: var(--space-2);
    font-size: 18px;
    font-weight: 600;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.option-card {
    display: flex;
    align-items: start;
    gap: var(--space-3);
    padding: var(--space-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.option-card:hover {
    border-color: var(--border-focus);
    box-shadow: var(--shadow);
}

.option-card input[type="checkbox"] {
    margin-top: var(--space-1);
    accent-color: var(--primary);
}

.option-card input[type="checkbox"]:checked ~ .option-content {
    opacity: 1;
}

.option-content {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.option-content h4 {
    font-size: 14px;
    margin-bottom: var(--space-1);
    color: var(--text);
    font-weight: 500;
}

.option-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Progress */
.overall-progress {
    margin-bottom: var(--space-8);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: var(--space-4);
    display: none;
}

.progress-bar.large {
    height: 8px;
    margin-bottom: var(--space-4);
    display: block;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius);
}

.progress-stats {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: var(--space-2);
}

/* Migration Log */
.migration-log {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-8);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 12px;
    background: var(--bg-secondary);
}

.log-entry {
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border-secondary);
    line-height: 1.4;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-entry.success { color: var(--success); }
.log-entry.warning { color: var(--warning); }
.log-entry.error { color: var(--error); }
.log-entry.info { color: var(--text-secondary); }

.log-time {
    color: var(--text-tertiary);
    margin-right: var(--space-2);
}

/* Results */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.result-card {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.result-card h3 {
    font-size: 32px;
    margin-bottom: var(--space-2);
    font-weight: 700;
}

.result-card p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.result-card.success {
    background: rgba(0, 168, 107, 0.05);
    border-color: rgba(0, 168, 107, 0.2);
}

.result-card.success h3 { color: var(--success); }

.result-card.warning {
    background: rgba(255, 197, 61, 0.05);
    border-color: rgba(255, 197, 61, 0.2);
}

.result-card.warning h3 { color: var(--warning); }

.result-card.error {
    background: rgba(245, 69, 92, 0.05);
    border-color: rgba(245, 69, 92, 0.2);
}

.result-card.error h3 { color: var(--error); }

.results-details {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-6);
    max-height: 400px;
    overflow-y: auto;
    background: var(--bg-secondary);
}

.results-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
}

/* Info Box */
.info-box {
    background: rgba(94, 106, 210, 0.05);
    border: 1px solid rgba(94, 106, 210, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-6);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Validation Alert */
.validation-alert {
    background: var(--error);
    color: white;
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    margin: var(--space-4) 0;
    display: none;
    align-items: center;
    gap: var(--space-3);
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 500;
}

.validation-alert.show {
    display: flex;
}

.validation-alert-icon {
    font-size: 16px;
}

.validation-alert-text {
    flex: 1;
}

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

/* Toolbar */
.toolbar {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    align-items: center;
    flex-wrap: wrap;
}

.manual-handle-input {
    display: flex;
    gap: var(--space-2);
    flex: 1;
    min-width: 300px;
}

.manual-handle-input .form-input {
    flex: 1;
    margin: 0;
}

.search-box {
    flex: 1;
    min-width: 200px;
}

.search-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    padding-left: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--surface) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%238B949E" stroke-width="2"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.35-4.35"></path></svg>') no-repeat 12px center;
    background-size: 16px;
    color: var(--text);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(94, 106, 210, 0.1), var(--shadow);
    background-color: var(--surface-elevated);
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--radius);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .store-config-grid {
        grid-template-columns: 1fr;
    }
    
    .store-arrow {
        transform: rotate(90deg);
        padding: 1rem 0;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .toolbar {
        flex-direction: column;
    }
    
    .manual-handle-input,
    .search-box {
        width: 100%;
    }
}