:root {--primary-color:#4a6ee0;--secondary-color:#6c757d;--success-color:#28a745;--warning-color:#ffc107;--danger-color:#dc3545;--light-bg:#f8f9fa;--dark-bg:#343a40;--border-color:#dee2e6;} * {box-sizing:border-box;margin:0;padding:0;} body {font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;color:#333;background:linear-gradient(135deg,#f5f7fa 0%,#c3cfe2 100%);min-height:100vh;} .container-css {max-width:1200px;margin:16px auto 0;background:white;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,0.15);overflow:hidden;} header {background:linear-gradient(135deg,var(--primary-color) 0%,#2c4db9 100%);color:white;padding:30px;text-align:center;} h1 {font-size:2.5rem;margin-bottom:10px;font-weight:700;} .description {font-size:1.1rem;opacity:0.9;max-width:800px;margin:0 auto;} .tool-container {display:flex;flex-direction:column;padding:30px;} @media (min-width:992px) {.tool-container {flex-direction:row;}} .input-section,.output-section {flex:1;padding:20px;} .section-title {display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;font-size:1.3rem;color:var(--dark-bg);padding-bottom:10px;border-bottom:2px solid var(--primary-color);} .code-container {border:1px solid var(--border-color);border-radius:8px;overflow:hidden;margin-bottom:20px;box-shadow:0 4px 8px rgba(0,0,0,0.05);} textarea {width:100%;height:300px;padding:20px;font-family:'Consolas','Monaco',monospace;font-size:15px;border:none;resize:vertical;line-height:1.5;background:var(--light-bg);transition:background 0.3s;} textarea:focus {outline:none;background:#fff;box-shadow:inset 0 0 0 2px var(--primary-color);} .controls {display:flex;flex-wrap:wrap;gap:12px;margin:20px 0;} button {padding:12px 20px;border:none;border-radius:6px;cursor:pointer;font-weight:600;transition:all 0.2s;display:flex;align-items:center;gap:8px;} button i {font-size:1.1em;} .btn-format {background:var(--primary-color);color:white;} .btn-minify {background:var(--warning-color);color:#212529;} .btn-clear {background:var(--secondary-color);color:white;} .btn-copy {background:var(--success-color);color:white;} .btn-compress {background:var(--danger-color);color:white;} button:hover {opacity:0.9;transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,0.15);} .badge {color:white;padding:4px 10px;border-radius:20px;font-size:0.9rem;} .form-control{height:auto;} .options {margin:0 0;padding:20px;background:var(--light-bg);border-radius:8px;} .pd-op{padding:1px 30px;} .option {display:flex;align-items:center;gap:8px;} input[type="checkbox"] {width:18px;height:18px;cursor:pointer;} input[type="number"] {width:60px;padding:8px;border:1px solid var(--border-color);border-radius:4px;text-align:center;} .formatted-code {background:#2d2d2d;padding:20px;border-radius:5px;height:300px;overflow:auto;font-family:'Consolas','Monaco',monospace;font-size:15px;white-space:pre-wrap;color:#f8f8f2;line-height:1.5;word-wrap:break-word;overflow-wrap:break-word;} .minified-code {background:#2d2d2d;padding:20px;border-radius:5px;height:150px;overflow:auto;font-family:'Consolas','Monaco',monospace;font-size:14px;white-space:pre-wrap;color:#f8f8f2;line-height:1.5;margin-top:20px;} .stats {display:flex;justify-content:space-around;padding:20px;background:var(--light-bg);border-radius:8px;margin-top:25px;box-shadow:0 4px 8px rgba(0,0,0,0.05);} .stat-item {text-align:center;padding:10px;} .stat-value {font-size:2rem;font-weight:bold;color:var(--primary-color);margin-bottom:5px;} .stat-label {color:var(--secondary-color);font-weight:500;} .file-upload {background:var(--light-bg);padding:20px;border-radius:8px;margin-top:20px;text-align:center;} .progress-bar {height:10px;background:#e9ecef;border-radius:5px;overflow:hidden;margin-top:15px;} .progress {height:100%;background:var(--success-color);width:0%;transition:width 0.3s;} footer {text-align:center;padding:25px;background:var(--light-bg);color:var(--secondary-color);margin-top:30px;} .keyword {color:#ff79c6;} .function {color:#50fa7b;} .string {color:#f1fa8c;} .comment {color:#6272a4;} .number {color:#bd93f9;} @media (max-width:768px) {.tool-container {flex-direction:column;} .controls {flex-direction:column;} button {width:100%;} .options {flex-direction:column;gap:10px;} .comparison {flex-direction:column;}} .mb0{margin-bottom:0;}