.csv-json-converter{max-width:1200px;margin:0 auto;padding:2rem}.csv-json-converter .tool-header{text-align:center;margin-bottom:2rem}.csv-json-converter .tool-header h1{color:var(--primary-color);margin-bottom:.5rem}.csv-json-converter .tool-header p{color:#999;font-size:1.1rem}.converter-container{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;padding:1.5rem;margin-bottom:2rem}.controls-bar{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #eee}.mode-buttons{display:flex;gap:.5rem}.mode-buttons .btn{padding:.6rem 1.2rem;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s}.mode-buttons .btn-primary{background:var(--primary-color);color:#fff}.mode-buttons .btn-secondary{background:#e9ecef;color:#495057}.mode-buttons .btn-secondary:hover{background:#dee2e6}.options-group{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}.option{display:flex;align-items:center;gap:.5rem}.option label{color:#999;font-size:.875rem}.option select{padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:.875rem}.checkbox-option{display:flex;align-items:center;gap:.5rem;color:#999;font-size:.875rem;cursor:pointer}.checkbox-option input{width:16px;height:16px;cursor:pointer}.utility-buttons{display:flex;gap:.5rem;margin-left:auto}.btn-outline{padding:.5rem 1rem;border:1px solid #ddd;background:#fff;border-radius:6px;cursor:pointer;transition:all .2s}.btn-outline:hover:not(:disabled){background:#f8f9fa;border-color:var(--primary-color)}.btn-outline:disabled{opacity:.5;cursor:not-allowed}.upload-btn{cursor:pointer}.sample-buttons{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #eee}.sample-buttons span{color:#999;font-size:.875rem;margin-right:.5rem}.sample-btn{padding:.4rem .8rem;border:1px solid #ddd;background:#fff;border-radius:4px;font-size:.85rem;cursor:pointer;transition:all .2s}.sample-btn:hover{background:#f8f9fa;border-color:var(--primary-color);color:var(--primary-color)}.editor-panels{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.editor-panel{display:flex;flex-direction:column}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#1e1e1e;color:#fff;border-radius:8px 8px 0 0;font-size:.875rem}.char-count{color:#888;font-size:.85rem}.panel-actions{display:flex;gap:.5rem}.action-btn{padding:.3rem .8rem;background:#333;color:#fff;border:none;border-radius:4px;font-size:.8rem;cursor:pointer;transition:background .2s}.action-btn:hover{background:#444}.editor-input,.editor-output{width:100%;min-height:300px;padding:1rem;border:none;border-radius:0 0 8px 8px;font-family:Consolas,Monaco,Courier New,monospace;font-size:.875rem;line-height:1.6;resize:vertical;background:#1e1e1e;color:#d4d4d4}.editor-input:focus,.editor-output:focus{outline:none}.editor-input::placeholder,.editor-output::placeholder{color:#999}.error-message{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#fff3f3;border:1px solid #ffcdd2;border-radius:6px;color:#c62828;margin-bottom:1rem}.error-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:#c62828;color:#fff;border-radius:50%;font-weight:700;font-size:.8rem}.stats-bar{display:flex;flex-wrap:wrap;gap:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px;margin-top:1rem}.stat-item{display:flex;flex-direction:column;gap:.25rem}.stat-item.headers{flex:1;min-width:200px}.stat-label{font-size:.8rem;color:#999;text-transform:uppercase}.stat-value{font-weight:600;color:#333}.headers-list{font-size:.875rem;word-break:break-word}.section-card{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;padding:1.5rem;margin-bottom:2rem}.section-card h3{font-size:1.15rem;font-weight:700;color:var(--gray-900);margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:2px solid var(--primary);letter-spacing:.03em}.section-card:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.history-list{display:flex;flex-direction:column;gap:.5rem}.history-item{display:flex;align-items:center;gap:1rem;padding:.75rem;background:#f8f9fa;border-radius:6px;font-size:.875rem}.history-time{color:#999;font-size:.85rem}.history-badge{padding:.2rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.history-badge.csv-to-json{background:#e3f2fd;color:#1565c0}.history-badge.json-to-csv{background:#e8f5e9;color:#2e7d32}.history-preview{color:#999;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin-bottom:2rem}.feature-card{background:#fff;border-radius:12px;box-shadow:0 2px 10px #00000014;padding:1.5rem;text-align:center}.feature-icon{width:50px;height:50px;background:linear-gradient(135deg,var(--primary-color),#6e8efb);color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.875rem;margin:0 auto 1rem}.feature-card h4{color:#333;margin-bottom:.5rem}.feature-card p{color:#999;font-size:.875rem;line-height:1.6}.tips-section .tips-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:.75rem}.tips-list li{padding:.75rem 1rem;background:#f8f9fa;border-radius:6px;color:#999;font-size:.95rem;line-height:1.6}.tips-list li strong{color:var(--primary-color)}.cta-section{background:linear-gradient(135deg,var(--primary-color),#6e8efb);border-radius:12px;padding:2rem;text-align:center;color:#fff}.cta-section h3{margin-bottom:.5rem}.cta-section p{margin-bottom:1.5rem;opacity:.9}.cta-button{display:inline-block;padding:.75rem 2rem;background:#fff;color:var(--primary-color);text-decoration:none;border-radius:25px;font-weight:600;transition:transform .2s}.cta-button:hover{transform:translateY(-2px)}@media (max-width: 768px){.csv-json-converter{padding:1rem}.controls-bar{flex-direction:column;align-items:flex-start}.utility-buttons{margin-left:0;width:100%;justify-content:flex-start}.editor-panels{grid-template-columns:1fr}.editor-input,.editor-output{min-height:200px}.stats-bar{gap:1rem}.history-item{flex-wrap:wrap}}
