.tool-header{text-align:center;margin-bottom:30px}.header-badge{display:flex;justify-content:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}.badge{background:linear-gradient(135deg, #667eea, #764ba2);color:white;padding:6px 18px;border-radius:40px;font-size:0.75rem;font-weight:500;box-shadow:0 2px 8px rgba(0,0,0,0.1)}.tool-header h1{font-size:2.2rem;font-weight:800;background:linear-gradient(135deg, #1e293b, #667eea);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:12px}.tool-header p{color:var(--gray-500);font-size:1rem}.sandbox-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:20px;padding:12px 20px;background:var(--gray-50);border-radius:60px;border:1px solid var(--gray-200)}.toolbar-group{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.toolbar-btn{background:transparent;border:none;padding:8px 18px;border-radius:40px;font-size:0.85rem;font-weight:500;cursor:pointer;transition:all 0.2s;display:inline-flex;align-items:center;gap:8px;color:var(--gray-600)}.toolbar-btn.primary{background:linear-gradient(135deg, #667eea, #764ba2);color:white}.toolbar-btn.primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(102,126,234,0.3)}.toolbar-btn:hover:not(.primary){background:var(--gray-200);color:var(--primary-color)}.theme-switch{display:flex;align-items:center;gap:8px;cursor:pointer}.theme-switch input{display:none}.theme-switch .slider{width:44px;height:22px;background:var(--gray-300);border-radius:30px;position:relative;transition:all 0.3s}.theme-switch .slider::before{content:'';position:absolute;width:18px;height:18px;background:white;border-radius:50%;top:2px;left:3px;transition:all 0.3s}.theme-switch input:checked+.slider{background:#667eea}.theme-switch input:checked+.slider::before{left:23px}.framework-select{padding:8px 16px;border:1px solid var(--gray-300);border-radius:40px;background:white;font-size:0.85rem;cursor:pointer}.sandbox-container{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px;min-height:550px}.editor-panel{background:#1e1e2e;border-radius:20px;overflow:hidden;border:1px solid var(--gray-200);display:flex;flex-direction:column}.editor-tabs{display:flex;gap:4px;padding:8px 12px;background:#2d2d44;border-bottom:1px solid #3d3d5e}.editor-tab{background:transparent;border:none;padding:8px 20px;border-radius:30px;color:#a0a0c0;font-size:0.85rem;cursor:pointer;transition:all 0.2s;display:flex;align-items:center;gap:8px}.editor-tab.active{background:#667eea;color:white}.editor-tab:hover:not(.active){background:#3d3d5e;color:white}.ace-editor{flex:1;width:100%;min-height:450px}.console-panel{flex:1;display:flex;flex-direction:column;background:#1a1a2e}.console-header{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:#2d2d44;border-bottom:1px solid #3d3d5e;color:#a0a0c0;font-size:0.8rem}.clear-console{background:transparent;border:none;color:#a0a0c0;cursor:pointer;padding:4px 8px;border-radius:6px}.clear-console:hover{background:#3d3d5e;color:#ff6b6b}.console-output{flex:1;min-height:300px;padding:12px;font-family:'Fira Code',monospace;font-size:0.75rem;color:#e0e0e0;overflow-y:auto;white-space:pre-wrap}.console-log{padding:4px 8px;border-bottom:1px solid #2d2d44;font-family:monospace}.console-log.error{color:#ff6b6b}.console-log.warn{color:#ffd93d}.console-log.info{color:#6bcbff}.console-input-area{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#2d2d44;border-top:1px solid #3d3d5e}.console-prompt{color:#6bcbff;font-weight:600}.console-input{flex:1;background:transparent;border:none;color:#e0e0e0;font-family:'Fira Code',monospace;font-size:0.8rem;outline:none}.preview-panel{background:white;border-radius:20px;overflow:hidden;border:1px solid var(--gray-200);display:flex;flex-direction:column}.preview-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:linear-gradient(135deg, #f8fafc, #fff);border-bottom:1px solid var(--gray-200)}.preview-title{display:flex;align-items:center;gap:16px;font-weight:600;font-size:0.9rem}.device-btns{display:flex;gap:8px}.device-btn{background:transparent;border:none;padding:4px 8px;border-radius:8px;cursor:pointer;color:var(--gray-500);transition:all 0.2s}.device-btn:hover{background:var(--gray-200);color:var(--primary-color)}.preview-actions{display:flex;gap:8px}.preview-actions button{background:transparent;border:none;padding:6px;border-radius:6px;cursor:pointer;color:var(--gray-500)}.preview-actions button:hover{background:var(--gray-200);color:var(--primary-color)}.preview-container{flex:1;position:relative;min-height:450px;background:#f5f5f5;display:flex;align-items:center;justify-content:center;transition:all 0.3s}.preview-frame{width:100%;height:100%;min-height:450px;border:none;background:white;transition:all 0.3s}.loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.7);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:white;z-index:10}.loading-spinner{width:40px;height:40px;border:3px solid rgba(255,255,255,0.3);border-top-color:white;border-radius:50%;animation:spin 1s linear infinite}.snippets-section{margin-bottom:24px;background:var(--gray-50);border-radius:20px;overflow:hidden;border:1px solid var(--gray-200)}.snippets-header{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:linear-gradient(135deg, #f8fafc, #fff);border-bottom:1px solid var(--gray-200);font-weight:600}.snippets-list{padding:16px 20px;display:flex;flex-wrap:wrap;gap:24px}.snippet-category{flex:1;min-width:180px}.snippet-category h4{font-size:0.85rem;margin-bottom:12px;color:var(--gray-700)}.snippet-items{display:flex;flex-wrap:wrap;gap:8px}.snippet-item{background:white;border:1px solid var(--gray-200);padding:6px 14px;border-radius:30px;font-size:0.75rem;cursor:pointer;transition:all 0.2s}.snippet-item:hover{background:#667eea;border-color:#667eea;color:white;transform:translateY(-2px)}.info-footer{margin-top:24px;background:var(--gray-50);border-radius:20px;padding:20px}.info-footer-header{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-weight:600}.info-footer-steps{display:grid;grid-template-columns:repeat(4, 1fr);gap:20px}.step-item{display:flex;gap:12px;align-items:flex-start}.step-number{width:32px;height:32px;background:linear-gradient(135deg, #667eea, #764ba2);color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.step-content h4{font-size:0.85rem;margin-bottom:4px}.step-content p{font-size:0.7rem;color:var(--gray-500)}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:900px){.sandbox-container{grid-template-columns:1fr}.sandbox-toolbar{flex-direction:column;align-items:stretch;border-radius:20px}.toolbar-group{justify-content:center}.info-footer-steps{grid-template-columns:repeat(2, 1fr)}.snippets-list{flex-direction:column}}@media (max-width:480px){.info-footer-steps{grid-template-columns:1fr}.editor-tab{padding:6px 12px;font-size:0.7rem}}