@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;800;900&family=Exo+2:wght@300;400;500;600;700;800&display=swap');

:root {
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-white-strong: rgba(255, 255, 255, 0.2);
    --glass-white-ultra: rgba(255, 255, 255, 0.05);
    --glass-black: rgba(0, 0, 0, 0.4);
    --glass-black-light: rgba(0, 0, 0, 0.2);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-light: 0 8px 32px rgba(31, 38, 135, 0.37);
    --shadow-heavy: 0 20px 40px rgba(31, 38, 135, 0.5);
    --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --neon-blue: rgba(0, 191, 255, 0.8);
    --neon-purple: rgba(138, 43, 226, 0.8);
    --neon-green: rgba(57, 255, 20, 0.8);
    --neon-red: rgba(255, 20, 147, 0.8);
    --cyber-orange: rgba(255, 165, 0, 0.8);
    --defective-red: rgba(220, 20, 60, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: 
        radial-gradient(ellipse at top, rgba(255, 100, 0, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(0, 255, 255, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a0f0a 35%, #0f0f0f 100%);
    color: rgba(255, 255, 255, 0.9);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-weight: 400;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,165,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,165,0,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gridFloat {
    0%, 100% { transform: translateY(0px) rotateX(0deg); }
    50% { transform: translateY(-10px) rotateX(1deg); }
}

.header {
    background: linear-gradient(135deg, var(--glass-white-strong), var(--glass-white-ultra));
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 0 0 32px 32px;
    padding: 1.5rem 2rem;
    margin: 0 1rem 2rem 1rem;
    position: relative;
    box-shadow: 
        var(--shadow-light),
        var(--shadow-inner);
    transform-style: preserve-3d;
    animation: headerFloat 6s ease-in-out infinite;
}

@keyframes headerFloat {
    0%, 100% { transform: translateY(0px) translateZ(0px); }
    50% { transform: translateY(-5px) translateZ(10px); }
}

.header::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, 
        var(--cyber-orange) 0%, 
        transparent 50%, 
        var(--neon-blue) 100%);
    border-radius: 32px;
    z-index: -1;
    opacity: 0.3;
    animation: cyberShimmer 4s ease-in-out infinite;
}

@keyframes cyberShimmer {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

.header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, 
        var(--cyber-orange) 0%, 
        rgba(255,255,255,1) 50%,
        var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255,165,0,0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(0,191,255,0.6)); }
}

.container {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    padding: 0 2rem 2rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
    perspective: 1500px;
}

.warehouse-display {
    background: linear-gradient(135deg, 
        var(--glass-white) 0%, 
        var(--glass-white-ultra) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 
        var(--shadow-light),
        var(--shadow-inner);
    transform: rotateY(-2deg) rotateX(1deg);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.warehouse-display:hover {
    transform: rotateY(0deg) rotateX(0deg) translateZ(20px);
}

.warehouse-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--cyber-orange), 
        transparent);
    border-radius: 32px 32px 0 0;
    animation: scanLine 4s linear infinite;
}

@keyframes scanLine {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

.warehouse-display h2 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.warehouse-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-size, 10), 1fr);
    grid-template-rows: repeat(var(--grid-size, 10), 1fr);
    gap: 2px;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1;
    background: var(--glass-black);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 
        inset 0 4px 20px rgba(0,0,0,0.3),
        0 8px 32px rgba(0,0,0,0.2);
    margin: 0 auto;
}

