:root {
            --primary: #6366f1;
            --primary-hover: #4f46e5;
            --bg-color: #0f172a;
            --card-bg: #1e293b;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --border-color: rgba(255, 255, 255, 0.08);
            --glass-bg: rgba(255, 255, 255, 0.02);
        }
        * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
        body { background:var(--card-bg); color: var(--text-main); min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 1.5rem; }
        .container { width: 100%; max-width: 580px; margin: 1.5rem 0; flex: 1; display: flex; flex-direction: column; justify-content: center; }
        .card { background: var(--card-bg); border-radius: 24px; padding: 2rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); border: 1px solid var(--border-color); backdrop-filter: blur(16px); }
        .logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.65rem; margin-bottom: 1.5rem; text-align: center; }
        .logo-icon-wrapper { width: 68px; height: 68px; border-radius: 20px; background: rgba(99, 102, 241, 0.12); border: 1px solid rgba(99, 102, 241, 0.3); display: flex; align-items: center; justify-content: center; padding: 10px; box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25); transition: transform 0.3s ease; }
        .logo-icon-wrapper:hover { transform: scale(1.05); }
        .logo-icon-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }
        .logo-text { font-size: 1.8rem; font-weight: 800; color: var(--text-main); letter-spacing: -0.5px; }
        .logo-text span { color: var(--primary); }
        h1 { text-align: center; font-size: 1.65rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.5rem; }
        p.subtitle { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
        
        .form-group { margin-bottom: 1.25rem; }
        .form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.5px; }
        .form-control { width: 100%; padding: 0.85rem 1.1rem; background:var(--glass-bg); border: 1px solid var(--border-color); border-radius: 12px; color: var(--text-main); font-size: 0.95rem; transition: all 0.2s; }
        .form-control:focus { outline: none; border-color: var(--primary); background:var(--glass-bg); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15); }
        
        .btn { width: 100%; padding: 0.85rem; background: var(--primary); color:var(--text-primary); border: none; border-radius: 12px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3); }
        .btn:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4); }
        
        .alert { padding: 0.85rem 1.1rem; border-radius: 12px; margin-bottom: 1.5rem; font-size: 0.875rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; }
        .alert-error { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
        .alert-success { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
        
        /* Stepper Styles */
        .stepper { display: flex; justify-content: space-between; position: relative; margin: 2rem 0; padding: 0 10px; }
        .stepper::before { content: ""; position: absolute; top: 18px; left: 10%; right: 10%; height: 3px; background:var(--glass-bg); z-index: 1; }
        .stepper-progress { position: absolute; top: 18px; left: 10%; height: 3px; background: #10b981; z-index: 1; transition: width 0.4s ease; }
        .step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; width: 25%; }
        .step-circle { width: 38px; height: 38px; border-radius: 50%; background:var(--card-bg); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); transition: all 0.3s; }
        .step.active .step-circle { background: #10b981; border-color: #10b981; color:var(--text-primary); box-shadow: 0 0 15px rgba(16,185,129,0.3); }
        .step.done .step-circle { background: rgba(16,185,129,0.15); border-color: #10b981; color: #10b981; }
        .step-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); margin-top: 0.5rem; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; }
        .step.active .step-label { color:var(--text-primary); }
        .step.done .step-label { color: #10b981; }

        .result-card { background:var(--glass-bg); border: 1px solid var(--border-color); border-radius: 18px; border: 1px solid var(--border-color); padding: 1.5rem; margin-top: 1.5rem; }
        .detail-row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
        .detail-row:last-child { border-bottom: none; padding-bottom: 0; }
        .detail-label { color: var(--text-muted); font-size: 0.85rem; }
        .detail-value { font-weight: 600; font-size: 0.9rem; text-align: right; }
        .attachment-card:hover { transform: translateY(-4px); background:var(--glass-bg); !important; border-color: rgba(99, 102, 241, 0.25) !important; box-shadow: 0 10px 20px -5px rgba(0,0,0,0.3); }
        .attachment-card:hover img { transform: scale(1.08); }
        .img-container:hover .img-overlay { opacity: 1 !important; }

        /* ── App Footer Styles ───────────────────────────────── */
        .app-footer { width: 100%; max-width: 580px; margin-top: 2rem; padding: 1.5rem 0 0.5rem 0; text-align: center; border-top: 1px solid var(--border-color); }
        .footer-content { display: flex; flex-direction: column; align-items: center; gap: 0.65rem; }
        .footer-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.92rem; color: var(--text-main); }
        .footer-brand img { height: 22px; width: auto; object-fit: contain; }
        .footer-links { display: flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 0.82rem; flex-wrap: wrap; margin-top: 0.15rem; }
        .footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; display: inline-flex; align-items: center; gap: 0.35rem; }
        .footer-links a:hover { color: var(--primary); }
        .footer-links .sep { color: rgba(255,255,255,0.15); }
        .developer-badge { margin-top: 0.35rem; font-size: 0.76rem; color: var(--text-muted); line-height: 1.5; }
        .developer-badge .app-name { background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }
        .developer-badge .dev-name-link { text-decoration: none; display: inline-block; transition: all 0.2s ease; }
        .developer-badge .dev-name-link:hover { transform: translateY(-1px); filter: drop-shadow(0 2px 6px rgba(52, 211, 153, 0.45)); }
        .developer-badge .dev-name { background: linear-gradient(135deg, #34d399 0%, #00f2fe 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }