/* --- DESIGN SYSTEM & CSS VARIABLES --- */ :root { --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* Harmonious Dark / Neon Palette */ --bg-dark: #0a0a0f; --panel-bg: rgba(16, 16, 24, 0.65); --panel-bg-inner: rgba(255, 255, 255, 0.03); --panel-border: rgba(255, 255, 255, 0.08); --panel-border-inner: rgba(255, 255, 255, 0.04); --text-main: #f3f4f6; --text-muted: #9ca3af; --text-muted-dark: #6b7280; /* Neon Accents - Trunçgil Orange & Gold Palette */ --accent-purple: #ff7a00; --accent-purple-glow: rgba(255, 122, 0, 0.35); --accent-cyan: #ffb800; --accent-cyan-glow: rgba(255, 184, 0, 0.3); --accent-pink: #f97316; --danger: #ef4444; --danger-glow: rgba(239, 68, 68, 0.3); --success: #10b981; } /* --- BASE STYLING --- */ * { box-sizing: border-box; margin: 0; padding: 0; user-select: none; } body { font-family: var(--font-body); background-color: var(--bg-dark); color: var(--text-main); height: 100vh; overflow: hidden; position: relative; display: flex; flex-direction: column; } /* --- AMBIENT GLOW ORBS --- */ .ambient-glow { position: absolute; width: 45vw; height: 45vw; border-radius: 50%; filter: blur(160px); opacity: 0.28; z-index: -1; pointer-events: none; } .bg-orb-1 { background: var(--accent-purple); top: -15%; left: -15%; animation: orb-pulse 16s ease-in-out infinite alternate; } .bg-orb-2 { background: var(--accent-cyan); bottom: -15%; right: -15%; animation: orb-pulse 12s ease-in-out infinite alternate-reverse; } @keyframes orb-pulse { 0% { transform: scale(1) translate(0, 0); opacity: 0.25; } 50% { transform: scale(1.15) translate(30px, -50px); opacity: 0.33; } 100% { transform: scale(0.9) translate(-20px, 30px); opacity: 0.22; } } /* --- SLEEK FRAMELESS TITLEBAR --- */ .app-titlebar { height: 44px; background: rgba(10, 10, 15, 0.55); backdrop-filter: blur(12px); border-bottom: 1px solid var(--panel-border); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; -webkit-app-region: drag; z-index: 1000; flex-shrink: 0; } .titlebar-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.5px; font-size: 14px; color: #fff; text-shadow: 0 0 12px rgba(139, 92, 246, 0.4); } .titlebar-logo .badge { background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan)); font-size: 9px; font-weight: 800; padding: 2.5px 6.5px; border-radius: 50px; letter-spacing: 0.8px; text-transform: uppercase; color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); } .titlebar-controls { display: flex; align-items: center; height: 100%; -webkit-app-region: no-drag; } .win-btn { background: transparent; border: none; color: var(--text-muted); width: 44px; height: 100%; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; cursor: pointer; } .win-btn:hover { background: rgba(255, 255, 255, 0.05); color: #fff; } .close-btn:hover { background: var(--danger); color: #fff; } /* --- MAIN WORKSPACE GRID --- */ .app-workspace { flex: 1; display: grid; grid-template-columns: 1fr 340px; gap: 20px; padding: 20px; height: calc(100vh - 44px); z-index: 10; overflow: hidden; } @media (max-width: 950px) { .app-workspace { grid-template-columns: 1fr; } .control-tower { display: none; /* Just simple responsive check */ } } /* --- GLASS CONTAINER BASE --- */ .glass-panel { background: var(--panel-bg); backdrop-filter: blur(28px) saturate(190%); border: 1px solid var(--panel-border); border-radius: 20px; box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; overflow: hidden; transition: all 0.3s ease; } .glass-panel-inner { background: var(--panel-bg-inner); border: 1px solid var(--panel-border-inner); border-radius: 12px; padding: 14px; } /* --- VIEWPORT / SCREEN --- */ .workspace-viewport { flex: 1; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; } /* --- DROPZONE / EMPTY STATE --- */ .dropzone { display: flex; align-items: center; justify-content: center; width: calc(100% - 40px); height: calc(100% - 40px); border: 2px dashed rgba(255, 255, 255, 0.12); border-radius: 16px; background: rgba(255, 255, 255, 0.01); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); margin: 20px; cursor: pointer; } .dropzone:hover, .dropzone.dragover { border-color: var(--accent-purple); background: rgba(139, 92, 246, 0.04); box-shadow: 0 0 35px rgba(139, 92, 246, 0.1); transform: scale(1.005); } .dropzone-content { text-align: center; display: flex; flex-direction: column; align-items: center; } .dropzone-glow-icon { width: 90px; height: 90px; border-radius: 50%; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--text-muted); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; } .dropzone:hover .dropzone-glow-icon { color: var(--accent-cyan); border-color: rgba(6, 182, 212, 0.25); box-shadow: 0 0 30px var(--accent-cyan-glow); transform: translateY(-5px); } .dropzone h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 8px; color: #fff; letter-spacing: -0.3px; } .dropzone-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; } .or-separator { display: flex; align-items: center; width: 180px; margin-bottom: 24px; color: var(--text-muted-dark); font-size: 11px; font-weight: 600; letter-spacing: 1px; } .or-separator::before, .or-separator::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.05); } .or-separator span { padding: 0 10px; } /* --- EDITOR & CROPPING WORKSPACE --- */ .editor-container { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; padding: 20px; } .preview-canvas-wrapper { flex: 1; border-radius: 12px; border: 1px solid var(--panel-border); overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; background-color: #121216; box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.5); } /* Stunning Checkerboard Transparency Styling */ .checkerboard { background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%), linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0px; } .preview-canvas-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; } /* Realtime Background Customized Overlay */ .canvas-ambient-backdrop { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1 !important; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; } /* CropperJS Custom Visual Styling overrides */ .cropper-container { z-index: 2 !important; } .cropper-view-box { outline: 2px solid var(--accent-purple); outline-color: var(--accent-purple); } .cropper-line { background-color: var(--accent-purple); } .cropper-point { background-color: #fff; border: 2px solid var(--accent-purple); width: 8px; height: 8px; border-radius: 50%; } .cropper-bg { background-image: none !important; background-color: transparent !important; } /* Floating Crop Toolbar Controls */ .editor-controls { height: 56px; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px !important; } .divider-v { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.08); } .btn-group { display: flex; gap: 5px; } .ctrl-btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-muted); width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); } .ctrl-btn:hover { background: rgba(255, 255, 255, 0.05); color: #fff; border-color: rgba(255, 255, 255, 0.12); } .ctrl-btn.active { background: var(--accent-purple); color: #fff; border-color: var(--accent-purple); box-shadow: 0 0 15px var(--accent-purple-glow); } .btn-danger-icon:hover { background: rgba(239, 68, 68, 0.1) !important; color: var(--danger) !important; border-color: rgba(239, 68, 68, 0.2) !important; } /* --- CONTROL TOWER (RIGHT SIDE) --- */ .control-tower { width: 340px; padding: 24px; gap: 24px; overflow-y: auto; flex-shrink: 0; border-left: 1px solid var(--panel-border); } /* Custom Scrollbar for Right Tower */ .control-tower::-webkit-scrollbar { width: 6px; } .control-tower::-webkit-scrollbar-track { background: transparent; } .control-tower::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.06); border-radius: 10px; } .control-tower::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.12); } .tower-group { display: flex; flex-direction: column; gap: 14px; transition: opacity 0.3s ease; } .disabled-group { opacity: 0.35; pointer-events: none; } .tower-heading { display: flex; align-items: center; gap: 10px; } .step-badge { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 11px; font-weight: 700; } .tower-group:not(.disabled-group) .step-badge { background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan)); border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 0 10px rgba(139, 92, 246, 0.3); } .tower-heading h3 { font-family: var(--font-heading); font-size: 15px; font-weight: 600; letter-spacing: -0.2px; color: #fff; } /* --- INFO CARD --- */ .info-card { font-size: 13px; } .info-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.02); } .info-row:last-child { border-bottom: none; } .info-row .label { color: var(--text-muted); } .info-row .val { color: #fff; font-weight: 500; } .truncate { max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* --- BUTTONS --- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; font-family: var(--font-body); font-size: 14px; font-weight: 600; height: 42px; padding: 0 20px; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); border: none; outline: none; } .btn-primary { background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan)); color: #fff; box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2); } .btn-primary:hover:not(:disabled) { box-shadow: 0 0 25px rgba(139, 92, 246, 0.45); transform: translateY(-1.5px); } .btn-primary:active:not(:disabled) { transform: translateY(0) scale(0.98); } .btn-primary:disabled { background: rgba(255, 255, 255, 0.05); color: var(--text-muted-dark); box-shadow: none; cursor: not-allowed; } .glow-btn-purple { border: 1px solid rgba(139, 92, 246, 0.3) !important; color: #fff !important; } .glow-btn-purple:hover:not(:disabled) { background: rgba(139, 92, 246, 0.15) !important; box-shadow: 0 0 20px rgba(139, 92, 246, 0.25); border-color: var(--accent-purple) !important; } .glow-btn-cyan { background: linear-gradient(135deg, var(--accent-cyan), #0891b2) !important; box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2) !important; } .glow-btn-cyan:hover { box-shadow: 0 0 25px rgba(6, 182, 212, 0.45) !important; } .btn-secondary { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); color: var(--text-main); } .btn-secondary:hover:not(:disabled) { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.15); } .btn-glass { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); color: #fff; } .btn-glass:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.15); transform: translateY(-1px); } .btn-sm { height: 34px; font-size: 12.5px; padding: 0 12px; } .w-full { width: 100%; } /* --- LOADER BOX (PROCESSING STATE) --- */ .loader-box { display: flex; flex-direction: column; align-items: center; padding: 20px !important; gap: 16px; text-align: center; animation: fade-in 0.3s ease; } .loader-ring-wrapper { position: relative; width: 48px; height: 48px; } .glow-ring { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--accent-purple); border-bottom-color: var(--accent-cyan); filter: blur(8px); animation: spin 1s linear infinite; opacity: 0.75; } .loader-ring { width: 100%; height: 100%; animation: spin 1s linear infinite; } .loader-ring circle { stroke: url(#neon-grad); stroke-linecap: round; animation: dash 1.5s ease-in-out infinite; } @keyframes spin { 100% { transform: rotate(360deg); } } @keyframes dash { 0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; } 50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; } 100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; } } .loader-text { font-weight: 600; font-size: 13.5px; color: #fff; } .loader-subtext { font-size: 11px; color: var(--text-muted); } /* --- SELECT ELEMENT --- */ .select-wrapper { position: relative; display: flex; align-items: center; width: 100%; } .select-wrapper::after { content: ''; position: absolute; right: 12px; width: 0; height: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-top: 5.5px solid var(--text-muted); pointer-events: none; } select { appearance: none; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; color: #fff; padding: 8px 30px 8px 12px; width: 100%; font-family: var(--font-body); font-size: 13px; font-weight: 500; outline: none; cursor: pointer; transition: all 0.2s ease; } select:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15); } select option { background: #14141c; color: #fff; } /* --- BACKGROUND SETTINGS CUSTOMIZER --- */ .bg-mode-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px !important; gap: 2px; } .bg-tab { background: transparent; border: none; color: var(--text-muted); padding: 6.5px 0; border-radius: 7px; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; } .bg-tab:hover { color: #fff; } .bg-tab.active { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1px solid rgba(255, 255, 255, 0.04); } .bg-settings-subpanel { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; animation: slide-down 0.25s ease; } .panel-sublabel { font-size: 11px; font-weight: 600; color: var(--text-muted-dark); text-transform: uppercase; letter-spacing: 0.6px; } .color-swatches-grid, .gradient-swatches-grid { display: flex; flex-wrap: wrap; gap: 8px; } .swatch, .grad-swatch { width: 28px; height: 28px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); } .swatch:hover, .grad-swatch:hover { transform: scale(1.15); z-index: 2; } .swatch.active, .grad-swatch.active { border-color: #fff; box-shadow: 0 0 15px rgba(255, 255, 255, 0.3), 0 4px 10px rgba(0, 0, 0, 0.3); transform: scale(1.1); } /* Swatches */ .swatch.white { background: #ffffff; } .swatch.black { background: #000000; } .swatch.red { background: #ef4444; } .swatch.blue { background: #3b82f6; } .swatch.green { background: #10b981; } .swatch.custom { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; color: var(--text-muted); position: relative; overflow: hidden; } .swatch.custom:hover { color: #fff; } .swatch.custom input[type="color"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; } /* Premium Gradients */ .grad-1 { background: linear-gradient(135deg, #a78bfa, #06b6d4); } .grad-2 { background: linear-gradient(135deg, #f43f5e, #f97316); } .grad-3 { background: linear-gradient(135deg, #10b981, #06b6d4); } .grad-4 { background: linear-gradient(135deg, #ec4899, #8b5cf6); } .grad-5 { background: linear-gradient(135deg, #3b82f6, #8b5cf6); } .grad-6 { background: linear-gradient(135deg, #f59e0b, #ef4444); } /* --- EXPORT STUDIO PANEL --- */ .export-settings-box { display: flex; flex-direction: column; gap: 12px; } .settings-row { display: flex; flex-direction: column; gap: 6px; } .settings-row label { font-size: 12.5px; font-weight: 500; color: var(--text-muted); } .slider-labels { display: flex; justify-content: space-between; font-size: 12.5px; } .slider-val { color: #fff; font-weight: 600; } /* Glass Slider Styling */ input[type="range"] { appearance: none; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.04); height: 6px; border-radius: 5px; outline: none; cursor: pointer; width: 100%; } input[type="range"]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan)); box-shadow: 0 0 10px var(--accent-purple-glow); cursor: pointer; transition: transform 0.1s ease; } input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); } /* --- SETUP OVERLAY SCREEN --- */ .overlay-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 580px; padding: 40px; z-index: 10000; animation: scale-up 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); } .setup-wizard { display: flex; flex-direction: column; gap: 26px; } .glow-icon-container { display: flex; justify-content: center; margin-bottom: 8px; } .glow-icon { filter: drop-shadow(0 0 20px var(--accent-purple-glow)); } .wizard-logo { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 0 15px rgba(255, 122, 0, 0.45)); border-radius: 8px; } .setup-wizard h1 { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -0.5px; margin-bottom: 6px; } .subtitle { color: var(--text-muted); font-size: 14px; line-height: 1.5; } .setup-progress-box { text-align: left; display: flex; flex-direction: column; gap: 16px; } .setup-steps { display: flex; flex-direction: column; gap: 12px; } .step-item { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); transition: all 0.3s ease; } .step-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.05); display: inline-block; transition: all 0.3s ease; } .step-item.active { color: #fff; font-weight: 500; } .step-item.active .step-dot { background: var(--accent-purple); box-shadow: 0 0 10px var(--accent-purple-glow); transform: scale(1.2); } .step-item.done { color: var(--success); } .step-item.done .step-dot { background: var(--success); box-shadow: 0 0 8px rgba(16, 185, 129, 0.3); } .step-item.failed { color: var(--danger); } .step-item.failed .step-dot { background: var(--danger); box-shadow: 0 0 8px var(--danger-glow); } .progress-bar-container { height: 6px; background: rgba(255, 255, 255, 0.04); border-radius: 50px; overflow: hidden; position: relative; display: none; /* Shows during setup */ } .progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan)); box-shadow: 0 0 15px var(--accent-purple-glow); border-radius: 50px; transition: width 0.3s ease; } .progress-status { font-size: 11px; color: var(--text-muted-dark); text-align: center; } .wizard-actions { display: flex; justify-content: center; } /* --- TOAST NOTIFICATIONS --- */ .toast-notification { position: absolute; bottom: 24px; right: 24px; width: 320px; padding: 14px 18px !important; display: flex; align-items: flex-start; gap: 12px; border-left: 4px solid var(--accent-purple); z-index: 100000; animation: slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); } .toast-notification.success { border-left-color: var(--success); } .toast-notification.error { border-left-color: var(--danger); } .toast-icon { margin-top: 2px; } .toast-content { flex: 1; } .toast-title { font-family: var(--font-heading); font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 2px; } .toast-message { font-size: 12px; color: var(--text-muted); line-height: 1.4; } .toast-close { background: transparent; border: none; color: var(--text-muted-dark); font-size: 18px; cursor: pointer; margin-top: -4px; transition: color 0.2s ease; } .toast-close:hover { color: #fff; } /* --- ANIMATIONS --- */ @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes slide-down { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes slide-in { from { transform: translateX(50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } } @keyframes scale-up { from { transform: translate(-50%, -40%) scale(0.95); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } } .animated-float { animation: float 4s ease-in-out infinite; } @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0px); } } /* --- HELPER CLASSES --- */ .hidden { display: none !important; } .text-muted { color: var(--text-muted); } .text-center { text-align: center; } .py-2 { padding-top: 8px; padding-bottom: 8px; }