.grid-info {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.grid-cell {
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.05) 0%, 
        rgba(0,0,0,0.1) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.grid-cell.occupied {
    background: linear-gradient(135deg, 
        var(--cyber-orange) 0%, 
        rgba(255, 140, 0, 0.6) 100%);
    border: 1px solid var(--cyber-orange);
    color: rgba(0, 0, 0, 0.8);
    font-weight: 800;
    animation: robotGlow 3s ease-in-out infinite alternate;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes robotGlow {
    from { 
        box-shadow: 0 0 10px var(--cyber-orange);
        filter: brightness(1);
    }
    to { 
        box-shadow: 0 0 20px var(--cyber-orange), 0 0 30px rgba(255,165,0,0.5);
        filter: brightness(1.2);
    }
}

.grid-cell.defective {
    background: linear-gradient(135deg, 
        var(--defective-red) 0%, 
        rgba(139, 0, 0, 0.4) 100%);
    border: 1px solid var(--neon-red);
    color: rgba(255, 255, 255, 0.9);
    animation: defectivePulse 2s ease-in-out infinite;
}

@keyframes defectivePulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.grid-cell.collision {
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.6) 0%, 
        rgba(139, 0, 0, 0.8) 100%);
    border: 2px solid #ff0000;
    animation: collisionAlert 0.5s ease-in-out infinite;
}

@keyframes collisionAlert {
    0%, 100% { background: rgba(255, 0, 0, 0.6); }
    50% { background: rgba(255, 0, 0, 0.9); }
}

.robot-item {
    background: linear-gradient(135deg, 
        var(--glass-white-ultra) 0%, 
        var(--glass-black-light) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 16px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.robot-item:hover {
    transform: translateX(8px) scale(1.02);
    border-color: var(--cyber-orange);
    background: linear-gradient(135deg, 
        var(--glass-white) 0%, 
        var(--glass-black-light) 100%);
    box-shadow: 0 8px 25px rgba(255,165,0,0.2);
}

.robot-item.placed {
    border-color: var(--neon-green);
    background: linear-gradient(135deg, 
        rgba(57, 255, 20, 0.1) 0%, 
        var(--glass-black-light) 100%);
}

.robot-item.failed {
    border-color: var(--neon-red);
    background: linear-gradient(135deg, 
        var(--defective-red) 0%, 
        var(--glass-black-light) 100%);
}

.robot-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.robot-id {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--cyber-orange);
    font-size: 0.9rem;
}

.robot-size {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0,0,0,0.2);
    padding: 4px 8px;
    border-radius: 8px;
}

