:root {
    --primary: #00f3ff;
    --primary-glow: rgba(0, 243, 255, 0.5);
    --secondary: #8a2be2;
    --ai-blue: #2d9dff;
    --ai-purple: #b967ff;
    --neon-pink: #ff00ff;
    --neon-green: #00ff9d;
    --background: #0a0a0f;
    --surface: #12121f;
    --surface-light: #1a1a2e;
    --surface-lighter: #252542;
    --text: #ffffff;
    --text-secondary: #a0a8d6;
    --success: #00ff9d;
    --warning: #ffb800;
    --danger: #ff4757;
    --border: #2a2a4a;
    --shadow: rgba(0, 243, 255, 0.2);
    --ai-shadow: rgba(45, 157, 255, 0.3);
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(45, 157, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(185, 103, 255, 0.1) 0%, transparent 50%);
}

.container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Neural Network Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(18, 18, 31, 0.9) 100%);
    border-radius: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(0, 243, 255, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary) 0%,
        var(--ai-blue) 50%,
        var(--ai-purple) 100%);
}

.neural-network {
    display: flex;
    align-items: center;
    gap: 20px;
}

.neuron {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    animation: pulse 2s infinite;
}

.connection {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary) 0%,
        transparent 50%,
        var(--primary) 100%);
    animation: flow 3s infinite linear;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes flow {
    0% { background-position: -40px 0; }
    100% { background-position: 40px 0; }
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo i {
    font-size: 3rem;
    color: var(--primary);
    filter: drop-shadow(0 0 20px var(--primary));
}

.logo h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--ai-blue), var(--ai-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(45, 157, 255, 0.1);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid var(--ai-blue);
    position: relative;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--ai-blue);
    animation: ring-pulse 2s infinite;
}

.status-core {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--ai-blue), var(--ai-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1;
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ai-blue);
    letter-spacing: 1px;
}

