@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap'); :root { --primary-color: #4B3130; /* Dark red-brown from the screenshot */ --primary-hover: #3A2322; --bg-color: #ffffff; --bg-secondary: #f4f5f9; --text-main: #333333; --text-secondary: #888888; --border-color: #e5e5e5; --accent-blue: #3b5bdb; --shadow-sm: 0 2px 4px rgba(0,0,0,0.05); --shadow-md: 0 8px 16px rgba(0,0,0,0.1); } * { box-sizing: border-box; margin: 0; padding: 0; user-select: none; } body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background-color: transparent; color: var(--text-main); height: 100vh; overflow: hidden; display: flex; flex-direction: column; /* Frame style for window */ border-radius: 8px; box-shadow: 0 0 15px rgba(0,0,0,0.2); margin: 10px; background: var(--bg-color); } /* Custom Titlebar */ #titlebar { height: 38px; background-color: #ffffff; display: flex; align-items: center; justify-content: space-between; -webkit-app-region: drag; padding-left: 15px; border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom: 1px solid var(--border-color); z-index: 100; } .titlebar-logo { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #111; } .titlebar-logo img { width: 18px; height: 18px; } .window-controls { display: flex; height: 100%; -webkit-app-region: no-drag; } .window-controls button { width: 48px; height: 100%; border: none; background: transparent; outline: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.2s; } .window-controls button svg { fill: #555; } .window-controls #minimize-btn:hover { background-color: rgba(0, 0, 0, 0.05); } .window-controls #close-btn:hover { background-color: #e81123; } .window-controls #close-btn:hover svg { fill: white; } /* Content Area */ #content-area { flex: 1; position: relative; overflow: hidden; background-color: var(--bg-color); border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; } /* View switching */ .view { display: none; width: 100%; height: 100%; flex-direction: column; animation: fadeIn 0.3s ease-out; } .view.active { display: flex; } @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } /* View 1: Main Welcome */ .hero-section { flex: 1; background: linear-gradient(135deg, #111 0%, #301010 100%); color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; overflow: hidden; } .hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at top right, rgba(255,100,100,0.1), transparent 50%); } .hero-section h1 { font-size: 32px; font-weight: 600; margin-bottom: 12px; z-index: 1; } .hero-section p { font-size: 16px; color: #ccc; z-index: 1; } .action-section { height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; gap: 20px; } .primary-btn { background-color: var(--primary-color); color: white; border: none; padding: 14px 60px; font-size: 16px; cursor: pointer; transition: all 0.2s; font-weight: 500; border-radius: 4px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); } .primary-btn:hover { background-color: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); } .primary-btn:disabled { background-color: #ccc; cursor: not-allowed; transform: none; box-shadow: none; } .options-row { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 320px; font-size: 13px; color: var(--text-secondary); } .checkbox-label { display: flex; align-items: center; gap: 6px; cursor: pointer; } .checkbox-label input { cursor: pointer; } .link { color: var(--accent-blue); text-decoration: none; } .link:hover { text-decoration: underline; } .text-btn { background: none; border: none; color: var(--text-secondary); cursor: pointer; font-size: 13px; display: flex; align-items: center; gap: 4px; } .text-btn:hover { color: var(--text-main); } /* View 2: Custom Install & View 4: Config */ .custom-header, .config-header { padding: 30px 40px 10px; } .custom-header h2, .config-header h2 { font-size: 20px; font-weight: 500; color: var(--text-main); border-left: 4px solid var(--primary-color); padding-left: 10px; } .custom-content, .config-content { flex: 1; padding: 20px 40px; display: flex; flex-direction: column; gap: 25px; } .form-group { display: flex; flex-direction: column; gap: 10px; } .form-group label { font-size: 14px; color: var(--text-main); font-weight: 500; display: flex; justify-content: space-between; } .path-selector label { font-size: 14px; margin-bottom: 8px; display: block; font-weight: 500; } .path-input-group { display: flex; height: 40px; border: 1px solid var(--border-color); border-radius: 4px; overflow: hidden; } .path-input-group input, .text-input { flex: 1; border: none; padding: 0 15px; font-size: 14px; color: var(--text-main); background: var(--bg-secondary); outline: none; } .text-input { border: 1px solid var(--border-color); border-radius: 4px; height: 40px; background: #fff; } .text-input:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 2px rgba(59,91,219,0.1); } .secondary-btn { background-color: #ebebeb; color: var(--text-main); border: none; padding: 0 20px; cursor: pointer; font-size: 14px; transition: background 0.2s; } .secondary-btn:hover { background-color: #dcdcdc; } .space-info { display: flex; gap: 20px; font-size: 12px; color: var(--text-secondary); margin-top: -15px; } .install-options { display: flex; flex-direction: column; gap: 15px; margin-top: 10px; } .custom-footer, .config-footer { padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--bg-secondary); } /* View 3: Progress */ .progress-hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; } .progress-hero h2 { font-size: 24px; color: var(--text-main); font-weight: 600; } .progress-hero p { color: var(--text-secondary); } .animated-logo { width: 64px; height: 64px; } .spinner { animation: spin 3s linear infinite; } @keyframes spin { 100% { transform: rotate(360deg); } } .progress-container { padding: 40px 60px; } .progress-bar { height: 6px; background: var(--bg-secondary); border-radius: 3px; overflow: hidden; margin-bottom: 10px; } .progress-fill { height: 100%; background: var(--primary-color); width: 0%; transition: width 0.3s ease; } .progress-text { font-size: 13px; color: var(--text-secondary); text-align: right; } /* View 4: Service Cards */ .service-cards { display: flex; gap: 15px; } .service-card { flex: 1; border: 1px solid var(--border-color); border-radius: 6px; padding: 15px 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; transition: all 0.2s; background: #fff; position: relative; font-size: 14px; color: var(--text-main); font-weight: 500; } .service-card:hover { border-color: #bbb; transform: translateY(-2px); box-shadow: var(--shadow-sm); } .service-card.active { border-color: var(--accent-blue); background: rgba(59,91,219,0.05); } .badge { position: absolute; top: -8px; right: -8px; background: #fa5252; color: white; font-size: 10px; padding: 2px 6px; border-radius: 10px; font-weight: 600; }