.robot-position {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.control-panel {
    background: linear-gradient(135deg, 
        var(--glass-white) 0%, 
        var(--glass-white-ultra) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2rem;
    position: relative;
    box-shadow: 
        var(--shadow-light),
        var(--shadow-inner);
    transform: rotateY(2deg) rotateX(-1deg);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: panelFloat 8s ease-in-out infinite;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

@keyframes panelFloat {
    0%, 100% { transform: rotateY(2deg) rotateX(-1deg) translateY(0px); }
    50% { transform: rotateY(1deg) rotateX(-0.5deg) translateY(-8px); }
}

.control-panel:hover {
    transform: rotateY(0deg) rotateX(0deg) translateZ(15px);
}

.status-dot {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, var(--neon-green), rgba(50, 205, 50, 0.6));
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
    box-shadow: 0 0 20px var(--neon-green);
}

@keyframes statusBlink {
    0%, 50% { opacity: 1; transform: scale(1); }
    51%, 100% { opacity: 0.4; transform: scale(0.8); }
}

.panel-section {
    background: linear-gradient(135deg, 
        var(--glass-white-ultra) 0%, 
        var(--glass-black-light) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.panel-section:hover {
    transform: translateZ(8px);
    border-color: rgba(255,255,255,0.2);
    background: linear-gradient(135deg, 
        var(--glass-white) 0%, 
        var(--glass-black-light) 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.panel-section h3 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.75rem;
}

.status-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.status-item {
    background: linear-gradient(135deg, 
        var(--glass-white-ultra) 0%, 
        var(--glass-black-light) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
}

.status-item:hover {
    transform: translateY(-3px) translateZ(8px) rotateX(5deg);
    border-color: rgba(255,255,255,0.2);
    background: linear-gradient(135deg, 
        var(--glass-white) 0%, 
        var(--glass-black-light) 100%);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.status-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.9rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.4rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.status-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.performance-bar {
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
    position: relative;
}

.performance-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--neon-green) 0%, 
        rgba(50, 205, 50, 0.6) 100%);
    border-radius: 2px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    animation: performancePulse 2s ease-in-out infinite;
}

.collision-bar {
    background: linear-gradient(90deg, 
        var(--neon-red) 0%, 
        rgba(255, 20, 60, 0.6) 100%);
}

@keyframes performancePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.btn {
    font-family: 'Orbitron', monospace;
    padding: 14px 24px;
    border: none;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin: 6px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) translateZ(5px) rotateX(5deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    animation: buttonPulse 0.6s ease-in-out;
}

@keyframes buttonPulse {
    0% { transform: translateY(-3px) translateZ(5px) scale(1); }
    50% { transform: translateY(-3px) translateZ(5px) scale(1.02); }
    100% { transform: translateY(-3px) translateZ(5px) scale(1); }
}

.btn-primary {
    background: linear-gradient(135deg, 
        var(--cyber-orange) 0%, 
        rgba(255, 140, 0, 0.6) 100%);
    border-color: var(--cyber-orange);
    color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, 
        rgba(255, 165, 0, 0.9) 0%, 
        rgba(255, 140, 0, 0.8) 100%);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
    border-color: rgba(255, 200, 50, 0.8);
}

.btn-secondary {
    background: linear-gradient(135deg, 
        var(--glass-white) 0%, 
        var(--glass-white-ultra) 100%);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, 
        var(--glass-white-strong) 0%, 
        var(--glass-white) 100%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: rgba(255,255,255,0.4);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    font-family: 'Orbitron', monospace;
    display: block;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.form-group textarea,
.form-group input, 
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    background: linear-gradient(135deg, 
        var(--glass-white-ultra) 0%, 
        var(--glass-black-light) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: 'Exo 2', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    resize: vertical;
}

.form-group textarea {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    min-height: 120px;
}

.form-group textarea:focus,
.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--cyber-orange);
    background: linear-gradient(135deg, 
        var(--glass-white) 0%, 
        var(--glass-black-light) 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.2);
}

.robot-list {
    background: var(--glass-black-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.robot-list::-webkit-scrollbar {
    width: 6px;
}

.robot-list::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}

.robot-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, 
        var(--cyber-orange) 0%, 
        rgba(255,165,0,0.4) 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.robot-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, 
        rgba(255,165,0,0.8) 0%, 
        rgba(255,165,0,0.6) 100%);
}

.ai-assistant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, 
        var(--cyber-orange) 0%, 
        rgba(255, 140, 0, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--cyber-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(255,165,0,0.3);
    z-index: 1000;
    animation: aiFloat 4s ease-in-out infinite;
}

@keyframes aiFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.ai-assistant:hover {
    transform: scale(1.1) translateY(-5px) rotate(10deg);
    box-shadow: 0 12px 40px rgba(255,165,0,0.5);
    animation: aiHover 1s ease-in-out infinite;
}

@keyframes aiHover {
    0%, 100% { filter: hue-rotate(0deg) brightness(1); }
    50% { filter: hue-rotate(30deg) brightness(1.2); }
}

.ai-assistant::before {
    content: '🤖';
    font-size: 1.5rem;
    filter: contrast(1.2) brightness(1.1);
    animation: robotFace 3s ease-in-out infinite;
}

@keyframes robotFace {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, 
        var(--glass-white-strong) 0%, 
        var(--glass-white-ultra) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transform: translateX(400px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    max-width: 350px;
    font-family: 'Exo 2', sans-serif;
}

.notification.show {
    transform: translateX(0);
    animation: notificationSlide 0.5s ease-in-out;
}

@keyframes notificationSlide {
    0% { opacity: 0; transform: translateX(400px) scale(0.8); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0f0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255,165,0,0.1);
    border-top: 2px solid var(--cyber-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem 2rem 1rem;
    }
    
    .header {
        margin: 0 0.5rem 1.5rem 0.5rem;
        border-radius: 0 0 24px 24px;
    }
    
    .warehouse-display, .control-panel {
        transform: none;
        border-radius: 24px;
    }
    
    .warehouse-grid {
        max-width: 400px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .ai-assistant {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .ai-assistant::before {
        font-size: 1.3rem;
    }
    
    .status-panel {
        grid-template-columns: 1fr;
    }
}
