.swift-tool-main-wrapper { 
    font-family: 'Inter', system-ui, sans-serif !important; 
    background-color: #f8fafc !important; 
    padding: 20px 15px !important; 
    max-width: 1200px !important; 
    margin: 15px auto !important; 
    box-sizing: border-box !important;
    display: block !important;
    clear: both !important;
}

.tool-hero-section { text-align: center; margin-bottom: 25px; padding-top: 10px; }
.tool-title-main { font-size: 28px !important; font-weight: 800 !important; color: #0f172a !important; display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px; margin-top: 0 !important; }
.hero-icon-svg { width: 36px; height: 36px; display: inline-block; }
.tool-subtitle-main { font-size: 15px !important; color: #475569 !important; font-weight: 500 !important; max-width: 700px; margin: 0 auto; line-height: 1.5; }

.vector-workspace { width: 100%; }
.vector-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 992px) { .vector-grid { grid-template-columns: 1fr 1.2fr; } }

.vector-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 15px; border-top: 4px solid #ea580c; box-sizing: border-box; }
.preview-card { border-top: 4px solid #10b981; }
.card-title { font-size: 16px !important; font-weight: 700 !important; color: #0f172a !important; margin: 0; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; width: 100%; }

.form-group { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.lbl { font-size: 13px; font-weight: 700; color: #475569; }

/* Upload Button Style */
.custom-file-upload { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff7ed; color: #ea580c; border: 2px dashed #ffedd5; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.2s; box-sizing: border-box; }
.custom-file-upload:hover { background: #ffedd5; border-color: #fbcfe8; }

.status-banner { padding: 14px; border-radius: 10px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.premium-orange-banner { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }

.toggle-mode-container { display: flex; gap: 10px; width: 100%; }
.mode-btn { flex: 1; padding: 12px; font-size: 13.5px; font-weight: 700; border: 2px solid #cbd5e1; border-radius: 8px; background: #f1f5f9; color: #334155; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; }

.shuffle-btn-stylish { background: linear-gradient(135deg, #ea580c, #ca8a04); color: #ffffff; border: none !important; font-weight: 700; margin-top: 5px; cursor: pointer; border-radius: 8px; }

.canvas-viewport { width: 100%; height: 350px; background: #1e293b; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 2px solid #334155; box-sizing: border-box; }

/* Grid layout for generated previews inside the viewport */
.preview-row-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 15px; width: 100%; }
.preview-item-box { background: #334155; border: 1px solid #475569; padding: 12px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.preview-item-box span { color: #94a3b8; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.preview-item-box img { max-width: 48px; max-height: 48px; object-fit: contain; background: rgba(255,255,255,0.05); border-radius: 4px; padding: 4px; }

.doc-actions { display: flex; gap: 12px; width: 100%; margin-top: 5px; }
.action-btn { flex: 1; padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; border: none; text-align: center; transition: all 0.2s ease; }
.print-btn-stylish { background: linear-gradient(135deg, #10b981, #047857); color: #ffffff; }

.seo-guide-section { width: 100%; margin-top: 50px; }
.step-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
@media (min-width: 768px) { .step-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { background: #fff; border: 1px solid #e2e8f0; padding: 22px; border-radius: 12px; position: relative; }
.step-num { position: absolute; top: -14px; left: 20px; color: #fff; font-weight: 800; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 12px; }

.step-card h4 { margin: 8px 0 6px 0; font-size: 15px; font-weight: 700; color: #0f172a; }
.step-card p { margin: 0; font-size: 13px; color: #475569; line-height: 1.5; }

.faq-section { width: 100%; margin-top: 40px; }
.faq-main-title { font-size: 22px !important; font-weight: 800 !important; color: #0f172a; text-align: center; margin-bottom: 20px; }
.faq-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; margin-bottom: 12px; }
.faq-question { font-size: 15px !important; font-weight: 700 !important; color: #0f172a; margin: 0 0 6px 0; }
.faq-answer { font-size: 13.5px; color: #475569; line-height: 1.5; margin: 0; }