* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); min-height: 100vh; color: #e4e4e4; } .container { max-width: 900px; margin: 0 auto; padding: 20px; } header { text-align: center; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 30px; } header h1 { font-size: 2.5rem; margin-bottom: 10px; background: linear-gradient(90deg, #00d9ff, #00ff88); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } header p { color: #888; font-size: 1.1rem; } section { background: rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 25px; margin-bottom: 25px; border: 1px solid rgba(255, 255, 255, 0.1); } h2 { font-size: 1.5rem; margin-bottom: 20px; color: #00d9ff; } /* Status Section */ .status-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; } .status-item { background: rgba(0, 0, 0, 0.2); padding: 15px; border-radius: 8px; } .status-item .label { display: block; color: #888; font-size: 0.85rem; margin-bottom: 5px; } .status-item .value { font-size: 1.1rem; font-weight: 600; } .status-indicator { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #888; margin-right: 8px; } .status-indicator.mounted { background: #00ff88; box-shadow: 0 0 10px #00ff88; } .status-indicator.not-mounted { background: #ff4757; box-shadow: 0 0 10px #ff4757; } /* Upload Section */ .upload-tabs { display: flex; gap: 10px; margin-bottom: 20px; } .tab-btn { flex: 1; padding: 12px 20px; border: none; background: rgba(255, 255, 255, 0.1); color: #e4e4e4; border-radius: 8px; cursor: pointer; font-size: 1rem; transition: all 0.3s ease; } .tab-btn:hover { background: rgba(255, 255, 255, 0.2); } .tab-btn.active { background: linear-gradient(90deg, #00d9ff, #00ff88); color: #1a1a2e; font-weight: 600; } .upload-area { text-align: center; } .file-input-wrapper { margin-bottom: 20px; } #file-input { display: none; } .file-label { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px; border: 2px dashed rgba(255, 255, 255, 0.3); border-radius: 12px; cursor: pointer; transition: all 0.3s ease; } .file-label:hover { border-color: #00d9ff; background: rgba(0, 217, 255, 0.05); } .file-icon { font-size: 3rem; margin-bottom: 10px; } .file-text { color: #888; margin-bottom: 10px; } .file-name { color: #00ff88; font-weight: 600; } .upload-btn { padding: 15px 40px; font-size: 1.1rem; border: none; border-radius: 8px; background: linear-gradient(90deg, #00d9ff, #00ff88); color: #1a1a2e; font-weight: 600; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; } .upload-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4); } .upload-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } /* Progress Bar */ .progress-container { margin-top: 20px; padding: 20px; background: rgba(0, 0, 0, 0.2); border-radius: 8px; } .progress-header { display: flex; justify-content: space-between; margin-bottom: 10px; } .progress-bar { height: 20px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; } .progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #00d9ff, #00ff88); transition: width 0.3s ease; border-radius: 10px; } .progress-info { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.9rem; color: #888; } .result-message { margin-top: 15px; padding: 15px; border-radius: 8px; display: none; } .result-message.success { display: block; background: rgba(0, 255, 136, 0.2); border: 1px solid #00ff88; color: #00ff88; } .result-message.error { display: block; background: rgba(255, 71, 87, 0.2); border: 1px solid #ff4757; color: #ff4757; } /* Editor Section */ .editor-container { display: flex; flex-direction: column; } .editor-toolbar { display: flex; gap: 10px; margin-bottom: 15px; } .toolbar-btn { padding: 10px 20px; border: none; border-radius: 6px; background: rgba(255, 255, 255, 0.1); color: #e4e4e4; cursor: pointer; font-size: 0.95rem; transition: all 0.2s ease; } .toolbar-btn:hover { background: rgba(255, 255, 255, 0.2); } #save-extlinux:hover { background: #00ff88; color: #1a1a2e; } #clear-extlinux:hover { background: #ff4757; color: white; } #extlinux-editor { width: 100%; min-height: 300px; padding: 15px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; background: rgba(0, 0, 0, 0.3); color: #e4e4e4; font-family: "Monaco", "Menlo", monospace; font-size: 0.9rem; line-height: 1.5; resize: vertical; } #extlinux-editor:focus { outline: none; border-color: #00d9ff; } .editor-status { margin-top: 10px; padding: 10px; border-radius: 6px; font-size: 0.9rem; } .editor-status.success { background: rgba(0, 255, 136, 0.2); color: #00ff88; } .editor-status.error { background: rgba(255, 71, 87, 0.2); color: #ff4757; } /* Footer */ footer { text-align: center; padding: 20px; color: #666; border-top: 1px solid rgba(255, 255, 255, 0.1); } /* Reboot Section */ .reboot-section { border: 1px solid rgba(255, 71, 87, 0.3); } .reboot-section h2 { color: #ff4757; } .reboot-container { text-align: center; } .reboot-warning { color: #ff4757; font-weight: 600; margin-bottom: 20px; padding: 15px; background: rgba(255, 71, 87, 0.1); border-radius: 8px; } .reboot-btn { padding: 15px 40px; font-size: 1.1rem; border: none; border-radius: 8px; background: linear-gradient(90deg, #ff4757, #ff6b7a); color: white; font-weight: 600; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; } .reboot-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4); } .reboot-btn:active { transform: translateY(0); } .reboot-message { margin-top: 15px; padding: 15px; border-radius: 8px; display: none; } .reboot-message.success { display: block; background: rgba(0, 255, 136, 0.2); border: 1px solid #00ff88; color: #00ff88; } .reboot-message.error { display: block; background: rgba(255, 71, 87, 0.2); border: 1px solid #ff4757; color: #ff4757; } /* Animations */ @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .loading { animation: pulse 1.5s infinite; } /* Responsive */ @media (max-width: 600px) { header h1 { font-size: 1.8rem; } .upload-tabs { flex-direction: column; } .status-card { grid-template-columns: 1fr; } }