/* Image to Base64 Converter Specific Styles */
.two-column-layout{display:block;margin:24px 0}
@media(min-width:768px){.two-column-layout{display:flex;gap:32px;align-items:flex-start}
.left-column{flex:1;position:sticky;top:100px}
.right-column{flex:1.2}}
.calculator-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;overflow:hidden;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1)}
.calculator-header{background:linear-gradient(135deg,#1e293b,#0f172a);color:#fff;padding:20px 24px}
.calculator-header h2{color:#fff;margin-bottom:6px;font-size:1.2rem}
.calculator-header p{color:rgba(255,255,255,0.8);margin:0;font-size:13px}
.calculator-body{padding:24px}
.upload-area{border:2px dashed #cbd5e1;border-radius:20px;padding:40px 20px;text-align:center;background:#f8fafc;cursor:pointer;transition:all 0.2s;margin-bottom:24px}
.upload-area:hover{border-color:#3b82f6;background:#eff6ff}
.upload-area.drag-over{border-color:#3b82f6;background:#dbeafe}
.upload-icon{font-size:3rem;color:#3b82f6;margin-bottom:12px}
.upload-area h3{font-size:1rem;margin-bottom:8px}
.upload-area p{font-size:0.75rem;color:#64748b}
.format-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;justify-content:center}
.format-badge{background:#f1f5f9;padding:4px 10px;border-radius:20px;font-size:0.7rem;color:#475569}
.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}
.preview-card{background:#f8fafc;border-radius:16px;padding:20px;text-align:center}
.preview-card h4{font-size:0.85rem;margin-bottom:12px;display:flex;align-items:center;justify-content:center;gap:8px}
.preview-image{max-width:100%;max-height:180px;margin:12px 0;border-radius:12px;object-fit:contain}
.file-info{background:#fff;border-radius:12px;padding:12px;font-size:0.7rem;color:#64748b;margin-top:10px;text-align:left}
.base64-output{background:#1e293b;color:#e2e8f0;padding:16px;border-radius:12px;font-family:monospace;font-size:11px;overflow-x:auto;word-break:break-all;max-height:150px;overflow-y:auto;text-align:left;margin:12px 0}
.size-compare{display:flex;justify-content:space-between;padding:12px;background:#fff;border-radius:12px;margin:12px 0;font-size:0.75rem;flex-wrap:wrap;gap:8px}
.copy-btn{background:#3b82f6;color:#fff;border:none;padding:10px 20px;border-radius:50px;font-weight:600;cursor:pointer;transition:all 0.2s;width:100%;margin-top:12px}
.copy-btn:hover{background:#2563eb;transform:translateY(-2px)}
.clear-btn{background:#ef4444;color:#fff;border:none;padding:10px 20px;border-radius:50px;font-weight:600;cursor:pointer;transition:all 0.2s;margin-top:12px}
.clear-btn:hover{background:#dc2626}
.embed-section{margin-top:32px}
.embed-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:16px}
.embed-card{background:#f8fafc;border-radius:16px;padding:16px}
.embed-card strong{display:block;margin-bottom:8px;font-size:0.85rem}
.code-example{background:#1e293b;color:#e2e8f0;padding:12px;border-radius:8px;font-family:monospace;font-size:10px;overflow-x:auto;word-break:break-all;max-height:80px;overflow-y:auto;margin:12px 0}
.copy-code-btn{background:#3b82f6;color:#fff;border:none;padding:6px 12px;border-radius:20px;font-size:0.7rem;cursor:pointer}
.info-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;margin-bottom:20px}
.info-card h3{margin-bottom:16px;font-size:1rem}
.rate-buttons{display:flex;flex-wrap:wrap;gap:10px}
.rate-btn{display:inline-block;background:#f1f5f9;border:1px solid #e2e8f0;padding:6px 12px;border-radius:20px;font-size:12px;text-decoration:none;color:#475569;transition:all 0.2s}
.rate-btn:hover{background:#3b82f6;color:#fff}
.trust-badges-small{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin-bottom:20px;padding:12px;background:#f8fafc;border-radius:12px;font-size:12px}
.benefits-card{background:linear-gradient(135deg,#e0f2fe,#f0fdf4);border:1px solid #e2e8f0;border-radius:16px;padding:20px;margin-bottom:20px}
.faq-accordion-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;margin-bottom:20px}
.faq-item{margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #e2e8f0}
.faq-item:last-child{border-bottom:none}
.faq-question{font-weight:600;cursor:pointer;padding:8px 0;display:flex;justify-content:space-between;align-items:center}
.faq-question:after{content:"▼";font-size:12px;transition:transform 0.2s}
.faq-item.active .faq-question:after{transform:rotate(180deg)}
.faq-answer{display:none;padding-top:8px;font-size:14px;line-height:1.6;color:#64748b}
.faq-item.active .faq-answer{display:block}
.related-tools-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;margin-bottom:20px}
.related-links{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.related-link{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f8fafc;border-radius:12px;font-size:12px;text-decoration:none;color:#1e293b}
.related-link:hover{background:#3b82f6;color:#fff}
.privacy-guarantee{background:#fef3c7;border-left:4px solid #f59e0b;padding:12px 16px;border-radius:12px;font-size:12px}
.back-link{margin-top:16px;text-align:center}
.btn-outline{display:inline-block;background:transparent;border:2px solid #3b82f6;color:#3b82f6;padding:10px 24px;border-radius:50px;text-decoration:none;font-weight:600}
.btn-outline:hover{background:#3b82f6;color:#fff}
.limit-warning{background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:12px;margin-bottom:16px;display:flex;align-items:center;gap:10px;font-size:0.75rem}
.action-bar{display:flex;justify-content:flex-end;margin-bottom:16px}
@media (max-width:768px){.calculator-body{padding:16px}.preview-grid{grid-template-columns:1fr}.embed-grid{grid-template-columns:1fr}}
.section{margin:32px 0}
.content-block{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px}
.content-block h2{font-size:1.2rem;margin-bottom:20px}
.highlight-box{background:#f8fafc;padding:16px;border-radius:12px}
.cta-section{text-align:center;padding:40px 20px;background:linear-gradient(135deg,#1e293b,#0f172a);border-radius:24px;margin:48px 0;color:#fff}
.cta-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.btn-outline{background:transparent;border:2px solid #3b82f6;color:#3b82f6;padding:10px 26px;border-radius:50px;text-decoration:none;font-weight:600}
.btn-outline:hover{background:#3b82f6;color:#fff}