.status-model {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

@keyframes ring-pulse {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    100% { 
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Main Grid */
.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(18, 18, 31, 0.9) 100%);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 243, 255, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.card-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    color: var(--primary);
}

.ai-badge {
    background: linear-gradient(45deg, var(--ai-blue), var(--ai-purple));
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Upload Section */
.upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.upload-card {
    background: var(--surface-light);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 2px dashed var(--border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.upload-card:hover {
    border-color: var(--primary);
    background: rgba(0, 243, 255, 0.05);
}

.upload-card.active {
    border-color: var(--success);
    background: rgba(0, 255, 157, 0.05);
}

.upload-preview {
    margin-bottom: 20px;
}

.data-sphere {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(45deg, var(--ai-blue), var(--ai-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 
        0 0 30px rgba(45, 157, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.file-metrics {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.upload-btn.quantum {
    background: linear-gradient(45deg, var(--primary), var(--ai-blue));
    color: var(--background);
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.quantum-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transition: left 0.5s;
}

.upload-btn.quantum:hover .quantum-effect {
    left: 100%;
}

.upload-btn.quantum:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--primary);
}

.file-details {
    margin-top: 15px;
    padding: 10px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* AI Analysis Panel */
.ai-analysis-panel {
    background: linear-gradient(135deg, rgba(45, 157, 255, 0.1) 0%, rgba(185, 103, 255, 0.1) 100%);
    border-radius: 20px;
    padding: 25px;
    margin-top: 20px;
}

.analysis-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.analysis-header h3 {
    flex: 1;
    color: var(--ai-blue);
    font-size: 1.1rem;
}

.btn-ai {
    background: linear-gradient(45deg, var(--ai-blue), var(--ai-purple));
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-ai:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--ai-shadow);
}

.btn-ai:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.analysis-results {
    min-height: 150px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

.scan-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--ai-blue);
}

/* Configuration Section */
.config-section {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(18, 18, 31, 0.95) 100%);
}

.mode-selector {
    display: flex;
    gap: 10px;
}

.mode-btn {
    background: var(--surface-light);
    color: var(--text-secondary);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.mode-btn.active {
    background: linear-gradient(45deg, var(--ai-blue), var(--ai-purple));
    color: white;
    border-color: transparent;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.config-group {
    background: var(--surface-light);
    border-radius: 15px;
    padding: 20px;
}

.config-group h3 {
    color: var(--ai-blue);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Algorithms Grid */
.algorithms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.algo-option input {
    display: none;
}

.algo-card {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.algo-option input:checked + .algo-card {
    border-color: var(--ai-blue);
    background: rgba(45, 157, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 157, 255, 0.2);
}

.algo-card i {
    font-size: 1.5rem;
    color: var(--ai-blue);
    margin-bottom: 8px;
}

.algo-card span {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.algo-card small {
    color: var(--text-secondary);
    font-size: 0.7rem;
}

/* Sliders */
.slider-group {
    margin-bottom: 20px;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.ai-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: linear-gradient(90deg, var(--ai-blue), var(--ai-purple));
    border-radius: 3px;
    outline: none;
}

.ai-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--ai-blue);
}

/* Key Suggestions */
.key-suggestions {
    background: rgba(45, 157, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggestion-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

.suggestion-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--ai-blue);
}

.manual-keys {
    display: grid;
    gap: 15px;
}

.key-input label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.key-select {
    width: 100%;
    padding: 12px;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.key-select:focus {
    outline: none;
    border-color: var(--ai-blue);
    box-shadow: 0 0 0 3px rgba(45, 157, 255, 0.2);
}

/* Dashboard */
.dashboard-section {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(18, 18, 31, 0.95) 100%);
}

.real-time {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 157, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--success);
}

.live-indicator {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: live-pulse 1s infinite;
}

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

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.metric-card {
    background: var(--surface-light);
    border-radius: 15px;
    padding: 20px;
}

.metric-card.large {
    grid-column: span 2;
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.metric-header h4 {
    flex: 1;
    font-size: 0.9rem;
    color: var(--ai-blue);
}

.btn-small {
    background: var(--ai-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Quality Metrics */
.quality-metrics {
    display: grid;
    gap: 15px;
}

.quality-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.quality-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.quality-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ai-blue);
}

.quality-track {
    grid-column: 1 / -1;
    height: 6px;
    background: var(--background);
    border-radius: 3px;
    overflow: hidden;
}

.quality-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ai-blue), var(--ai-purple));
    border-radius: 3px;
    transition: width 1s ease;
}

/* Pattern Canvas */
.patterns-container {
    height: 150px;
}

#patternCanvas {
    width: 100%;
    height: 100%;
}

/* Match Preview */
.match-preview {
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow-y: auto;
    padding: 15px;
}

.preview-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.preview-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--ai-blue);
}

/* Export Card */
.export-card {
    grid-column: span 4;
}

.format-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.format-option {
    flex: 1;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.format-option.active {
    border-color: var(--success);
    background: rgba(0, 255, 157, 0.1);
}

.format-option i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.format-option.active i {
    color: var(--success);
}

.export-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-export {
    flex: 1;
    background: linear-gradient(45deg, var(--success), var(--neon-green));
    color: var(--background);
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-export:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.export-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.2),
        transparent);
    transition: width 0.3s;
}

.export-stats {
    display: flex;
    gap: 20px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stat i {
    color: var(--ai-blue);
}

/* Neural Visualization */
.neural-visualization {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(18, 18, 31, 0.9) 100%);
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.visualization-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.visualization-header h3 {
    flex: 1;
    color: var(--primary);
    font-size: 1.2rem;
}

.process-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stat-item i {
    color: var(--ai-blue);
}

#neuralCanvas {
    width: 100%;
    height: 300px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

/* AI Chat */
.ai-chat {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(18, 18, 31, 0.95) 100%);
    border-radius: 25px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(90deg, var(--ai-blue), var(--ai-purple));
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-title h4 {
    color: white;
    font-size: 1.1rem;
}

.chat-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-body {
    padding: 20px;
}

.chat-messages {
    height: 200px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}

.chat-messages::-webkit-scrollbar {
    width: 5px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--background);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--ai-blue);
    border-radius: 3px;
}

.message {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.message.ai .avatar {
    background: linear-gradient(45deg, var(--ai-blue), var(--ai-purple));
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.content {
    flex: 1;
    background: var(--surface-light);
    padding: 15px;
    border-radius: 15px;
    border-top-left-radius: 0;
}

.message.ai .content {
    background: rgba(45, 157, 255, 0.1);
}

.content p {
    margin-bottom: 10px;
}

.content ul {
    margin-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 15px;
    background: var(--surface-light);
    border: 2px solid var(--border);
    border-radius: 25px;
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
}

.chat-input input:focus {
    border-color: var(--ai-blue);
}

.chat-input button {
    width: 50px;
    background: linear-gradient(45deg, var(--ai-blue), var(--ai-purple));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.chat-input button:hover {
    transform: scale(1.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(18, 18, 31, 0.95) 100%);
    width: 500px;
    border-radius: 25px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(90deg, var(--ai-blue), var(--ai-purple));
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 30px;
}

.processing-visual {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.quantum-loader {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top: 3px solid var(--ai-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.processing-text h4 {
    color: var(--ai-blue);
    margin-bottom: 5px;
}

.processing-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.processing-stats .stat {
    background: var(--surface-light);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ai-blue);
}

.progress-container {
    background: var(--surface-light);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--ai-blue), var(--ai-purple));
    width: 0%;
    transition: width 0.3s;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .config-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }
    
    .upload-grid {
        grid-template-columns: 1fr;
    }
    
    .config-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-card.large {
        grid-column: span 1;
    }
    
    .export-card {
        grid-column: span 1;
    }
    
    .export-actions {
        flex-direction: column;
    }
}