/* JayLex Cancel Pages — Premium Dark Theme */
@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
:root{--bg-primary:#030014;--bg-surface:rgba(255,255,255,.03);--bg-surface-hover:rgba(255,255,255,.06);--bg-card:rgba(255,255,255,.04);--border-subtle:rgba(255,255,255,.08);--border-focus:rgba(139,92,246,.5);--text-primary:#fff;--text-secondary:rgba(255,255,255,.7);--text-muted:rgba(255,255,255,.45);--accent:#8b5cf6;--accent-hover:#7c3aed;--accent-glow:rgba(139,92,246,.25);--gradient-accent:linear-gradient(135deg,#8b5cf6,#6366f1);--gradient-hero:linear-gradient(180deg,rgba(139,92,246,.08) 0%,transparent 60%);--success:#22c55e;--warning:#f59e0b;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--shadow-glow:0 0 40px rgba(139,92,246,.15);--font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--transition:.2s cubic-bezier(.4,0,.2,1)}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{font-family:var(--font);background:var(--bg-primary);color:var(--text-primary);line-height:1.6;min-height:100vh;overflow-x:hidden}
.container{max-width:1140px;margin:0 auto;padding:0 24px}
a{color:var(--accent);text-decoration:none;transition:color var(--transition)}
a:hover{color:var(--accent-hover)}

/* NAV */
.cancel-nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(3,0,20,.85);-webkit-backdrop-filter:blur(20px) saturate(1.5);backdrop-filter:blur(20px) saturate(1.5);border-bottom:1px solid var(--border-subtle)}
.nav-inner{max-width:1140px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;height:64px}
.nav-logo{display:flex;align-items:center;gap:0;color:var(--text-primary);text-decoration:none;font-weight:800;font-size:1.5rem}
.nav-logo span{background:linear-gradient(135deg,#a78bfa 0%,#ec4899 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;color:transparent;filter:drop-shadow(0 0 15px rgba(236,72,153,.4));margin-left:-4px}
.beta-badge{font-size:.65rem;font-weight:700;background:linear-gradient(135deg,var(--accent),#ec4899);color:#fff;padding:2px 6px;border-radius:6px;margin-left:8px;letter-spacing:.5px;text-transform:uppercase;box-shadow:0 0 15px rgba(139,92,246,.3);border:1px solid rgba(255,255,255,.1);vertical-align:middle;display:inline-flex;align-items:center;line-height:1;transform:translate(2px,-8px)}
.logo-icon{width:50px;height:50px;border-radius:10px;display:flex;align-items:center;justify-content:center}
.logo-img{width:42px;height:42px}
.nav-links{display:flex;gap:32px}
.nav-links a{color:var(--text-secondary);font-size:.9rem;font-weight:500;transition:color var(--transition)}
.nav-links a:hover,.nav-links a.nav-link-active{color:var(--text-primary)}
.nav-actions{display:flex;gap:12px;align-items:center}
.btn-ghost{color:var(--text-secondary);font-size:.9rem;font-weight:500;padding:8px 16px;border-radius:var(--radius-sm);border:1px solid transparent;background:transparent;cursor:pointer;transition:all var(--transition)}
.btn-ghost:hover{color:var(--text-primary);border-color:var(--border-subtle);background:var(--bg-surface)}
.btn-primary-sm{display:inline-flex;align-items:center;gap:6px;padding:8px 18px;background:var(--gradient-accent);color:#fff;font-size:.9rem;font-weight:600;border-radius:var(--radius-sm);border:none;cursor:pointer;transition:all var(--transition)}
.btn-primary-sm:hover{transform:translateY(-1px);box-shadow:var(--shadow-glow);color:#fff}
.btn-primary-lg{display:inline-flex;align-items:center;gap:10px;padding:14px 32px;background:var(--gradient-accent);color:#fff;font-size:1.05rem;font-weight:600;border-radius:var(--radius-md);border:none;cursor:pointer;transition:all var(--transition)}
.btn-primary-lg:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(139,92,246,.35);color:#fff}
.nav-mobile-toggle{display:none;background:none;border:none;color:var(--text-primary);font-size:1.5rem;cursor:pointer;padding:4px}
.nav-mobile-menu{display:none;flex-direction:column;padding:16px 24px 24px;gap:12px;border-top:1px solid var(--border-subtle)}
.nav-mobile-menu a{color:var(--text-secondary);font-size:1rem;padding:8px 0}
.nav-mobile-menu hr{border:none;border-top:1px solid var(--border-subtle)}
.nav-mobile-menu.open{display:flex}

/* HERO */
.cancel-hero{position:relative;padding:140px 0 60px;text-align:center;overflow:hidden}
.cancel-hero-bg{position:absolute;inset:0;background:var(--gradient-hero);pointer-events:none}
.cancel-hero-bg::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:600px;height:600px;background:radial-gradient(circle,rgba(139,92,246,.12) 0%,transparent 70%);pointer-events:none}
.hero-category-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 16px;background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:100px;color:var(--accent);font-size:.85rem;font-weight:600;margin-bottom:20px}
.cancel-hero h1{font-size:clamp(2rem,5vw,3.2rem);font-weight:800;letter-spacing:-.03em;line-height:1.15;background:linear-gradient(135deg,#fff 40%,var(--accent));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:16px}
.hero-subtitle{font-size:1.15rem;color:var(--text-secondary);max-width:520px;margin:0 auto}
.hero-subtitle strong{color:var(--success)}
.cancel-hero-catalog{padding-bottom:40px}
.catalog-search-wrap{position:relative;max-width:520px;margin:32px auto 0}
.catalog-search-wrap i{position:absolute;left:18px;top:50%;transform:translateY(-50%);color:var(--text-muted);font-size:1.2rem}
.catalog-search-wrap input{width:100%;padding:16px 20px 16px 50px;background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);color:var(--text-primary);font-size:1rem;font-family:var(--font);outline:none;transition:all var(--transition)}
.catalog-search-wrap input:focus{border-color:var(--border-focus);box-shadow:0 0 0 3px var(--accent-glow)}
.catalog-search-wrap input::placeholder{color:var(--text-muted)}
.cancel-hero-404{padding:180px 0 80px}
.error-icon{font-size:4rem;color:var(--warning);margin-bottom:16px}

/* STEPS */
.cancel-steps{padding:40px 0}
.steps-row{display:flex;align-items:center;justify-content:center}
.step-item{display:flex;flex-direction:column;align-items:center;gap:8px}
.step-number{width:48px;height:48px;border-radius:50%;background:var(--gradient-accent);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem;box-shadow:0 4px 20px rgba(139,92,246,.3)}
.step-label{font-size:.85rem;color:var(--text-secondary);font-weight:500}
.step-connector{width:80px;height:2px;background:linear-gradient(90deg,var(--accent),rgba(139,92,246,.2));margin:0 12px;margin-bottom:28px}

/* WORKSPACE */
.cancel-workspace{padding:20px 0 60px}
.workspace-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
.workspace-col-left{display:flex;flex-direction:column;gap:32px}
.workspace-col-right{
    display:flex;
    flex-direction:column;
    gap:24px;
    position:sticky;
    top:110px;
    align-self:start;
    max-height:calc(100vh - 120px);
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:var(--accent) transparent;
    padding-right:4px;
}
.workspace-col-right::-webkit-scrollbar {
    width: 6px;
}
.workspace-col-right::-webkit-scrollbar-track {
    background: transparent;
}
.workspace-col-right::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 20px;
}
.workspace-form,.workspace-preview{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-xl);padding:32px}
.workspace-form h2,.workspace-preview h2{font-size:1.1rem;font-weight:600;margin-bottom:24px;display:flex;align-items:center;gap:8px;color:var(--text-secondary)}
.workspace-form h2 i,.workspace-preview h2 i{color:var(--accent)}
.form-row{display:flex;gap:12px}
.form-group{margin-bottom:16px;flex:1}
.form-group-sm{flex:0 0 120px}
.form-group label{display:block;font-size:.82rem;font-weight:500;color:var(--text-secondary);margin-bottom:6px}
.form-group label .optional{color:var(--text-muted);font-weight:400}
.form-group input,.form-group select{width:100%;padding:10px 14px;background:rgba(255,255,255,.05);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);color:var(--text-primary);font-size:.92rem;font-family:var(--font);outline:none;transition:all var(--transition)}
.form-group input:focus,.form-group select:focus{border-color:var(--border-focus);box-shadow:0 0 0 3px var(--accent-glow);background:rgba(255,255,255,.07)}
.form-group input::placeholder{color:var(--text-muted)}
.form-group select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px;cursor:pointer}
.form-group select option{background:#1a1a2e;color:#fff}
.form-checkbox{display:flex;align-items:center;gap:10px;margin-top:8px;cursor:pointer}
.form-checkbox input[type="checkbox"]{width:18px;height:18px;accent-color:var(--accent);cursor:pointer}
.form-checkbox label{font-size:.85rem;color:var(--text-secondary);cursor:pointer}

/* LETTER PREVIEW */
.letter-preview{background:#fff;color:#111;padding:40px 36px;border-radius:var(--radius-md);font-size:.82rem;line-height:1.7;min-height:450px;font-family:'Georgia','Times New Roman',serif;position:relative;box-shadow:0 8px 40px rgba(0,0,0,.3)}
.letter-preview::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:var(--gradient-accent);border-radius:var(--radius-md) var(--radius-md) 0 0}
.letter-sender{margin-bottom:28px;font-size:.8rem;border-bottom:1px solid #e5e5e5;padding-bottom:12px}
.letter-recipient{margin-bottom:24px;font-size:.82rem}
.letter-date{text-align:right;margin-bottom:24px;color:#666;font-size:.8rem}
.letter-subject{margin-bottom:20px;font-size:.85rem}
.letter-body{margin-bottom:32px}
.letter-signature{margin-top:auto}
.lp-placeholder{color:#aaa;font-style:italic}

/* ACTIONS */
.cancel-actions{padding:0 0 60px}
.actions-row{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.btn-action{display:flex;align-items:center;gap:14px;padding:18px 32px;border-radius:var(--radius-lg);border:1px solid var(--border-subtle);cursor:pointer;font-family:var(--font);transition:all var(--transition);min-width:260px}
.btn-action i{font-size:1.5rem}
.btn-action-title{display:block;font-weight:600;font-size:1rem}
.btn-action-sub{display:block;font-size:.8rem;opacity:.7;margin-top:2px}
.btn-download{background:var(--gradient-accent);color:#fff;border-color:transparent}
.btn-download:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(139,92,246,.35)}
.btn-dispatch{background:var(--bg-surface);color:var(--text-primary)}
.btn-dispatch:hover{background:var(--bg-surface-hover);border-color:var(--accent);transform:translateY(-2px)}
.btn-action:disabled{opacity:.5;cursor:not-allowed;transform:none!important}
.privacy-notice{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:24px;padding:12px 20px;background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.15);border-radius:var(--radius-md);font-size:.85rem;color:var(--text-secondary)}
.privacy-notice i{color:var(--success);font-size:1.1rem;flex-shrink:0}
.privacy-notice strong{color:var(--success)}

/* INFO CARDS */
.cancel-info{padding:40px 0 60px}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.info-card{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:28px;text-align:center;transition:all var(--transition)}
.info-card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:var(--shadow-glow)}
.info-card i{font-size:2rem;color:var(--accent);margin-bottom:14px;display:block}
.info-card h3{font-size:1rem;font-weight:600;margin-bottom:8px}
.info-card p{font-size:.85rem;color:var(--text-secondary);line-height:1.5}

/* CTA */
.cancel-cta{padding:40px 0 80px}
.cta-card{position:relative;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-xl);padding:60px 40px;text-align:center;overflow:hidden}
.cta-glow{position:absolute;top:-100px;left:50%;transform:translateX(-50%);width:400px;height:400px;background:radial-gradient(circle,rgba(139,92,246,.15) 0%,transparent 70%);pointer-events:none}
.cta-icon{font-size:2.5rem;color:var(--accent);margin-bottom:16px;display:block;animation:cta-float 3s ease-in-out infinite}
@keyframes cta-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.cta-card h2{font-size:1.6rem;font-weight:700;margin-bottom:12px;position:relative}
.cta-card p{font-size:1rem;color:var(--text-secondary);max-width:460px;margin:0 auto 28px;line-height:1.6;position:relative}

/* CATALOG */
.catalog-filters{padding:0 0 24px}
.filter-pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.pill{padding:8px 18px;border-radius:100px;border:1px solid var(--border-subtle);background:transparent;color:var(--text-secondary);font-size:.85rem;font-weight:500;font-family:var(--font);cursor:pointer;transition:all var(--transition);white-space:nowrap}
.pill:hover{border-color:var(--accent);color:var(--text-primary)}
.pill.active{background:var(--gradient-accent);color:#fff;border-color:transparent}
.catalog-grid-section{padding:0 0 40px}
.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.catalog-card{display:flex;align-items:center;gap:12px;padding:16px 20px;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md);color:var(--text-primary);transition:all var(--transition)}
.catalog-card:hover{border-color:var(--accent);background:var(--bg-surface-hover);transform:translateX(4px);color:var(--text-primary)}
.cc-name{flex:1;font-weight:600;font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-cat{font-size:.75rem;color:var(--text-muted);background:var(--bg-surface);padding:3px 10px;border-radius:100px;white-space:nowrap}
.catalog-card i{color:var(--text-muted);transition:color var(--transition)}
.catalog-card:hover i{color:var(--accent)}
.catalog-load-more{text-align:center;margin-top:32px}
.catalog-total{font-size:.85rem;color:var(--text-muted);margin-top:10px}
.catalog-no-results{text-align:center;padding:60px 20px;color:var(--text-muted)}
.catalog-no-results i{font-size:3rem;margin-bottom:16px;display:block}

/* REALISTIC LETTER PREVIEW (DIN 5008) */
.workspace-preview .letter-preview{background:#fff;border-radius:2px;padding:48px 40px 40px;color:#1f2937;font-family:'Inter',-apple-system,'Segoe UI',Arial,sans-serif;box-shadow:0 2px 8px rgba(0,0,0,.08),0 12px 40px rgba(0,0,0,.15);position:relative;margin-top:16px;line-height:1.55;min-height:500px}
.workspace-preview .letter-preview::before{content:none !important}
/* Falzmarke */
.workspace-preview .letter-preview::after{content:'';position:absolute;left:0;top:105mm;width:5px;height:1px;background:#d1d5db}
/* Sender Return Address */
.workspace-preview .letter-sender{font-size:.62rem;color:#9ca3af;margin-bottom:6px;line-height:1.3;text-decoration:underline;text-decoration-color:#d1d5db;text-underline-offset:3px;letter-spacing:.3px;padding-bottom:0;border-bottom:none}
.workspace-preview .letter-sender br{display:none}
.workspace-preview .letter-sender span,.workspace-preview .letter-sender .lp-placeholder{display:inline;font-size:.62rem}
.workspace-preview .letter-sender span:not(:last-child)::after{content:' · ';text-decoration:none;color:#d1d5db}
/* Recipient */
.workspace-preview .letter-recipient{font-size:.85rem;font-weight:400;line-height:1.45;margin-bottom:32px;color:#1f2937}
.workspace-preview .letter-recipient strong{font-weight:700;color:#111827;display:block;margin-bottom:1px;font-size:.88rem}
/* Date */
.workspace-preview .letter-date{text-align:right;font-size:.82rem;color:#6b7280;margin-bottom:28px}
/* Subject */
.workspace-preview .letter-subject{font-size:.92rem;margin-bottom:22px;color:#111827}
.workspace-preview .letter-subject strong{font-weight:700}
/* Body */
.workspace-preview .letter-body{font-size:.82rem;color:#374151;text-align:left;margin-bottom:28px;line-height:1.65}
/* Closing */
.workspace-preview .letter-closing{font-size:.82rem;color:#374151;margin-bottom:6px}
/* Signature */
.workspace-preview .letter-signature{min-height:50px}
.workspace-preview .letter-sig-img{max-width:180px;max-height:60px;display:block;margin:4px 0}
.workspace-preview .lp-sig-name{display:block;font-size:.82rem;color:#374151;margin-top:2px}
.workspace-preview .lp-placeholder{color:#9ca3af;font-style:italic}

/* SIGNATURE PAD (Form) */
.signature-group{margin-top:8px}
.signature-pad-wrap{position:relative;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);background:rgba(255,255,255,.04);overflow:hidden;transition:border-color .2s}
.signature-pad-wrap:hover,.signature-pad-wrap.active{border-color:var(--border-focus)}
.signature-pad-wrap canvas{display:block;width:100%;height:120px;cursor:crosshair;touch-action:none}
.signature-placeholder{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:.85rem;pointer-events:none;transition:opacity .3s}
.signature-placeholder.hidden{opacity:0}
.signature-clear{position:absolute;top:8px;right:8px;background:rgba(255,255,255,.08);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;padding:4px 8px;font-size:.85rem;transition:all .2s;display:none}
.signature-clear.visible{display:flex;align-items:center}
.signature-clear:hover{background:rgba(239,68,68,.15);color:#ef4444;border-color:rgba(239,68,68,.3)}

/* RECIPIENT INLINE EDITOR */
.workspace-preview .recipient-address-wrap{display:inline-flex;align-items:flex-start;gap:6px;position:relative}
.workspace-preview .recipient-edit-btn{background:none;border:1px solid transparent;border-radius:4px;color:#9ca3af;cursor:pointer;font-size:.75rem;padding:2px 5px;opacity:0;transition:all .2s;flex-shrink:0;line-height:1;margin-top:1px}
.workspace-preview .recipient-address-wrap:hover .recipient-edit-btn{opacity:1;border-color:#e5e7eb;color:#6b7280}
.workspace-preview .recipient-edit-btn:hover{background:#f3f4f6;color:#374151}
.workspace-preview .recipient-edit-box{margin-top:6px}
.workspace-preview .recipient-edit-box textarea{width:100%;border:1.5px solid #6366f1;border-radius:4px;padding:8px 10px;font-family:inherit;font-size:.82rem;line-height:1.5;color:#1f2937;background:#fff;resize:vertical;outline:none;box-shadow:0 0 0 3px rgba(99,102,241,.1)}
.workspace-preview .recipient-edit-actions{display:flex;gap:8px;margin-top:6px}
.workspace-preview .recipient-edit-actions button{display:inline-flex;align-items:center;gap:4px;padding:5px 12px;border-radius:4px;font-size:.78rem;font-weight:600;cursor:pointer;border:none;transition:all .15s}
.workspace-preview #recipient-save-btn{background:#4f46e5;color:#fff}
.workspace-preview #recipient-save-btn:hover{background:#4338ca}
.workspace-preview #recipient-cancel-btn{background:#f3f4f6;color:#374151}
.workspace-preview #recipient-cancel-btn:hover{background:#e5e7eb}
.workspace-preview .recipient-edit-note{font-size:.72rem;color:#9ca3af;margin-top:6px;display:flex;align-items:center;gap:4px}

/* FOOTER */
.cancel-footer{border-top:1px solid var(--border-subtle);padding:32px 0}
.footer-grid{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}
.footer-brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:1rem}
.footer-links{display:flex;gap:24px}
.footer-links a{color:var(--text-muted);font-size:.85rem;transition:color var(--transition)}
.footer-links a:hover{color:var(--text-primary)}
.footer-copy{font-size:.8rem;color:var(--text-muted)}

/* DRAFT TOAST */
.draft-toast{position:fixed;bottom:-80px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:12px 20px;background:rgba(139,92,246,.95);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.15);border-radius:var(--radius-md);color:#fff;font-size:.88rem;font-weight:500;font-family:var(--font);z-index:9999;box-shadow:0 8px 32px rgba(0,0,0,.4);transition:bottom .4s cubic-bezier(.4,0,.2,1),opacity .4s ease;opacity:0;white-space:nowrap}
.draft-toast.show{bottom:24px;opacity:1}
.draft-toast i{font-size:1.2rem}
.draft-toast-dismiss{background:none;border:none;color:rgba(255,255,255,.7);cursor:pointer;font-size:1.1rem;padding:4px;margin-left:8px;display:flex;align-items:center;transition:color .2s}
.draft-toast-dismiss:hover{color:#fff}

/* CHECKOUT CTA BUTTON */
.delivery-confirm{margin:32px 0 24px;width:100%;justify-content:center;padding:20px;font-size:1.15rem;font-weight:700;border-radius:var(--radius-lg);background:linear-gradient(135deg,rgba(139,92,246,.9),rgba(99,102,241,.9));border:1px solid rgba(255,255,255,.2);box-shadow:0 0 24px rgba(139,92,246,.3),inset 0 1px 1px rgba(255,255,255,.3);color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3);display:flex;align-items:center;gap:12px;position:relative;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1)}
.delivery-confirm::after{content:'';position:absolute;top:0;left:-100%;width:50%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);transform:skewX(-20deg);transition:left .7s ease}
.delivery-confirm:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 32px rgba(139,92,246,.5),inset 0 1px 1px rgba(255,255,255,.4);background:linear-gradient(135deg,rgb(149,102,255),rgb(109,112,251))}
.delivery-confirm:hover:not(:disabled)::after{left:200%}
.delivery-confirm:active:not(:disabled){transform:translateY(1px);box-shadow:0 4px 15px rgba(139,92,246,.3)}
.delivery-confirm i{font-size:1.4rem}

/* LIVE VALIDATION PROGRESS */
.form-progress-ring{font-size:.7rem;font-weight:700;background:rgba(255,255,255,.15);color:#fff;padding:4px 10px;border-radius:100px;margin-right:6px;letter-spacing:.5px;box-shadow:0 2px 4px rgba(0,0,0,.1)}
.delivery-confirm:disabled{opacity:.5;cursor:not-allowed;background:var(--bg-surface);border:1px dashed rgba(139,92,246,.3);box-shadow:none;color:var(--text-muted);transform:none !important}
.delivery-confirm:disabled::after{display:none}

/* ANIMATIONS */
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.cancel-hero h1,.cancel-hero .hero-subtitle,.cancel-hero .hero-category-badge,.cancel-hero .catalog-search-wrap{animation:fadeInUp .6s ease-out both}
.cancel-hero .hero-category-badge{animation-delay:.05s}
.cancel-hero h1{animation-delay:.1s}
.cancel-hero .hero-subtitle{animation-delay:.2s}
.cancel-hero .catalog-search-wrap{animation-delay:.3s}
.step-item{animation:fadeInUp .5s ease-out both}
.step-item:nth-child(1){animation-delay:.2s}
.step-item:nth-child(3){animation-delay:.3s}
.step-item:nth-child(5){animation-delay:.4s}
.workspace-form{animation:fadeInUp .5s ease-out .3s both}
.workspace-preview{animation:fadeInUp .5s ease-out .4s both}
.info-card{animation:fadeInUp .5s ease-out both}
.info-card:nth-child(1){animation-delay:.1s}
.info-card:nth-child(2){animation-delay:.2s}
.info-card:nth-child(3){animation-delay:.3s}
/* PROVIDER CONTACT INFO CARD */
.provider-contact-section{padding:0 0 12px}.provider-contact-card{background:transparent;border:none;border-radius:0;padding:4px 8px;margin-top:-10px}
.pcc-header{display:flex;align-items:center;gap:6px;margin-bottom:8px;padding-bottom:0;border-bottom:none}
.pcc-header i{font-size:.9rem;color:var(--text-muted)}
.pcc-header h3{font-size:.8rem;font-weight:600;color:var(--text-muted);margin:0}
.pcc-grid{display:flex;flex-wrap:wrap;gap:8px 16px}
.pcc-item{display:flex;align-items:center;gap:6px;padding:0;background:transparent;border:none;border-radius:0;transition:opacity var(--transition)}
.pcc-item:hover{background:transparent;opacity:.8}
.pcc-icon{width:16px;height:16px;display:flex;align-items:center;justify-content:center;font-size:.85rem;flex-shrink:0;background:transparent;color:var(--text-muted)}
.pcc-label{display:none}
.pcc-value{font-size:.78rem;color:var(--text-secondary)}
.pcc-value a{color:rgba(255,255,255,.8);text-decoration:none;transition:color .2s}
.pcc-value a:hover{color:var(--accent);text-decoration:underline}


.workspace-preview { order: 1; }
.provider-contact-section { order: 2; }
/* DELIVERY METHOD PICKER — Smart Cancel Style */
.guarantee-badge{display:flex;align-items:center;gap:10px;padding:14px 20px;background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(99,102,241,.08));border:1px solid rgba(139,92,246,.25);border-radius:var(--radius-md);margin-bottom:20px;color:var(--text-secondary);font-size:.9rem}
.guarantee-badge i{color:#8b5cf6;font-size:1.4rem;flex-shrink:0}
.guarantee-badge strong{color:var(--text-primary)}
.actions-heading{font-size:.95rem;font-weight:600;color:var(--text-muted);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}
.delivery-list{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.delivery-option{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition);position:relative;text-align:left;width:100%}
.delivery-option:hover{background:var(--bg-surface-hover);border-color:rgba(255,255,255,.15);transform:translateY(-1px)}
.delivery-option.active{border-color:rgba(245,158,11,.5);background:rgba(245,158,11,.06);box-shadow:0 0 20px rgba(245,158,11,.1)}
.delivery-option.do-recommended{padding-top:28px}
.do-rec-badge{position:absolute;top:0;right:16px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-size:.7rem;font-weight:700;padding:3px 10px 3px 8px;border-radius:0 0 6px 6px;display:flex;align-items:center;gap:4px}
.do-rec-badge i{font-size:.75rem}
.do-left{display:flex;align-items:center;gap:14px;flex:1;min-width:0}
.do-icon{width:42px;height:42px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}
.do-icon-fax{background:linear-gradient(135deg,rgba(34,197,94,.15),rgba(34,197,94,.08));color:#22c55e}
.do-icon-einwurf{background:linear-gradient(135deg,rgba(139,92,246,.15),rgba(99,102,241,.08));color:#8b5cf6}
.do-icon-einschreiben{background:linear-gradient(135deg,rgba(99,102,241,.15),rgba(99,102,241,.08));color:#6366f1}
.do-icon-brief{background:linear-gradient(135deg,rgba(245,158,11,.15),rgba(245,158,11,.08));color:#f59e0b}
.do-icon-pdf{background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.03));color:var(--text-muted)}
.do-info{flex:1;min-width:0}
.do-title{display:block;font-size:.95rem;font-weight:600;color:var(--text-primary)}
.do-desc{display:block;font-size:.82rem;color:var(--text-muted);margin-top:2px;line-height:1.4}
.do-tags{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}
.do-tag{font-size:.7rem;font-weight:600;padding:3px 8px;border-radius:20px;display:inline-flex;align-items:center;gap:3px}
.do-tag i{font-size:.7rem}
.do-tag-green{background:rgba(34,197,94,.12);color:#22c55e}
.do-tag-blue{background:rgba(96,165,250,.12);color:#60a5fa}
.do-tag-yellow{background:rgba(245,158,11,.12);color:#f59e0b}
.do-tag-red{background:rgba(239,68,68,.12);color:#ef4444}
.do-price{font-size:1.1rem;font-weight:700;color:#f59e0b;white-space:nowrap;flex-shrink:0;margin-left:16px}
.do-price-free{color:#22c55e;font-size:.95rem}
.delivery-legal-notice{display:flex;align-items:flex-start;gap:8px;padding:12px 16px;background:rgba(96,165,250,.06);border:1px solid rgba(96,165,250,.15);border-radius:var(--radius-sm);color:var(--text-secondary);font-size:.82rem;margin-bottom:12px;line-height:1.5}
.delivery-legal-notice i{color:#60a5fa;font-size:1rem;margin-top:2px;flex-shrink:0}
.delivery-confirm{width:100%;justify-content:center;font-size:1.05rem;margin-top:12px !important}
.delivery-confirm:disabled{opacity:.6;cursor:not-allowed;transform:none !important;box-shadow:none !important}


/* RESPONSIVE */
@media(max-width:768px){
.nav-links,.nav-actions{display:none}
.nav-mobile-toggle{display:block}
.cancel-hero{padding:120px 0 40px}
.cancel-hero h1{font-size:1.8rem}
.hero-subtitle{font-size:1rem}
.step-connector{width:40px}
.step-number{width:40px;height:40px;font-size:1rem}
.step-label{font-size:.75rem}
.workspace-grid{display:flex;flex-direction:column;gap:24px}
.workspace-col-left,.workspace-col-right{display:contents}
.workspace-form{order:1}
.workspace-preview{order:2}
.provider-contact-section{order:3}
.cancel-actions{order:4}
.workspace-form,.workspace-preview{padding:24px}
.letter-preview{padding:28px 24px;min-height:350px}
.form-row{flex-direction:column;gap:0}
.form-group-sm{flex:1}
.delivery-grid{grid-template-columns:1fr}
.delivery-option{padding:14px 16px}
.do-icon{width:36px;height:36px;font-size:1rem}
.do-title{font-size:.88rem}
.do-desc{font-size:.78rem}
.do-price{font-size:1rem}
.guarantee-badge{padding:12px 16px;font-size:.85rem}
.info-grid{grid-template-columns:1fr}
.cta-card{padding:40px 24px}
.cta-card h2{font-size:1.3rem}
.footer-grid{flex-direction:column;text-align:center}
.footer-links{justify-content:center}
.catalog-grid{grid-template-columns:1fr}
}
.catalog-card i{color:var(--text-muted);transition:color var(--transition)}
.catalog-card:hover i{color:var(--accent)}
.catalog-load-more{text-align:center;margin-top:32px}
.catalog-total{font-size:.85rem;color:var(--text-muted);margin-top:10px}
.catalog-no-results{text-align:center;padding:60px 20px;color:var(--text-muted)}
.catalog-no-results i{font-size:3rem;margin-bottom:16px;display:block}

/* REALISTIC LETTER PREVIEW (DIN 5008) */
.workspace-preview .letter-preview{background:#fff;border-radius:2px;padding:48px 40px 40px;color:#1f2937;font-family:'Inter',-apple-system,'Segoe UI',Arial,sans-serif;box-shadow:0 2px 8px rgba(0,0,0,.08),0 12px 40px rgba(0,0,0,.15);position:relative;margin-top:16px;line-height:1.55;min-height:500px}
.workspace-preview .letter-preview::before{content:none !important}
/* Falzmarke */
.workspace-preview .letter-preview::after{content:'';position:absolute;left:0;top:105mm;width:5px;height:1px;background:#d1d5db}
/* Sender Return Address */
.workspace-preview .letter-sender{font-size:.62rem;color:#9ca3af;margin-bottom:6px;line-height:1.3;text-decoration:underline;text-decoration-color:#d1d5db;text-underline-offset:3px;letter-spacing:.3px;padding-bottom:0;border-bottom:none}
.workspace-preview .letter-sender br{display:none}
.workspace-preview .letter-sender span,.workspace-preview .letter-sender .lp-placeholder{display:inline;font-size:.62rem}
.workspace-preview .letter-sender span:not(:last-child)::after{content:' · ';text-decoration:none;color:#d1d5db}
/* Recipient */
.workspace-preview .letter-recipient{font-size:.85rem;font-weight:400;line-height:1.45;margin-bottom:32px;color:#1f2937}
.workspace-preview .letter-recipient strong{font-weight:700;color:#111827;display:block;margin-bottom:1px;font-size:.88rem}
/* Date */
.workspace-preview .letter-date{text-align:right;font-size:.82rem;color:#6b7280;margin-bottom:28px}
/* Subject */
.workspace-preview .letter-subject{font-size:.92rem;margin-bottom:22px;color:#111827}
.workspace-preview .letter-subject strong{font-weight:700}
/* Body */
.workspace-preview .letter-body{font-size:.82rem;color:#374151;text-align:left;margin-bottom:28px;line-height:1.65}
/* Closing */
.workspace-preview .letter-closing{font-size:.82rem;color:#374151;margin-bottom:6px}
/* Signature */
.workspace-preview .letter-signature{min-height:50px}
.workspace-preview .letter-sig-img{max-width:180px;max-height:60px;display:block;margin:4px 0}
.workspace-preview .lp-sig-name{display:block;font-size:.82rem;color:#374151;margin-top:2px}
.workspace-preview .lp-placeholder{color:#9ca3af;font-style:italic}

/* SIGNATURE PAD (Form) */
.signature-group{margin-top:8px}
.signature-pad-wrap{position:relative;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);background:rgba(255,255,255,.04);overflow:hidden;transition:border-color .2s}
.signature-pad-wrap:hover,.signature-pad-wrap.active{border-color:var(--border-focus)}
.signature-pad-wrap canvas{display:block;width:100%;height:120px;cursor:crosshair;touch-action:none}
.signature-placeholder{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:.85rem;pointer-events:none;transition:opacity .3s}
.signature-placeholder.hidden{opacity:0}
.signature-clear{position:absolute;top:8px;right:8px;background:rgba(255,255,255,.08);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;padding:4px 8px;font-size:.85rem;transition:all .2s;display:none}
.signature-clear.visible{display:flex;align-items:center}
.signature-clear:hover{background:rgba(239,68,68,.15);color:#ef4444;border-color:rgba(239,68,68,.3)}

/* RECIPIENT INLINE EDITOR */
.workspace-preview .recipient-address-wrap{display:inline-flex;align-items:flex-start;gap:6px;position:relative}
.workspace-preview .recipient-edit-btn{background:none;border:1px solid transparent;border-radius:4px;color:#9ca3af;cursor:pointer;font-size:.75rem;padding:2px 5px;opacity:0;transition:all .2s;flex-shrink:0;line-height:1;margin-top:1px}
.workspace-preview .recipient-address-wrap:hover .recipient-edit-btn{opacity:1;border-color:#e5e7eb;color:#6b7280}
.workspace-preview .recipient-edit-btn:hover{background:#f3f4f6;color:#374151}
.workspace-preview .recipient-edit-box{margin-top:6px}
.workspace-preview .recipient-edit-box textarea{width:100%;border:1.5px solid #6366f1;border-radius:4px;padding:8px 10px;font-family:inherit;font-size:.82rem;line-height:1.5;color:#1f2937;background:#fff;resize:vertical;outline:none;box-shadow:0 0 0 3px rgba(99,102,241,.1)}
.workspace-preview .recipient-edit-actions{display:flex;gap:8px;margin-top:6px}
.workspace-preview .recipient-edit-actions button{display:inline-flex;align-items:center;gap:4px;padding:5px 12px;border-radius:4px;font-size:.78rem;font-weight:600;cursor:pointer;border:none;transition:all .15s}
.workspace-preview #recipient-save-btn{background:#4f46e5;color:#fff}
.workspace-preview #recipient-save-btn:hover{background:#4338ca}
.workspace-preview #recipient-cancel-btn{background:#f3f4f6;color:#374151}
.workspace-preview #recipient-cancel-btn:hover{background:#e5e7eb}
.workspace-preview .recipient-edit-note{font-size:.72rem;color:#9ca3af;margin-top:6px;display:flex;align-items:center;gap:4px}

/* FOOTER */
.cancel-footer{border-top:1px solid var(--border-subtle);padding:32px 0}
.footer-grid{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}
.footer-brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:1rem}
.footer-links{display:flex;gap:24px}
.footer-links a{color:var(--text-muted);font-size:.85rem;transition:color var(--transition)}
.footer-links a:hover{color:var(--text-primary)}
.footer-copy{font-size:.8rem;color:var(--text-muted)}

/* DRAFT TOAST */
.draft-toast{position:fixed;bottom:-80px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:12px 20px;background:rgba(139,92,246,.95);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.15);border-radius:var(--radius-md);color:#fff;font-size:.88rem;font-weight:500;font-family:var(--font);z-index:9999;box-shadow:0 8px 32px rgba(0,0,0,.4);transition:bottom .4s cubic-bezier(.4,0,.2,1),opacity .4s ease;opacity:0;white-space:nowrap}
.draft-toast.show{bottom:24px;opacity:1}
.draft-toast i{font-size:1.2rem}
.draft-toast-dismiss{background:none;border:none;color:rgba(255,255,255,.7);cursor:pointer;font-size:1.1rem;padding:4px;margin-left:8px;display:flex;align-items:center;transition:color .2s}
.draft-toast-dismiss:hover{color:#fff}

/* CHECKOUT CTA BUTTON */
.delivery-confirm{margin:32px 0 24px;width:100%;justify-content:center;padding:20px;font-size:1.15rem;font-weight:700;border-radius:var(--radius-lg);background:linear-gradient(135deg,rgba(139,92,246,.9),rgba(99,102,241,.9));border:1px solid rgba(255,255,255,.2);box-shadow:0 0 24px rgba(139,92,246,.3),inset 0 1px 1px rgba(255,255,255,.3);color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3);display:flex;align-items:center;gap:12px;position:relative;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1)}
.delivery-confirm::after{content:'';position:absolute;top:0;left:-100%;width:50%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);transform:skewX(-20deg);transition:left .7s ease}
.delivery-confirm:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 32px rgba(139,92,246,.5),inset 0 1px 1px rgba(255,255,255,.4);background:linear-gradient(135deg,rgb(149,102,255),rgb(109,112,251))}
.delivery-confirm:hover:not(:disabled)::after{left:200%}
.delivery-confirm:active:not(:disabled){transform:translateY(1px);box-shadow:0 4px 15px rgba(139,92,246,.3)}
.delivery-confirm i{font-size:1.4rem}

/* LIVE VALIDATION PROGRESS */
.form-progress-ring{font-size:.7rem;font-weight:700;background:rgba(255,255,255,.15);color:#fff;padding:4px 10px;border-radius:100px;margin-right:6px;letter-spacing:.5px;box-shadow:0 2px 4px rgba(0,0,0,.1)}
.delivery-confirm:disabled{opacity:.5;cursor:not-allowed;background:var(--bg-surface);border:1px dashed rgba(139,92,246,.3);box-shadow:none;color:var(--text-muted);transform:none !important}
.delivery-confirm:disabled::after{display:none}

/* ANIMATIONS */
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.cancel-hero h1,.cancel-hero .hero-subtitle,.cancel-hero .hero-category-badge,.cancel-hero .catalog-search-wrap{animation:fadeInUp .6s ease-out both}
.cancel-hero .hero-category-badge{animation-delay:.05s}
.cancel-hero h1{animation-delay:.1s}
.cancel-hero .hero-subtitle{animation-delay:.2s}
.cancel-hero .catalog-search-wrap{animation-delay:.3s}
.step-item{animation:fadeInUp .5s ease-out both}
.step-item:nth-child(1){animation-delay:.2s}
.step-item:nth-child(3){animation-delay:.3s}
.step-item:nth-child(5){animation-delay:.4s}
.workspace-form{animation:fadeInUp .5s ease-out .3s both}
.workspace-preview{animation:fadeInUp .5s ease-out .4s both}
.info-card{animation:fadeInUp .5s ease-out both}
.info-card:nth-child(1){animation-delay:.1s}
.info-card:nth-child(2){animation-delay:.2s}
.info-card:nth-child(3){animation-delay:.3s}
/* PROVIDER CONTACT INFO CARD */
.provider-contact-section{padding:0 0 12px}.provider-contact-card{background:transparent;border:none;border-radius:0;padding:4px 8px;margin-top:-10px}
.pcc-header{display:flex;align-items:center;gap:6px;margin-bottom:8px;padding-bottom:0;border-bottom:none}
.pcc-header i{font-size:.9rem;color:var(--text-muted)}
.pcc-header h3{font-size:.8rem;font-weight:600;color:var(--text-muted);margin:0}
.pcc-grid{display:flex;flex-wrap:wrap;gap:8px 16px}
.pcc-item{display:flex;align-items:center;gap:6px;padding:0;background:transparent;border:none;border-radius:0;transition:opacity var(--transition)}
.pcc-item:hover{background:transparent;opacity:.8}
.pcc-icon{width:16px;height:16px;display:flex;align-items:center;justify-content:center;font-size:.85rem;flex-shrink:0;background:transparent;color:var(--text-muted)}
.pcc-label{display:none}
.pcc-value{font-size:.78rem;color:var(--text-secondary)}
.pcc-value a{color:rgba(255,255,255,.8);text-decoration:none;transition:color .2s}
.pcc-value a:hover{color:var(--accent);text-decoration:underline}


.workspace-preview { order: 1; }
.provider-contact-section { order: 2; }
/* DELIVERY METHOD PICKER — Smart Cancel Style */
.guarantee-badge{display:flex;align-items:center;gap:10px;padding:14px 20px;background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(99,102,241,.08));border:1px solid rgba(139,92,246,.25);border-radius:var(--radius-md);margin-bottom:20px;color:var(--text-secondary);font-size:.9rem}
.guarantee-badge i{color:#8b5cf6;font-size:1.4rem;flex-shrink:0}
.guarantee-badge strong{color:var(--text-primary)}
.actions-heading{font-size:.95rem;font-weight:600;color:var(--text-muted);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}
.delivery-list{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.delivery-option{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition);position:relative;text-align:left;width:100%}
.delivery-option:hover{background:var(--bg-surface-hover);border-color:rgba(255,255,255,.15);transform:translateY(-1px)}
.delivery-option.active{border-color:rgba(245,158,11,.5);background:rgba(245,158,11,.06);box-shadow:0 0 20px rgba(245,158,11,.1)}
.delivery-option.do-recommended{padding-top:28px}
.do-rec-badge{position:absolute;top:0;right:16px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-size:.7rem;font-weight:700;padding:3px 10px 3px 8px;border-radius:0 0 6px 6px;display:flex;align-items:center;gap:4px}
.do-rec-badge i{font-size:.75rem}
.do-left{display:flex;align-items:center;gap:14px;flex:1;min-width:0}
.do-icon{width:42px;height:42px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}
.do-icon-fax{background:linear-gradient(135deg,rgba(34,197,94,.15),rgba(34,197,94,.08));color:#22c55e}
.do-icon-einwurf{background:linear-gradient(135deg,rgba(139,92,246,.15),rgba(99,102,241,.08));color:#8b5cf6}
.do-icon-einschreiben{background:linear-gradient(135deg,rgba(99,102,241,.15),rgba(99,102,241,.08));color:#6366f1}
.do-icon-brief{background:linear-gradient(135deg,rgba(245,158,11,.15),rgba(245,158,11,.08));color:#f59e0b}
.do-icon-pdf{background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.03));color:var(--text-muted)}
.do-info{flex:1;min-width:0}
.do-title{display:block;font-size:.95rem;font-weight:600;color:var(--text-primary)}
.do-desc{display:block;font-size:.82rem;color:var(--text-muted);margin-top:2px;line-height:1.4}
.do-tags{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}
.do-tag{font-size:.7rem;font-weight:600;padding:3px 8px;border-radius:20px;display:inline-flex;align-items:center;gap:3px}
.do-tag i{font-size:.7rem}
.do-tag-green{background:rgba(34,197,94,.12);color:#22c55e}
.do-tag-blue{background:rgba(96,165,250,.12);color:#60a5fa}
.do-tag-yellow{background:rgba(245,158,11,.12);color:#f59e0b}
.do-tag-red{background:rgba(239,68,68,.12);color:#ef4444}
.do-price{font-size:1.1rem;font-weight:700;color:#f59e0b;white-space:nowrap;flex-shrink:0;margin-left:16px}
.do-price-free{color:#22c55e;font-size:.95rem}
.delivery-legal-notice{display:flex;align-items:flex-start;gap:8px;padding:12px 16px;background:rgba(96,165,250,.06);border:1px solid rgba(96,165,250,.15);border-radius:var(--radius-sm);color:var(--text-secondary);font-size:.82rem;margin-bottom:12px;line-height:1.5}
.delivery-legal-notice i{color:#60a5fa;font-size:1rem;margin-top:2px;flex-shrink:0}
.delivery-confirm{width:100%;justify-content:center;font-size:1.05rem;margin-top:12px !important}
.delivery-confirm:disabled{opacity:.6;cursor:not-allowed;transform:none !important;box-shadow:none !important}


/* RESPONSIVE */
@media(max-width:768px){
.nav-links,.nav-actions{display:none}
.nav-mobile-toggle{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}
.nav-mobile-toggle i{font-size:1.3rem}
.nav-inner{padding:0 16px;height:60px}
.nav-logo{font-size:1.35rem}
.logo-icon{width:48px;height:48px}
.logo-img{width:40px;height:40px}
/* Hero — compact mobile */
.cancel-hero{padding:84px 0 20px}
.cancel-hero h1{font-size:1.35rem;letter-spacing:-.02em;line-height:1.25;margin-bottom:10px}
.hero-subtitle{font-size:.88rem;line-height:1.5;max-width:340px}
.hero-category-badge{padding:4px 12px;font-size:.78rem;margin-bottom:14px}
/* Steps — with arrows */
.cancel-steps{padding:16px 0 8px}
.steps-row{gap:0;justify-content:center}
.step-number{width:36px;height:36px;font-size:.9rem;box-shadow:0 2px 10px rgba(139,92,246,.2)}
.step-label{font-size:.72rem;text-align:center;max-width:72px;line-height:1.3;margin-top:6px}
.step-connector{width:0;height:0;margin:0 10px;margin-bottom:24px;background:none;position:relative}
.step-connector::after{content:'→';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:var(--accent);font-size:1.1rem;opacity:.6}
/* Workspace */
.workspace-grid{display:flex;flex-direction:column;gap:20px}
.workspace-col-left,.workspace-col-right{display:contents}
.workspace-form{order:1}
.workspace-preview{order:2}
.provider-contact-section{order:3}
.cancel-actions{order:4}
.workspace-form,.workspace-preview{padding:20px 16px}
.letter-preview{padding:24px 20px;min-height:350px}
.form-row{flex-direction:column;gap:0}
.form-group-sm{flex:1}
.delivery-grid{grid-template-columns:1fr}
.delivery-option{padding:14px 16px}
.do-icon{width:36px;height:36px;font-size:1rem}
.do-title{font-size:.88rem}
.do-desc{font-size:.78rem}
.do-price{font-size:1rem}
.guarantee-badge{padding:12px 16px;font-size:.85rem}
.info-grid{grid-template-columns:1fr}
.cta-card{padding:40px 20px}
.cta-card h2{font-size:1.3rem}
.footer-grid{flex-direction:column;text-align:center;gap:12px}
.footer-links{justify-content:center;flex-wrap:wrap;gap:16px}
/* Catalog mobile */
.filter-pills{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;padding-bottom:8px;scrollbar-width:none;-ms-overflow-style:none}
.filter-pills::-webkit-scrollbar{display:none}
.pill{flex-shrink:0;padding:7px 14px;font-size:.8rem}
.catalog-grid{grid-template-columns:1fr;gap:8px}
.catalog-card{padding:14px 16px;gap:10px}
.cc-name{white-space:normal;overflow:visible;text-overflow:unset;font-size:.88rem;line-height:1.35}
.cc-cat{font-size:.7rem;padding:2px 8px;flex-shrink:0}
.catalog-search-wrap{margin:24px auto 0}
.catalog-search-wrap input{padding:14px 16px 14px 44px;font-size:.92rem}
.catalog-search-wrap i{left:14px}
}
@media(max-width:480px){
.container{padding:0 14px}
.cancel-hero h1{font-size:1.4rem}
.step-connector{width:24px}
.delivery-card{padding:12px 14px;gap:10px}
.dc-icon{width:38px;height:38px;font-size:1.1rem}
.dc-title{font-size:.85rem}
.catalog-card{padding:12px 14px}
.cc-name{font-size:.85rem}
}
@media print{
body{background:#fff}
.cancel-nav,.cancel-hero,.cancel-steps,.cancel-actions,.cancel-info,.cancel-cta,.cancel-footer,.workspace-form,.workspace-preview h2{display:none!important}
.letter-preview{box-shadow:none;border-radius:0;padding:0}
.letter-preview::before{display:none}
}

.nav-mobile-tools { display: none; align-items: center; gap: 8px; }

/* Custom Language Dropdown */
.custom-lang-dropdown{position:relative;display:inline-block;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.custom-lang-dropdown .lang-dropdown-toggle{display:flex;align-items:center;gap:6px;padding:6px 14px;border-radius:8px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);color:var(--text-primary);font-size:.85rem;font-weight:600;transition:all .2s ease}
.custom-lang-dropdown:hover .lang-dropdown-toggle,.custom-lang-dropdown.open .lang-dropdown-toggle{background:rgba(255,255,255,.08);border-color:var(--accent)}
.custom-lang-dropdown .lang-dropdown-toggle i{font-size:1.1rem;color:var(--text-muted)}
.custom-lang-dropdown .lang-dropdown-menu{position:absolute;top:calc(100% + 8px);right:0;background:#1e1e2d;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:4px;min-width:140px;box-shadow:0 10px 30px rgba(0,0,0,.6);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-10px);transition:all .2s ease;z-index:9999}
.custom-lang-dropdown .lang-dropdown-menu::before{content:'';position:absolute;top:-20px;left:0;right:0;height:20px}
.custom-lang-dropdown:hover .lang-dropdown-menu,.custom-lang-dropdown.open .lang-dropdown-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.custom-lang-dropdown .lang-dropdown-menu button{display:flex;align-items:center;width:100%;padding:8px 12px;background:transparent;border:none;border-radius:8px;color:var(--text-secondary);font-size:.85rem;font-weight:500;text-align:left;cursor:pointer;transition:all .2s ease}
.custom-lang-dropdown .lang-dropdown-menu button:hover{background:rgba(255,255,255,.05);color:var(--text-primary)}
.custom-lang-dropdown .lang-dropdown-menu button.active{background:var(--accent);color:#fff}

/* User Logged Block */
.nav-user-logged { display: none; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 40px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); transition: all 0.2s; }
.nav-user-logged.visible { display: flex; }
.nav-user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gradient-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; flex-shrink: 0; box-shadow: 0 2px 10px rgba(139,92,246,0.3); }
.nav-user-info { display: flex; flex-direction: column; margin-right: 4px; line-height: 1.2; }
.nav-user-name { color: #fff; font-size: 0.85rem; font-weight: 500; }
.nav-user-role { color: var(--text-muted); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
.nav-user-logged .btn-dashboard { background: rgba(255,255,255,.06) !important; padding: 6px 14px; border-radius: 8px; color: var(--text-secondary); width: auto !important; height: auto !important; box-shadow: none !important; margin: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .85rem; font-weight: 500; border: 1px solid rgba(255,255,255,.08); transition: all .2s; }
.nav-user-logged .btn-dashboard:hover { color: #fff; background: rgba(255,255,255,0.1) !important; }
.nav-user-logged i { font-size: 1.2rem; margin: 0; }
.flex-col { flex-direction: column; align-items: stretch; gap: 12px; }
.nav-user-mobile-wrap { display: flex; align-items: center; gap: 12px; }

/* Adjust Mobile Menu User Block */
.nav-mobile-menu .nav-user-mobile-compact { display: flex; flex-direction: row; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 12px 14px; margin-top: 12px; border-radius: 12px; transition: all 0.3s ease; }
.nav-mobile-menu .nav-user-mobile-compact .btn-dashboard { background: rgba(255,255,255,0.08) !important; border-radius: 8px; padding: 10px; box-shadow: none !important; color: var(--text-primary); transition: all 0.2s; }
.nav-mobile-menu .nav-user-mobile-compact .btn-dashboard:hover { background: rgba(255,255,255,0.15) !important; }

/* PRO Plan Styles */
.nav-user-logged.pro-glow-card { background: linear-gradient(145deg, rgba(245,158,11,0.08) 0%, rgba(245,158,11,0.02) 100%) !important; border: 1px solid rgba(245,158,11,0.3) !important; box-shadow: 0 4px 20px rgba(245,158,11,0.1) !important; }
.nav-user-logged.pro-glow-card .nav-user-avatar { background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%); box-shadow: 0 0 12px rgba(245,158,11,0.4); color: #fff; }
.pro-text-gradient { background: linear-gradient(90deg, #fbbf24, #f59e0b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }

@media(max-width:768px){
  .nav-mobile-tools { display: flex; gap: 6px; }
  .nav-actions { display: none !important; }
  .custom-lang-dropdown .lang-dropdown-toggle { padding: 0; width: 36px; height: 36px; justify-content: center; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 8px; }
  .custom-lang-dropdown .lang-dropdown-toggle i.ri-global-line { font-size: 1.15rem; margin: 0; color: rgba(255,255,255,0.75); font-weight: normal; -webkit-font-smoothing: antialiased; }
  .custom-lang-dropdown .lang-dropdown-toggle .current-lang-label, 
  .custom-lang-dropdown .lang-dropdown-toggle .ri-arrow-down-s-line { display: none; }
  .custom-lang-dropdown .lang-dropdown-menu { right: 0; width: 140px; }
  
  .nav-mobile-toggle { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
  .nav-mobile-toggle i { font-size: 1.25rem; color: rgba(255,255,255,0.75); font-weight: normal; -webkit-font-smoothing: antialiased; }

  /* Smooth Dropdown Animation */
  .nav-mobile-menu { display: flex; max-height: 0; opacity: 0; visibility: hidden; overflow: hidden; padding-top: 0; padding-bottom: 0; border-top-color: transparent; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); gap: 6px; }
  .nav-mobile-menu.open { max-height: 450px; opacity: 1; visibility: visible; padding-top: 12px; padding-bottom: 20px; border-top-color: var(--border-subtle); padding-left: 20px; padding-right: 20px; }
  
  .nav-mobile-menu a:not(.btn-primary-sm):not(.nav-login-btn) { padding: 6px 0; font-size: 0.95rem; }
  
  .nav-mobile-menu .nav-user-mobile-compact .btn-dashboard i { font-size: 1.15rem; color: rgba(255,255,255,0.8); -webkit-font-smoothing: antialiased; }
}
