.xml-formatter-container{width:100%;height:calc(100vh - 69px);display:flex;flex-direction:column;background:#f8f9fa;overflow-y:auto}.formatter-header{background:linear-gradient(135deg,#F36E2B,#E55A1A);color:#fff;padding:2rem;text-align:center;flex-shrink:0}.formatter-header h1{margin:0 0 .5rem;font-size:2rem;font-weight:600}.formatter-header p{margin:0;font-size:1rem;opacity:.9}.main-content{gap:1rem;padding:1rem;flex-shrink:0}.input-panel,.main-content{display:flex;min-height:400px}.input-panel{flex:1 1;flex-direction:column;background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f7fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0}.panel-header h3{margin:0;font-size:1rem;font-weight:600;color:#2d3748}.panel-controls{display:flex;gap:.5rem}.panel-btn{background:rgba(0,0,0,0);border:1px solid #e2e8f0;border-radius:4px;padding:.25rem .5rem;cursor:pointer;display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:#718096;transition:all .2s;position:relative}.panel-btn:hover{background:#f7fafc;border-color:#f36e2b;color:#f36e2b}.panel-btn:disabled{cursor:not-allowed;opacity:.7}.panel-btn:disabled:hover{background:rgba(0,0,0,0);border-color:#e2e8f0;color:#718096}.input-container{flex:1 1;position:relative;display:flex;flex-direction:column}.xml-input{flex:1 1;border:none;outline:none;padding:1rem;font-size:.875rem;line-height:1.5;resize:none;background:#fff;color:#2d3748;min-height:300px;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.xml-input::placeholder{color:#a0aec0}.copy-input-btn{position:absolute;top:.5rem;right:.5rem;background:hsla(0,0%,100%,.9);border:1px solid #e2e8f0;border-radius:4px;padding:.25rem .5rem;cursor:pointer;display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:#718096;transition:all .2s;position:relative}.copy-input-btn:hover{background:#fff;border-color:#f36e2b;color:#f36e2b}.control-panel{width:280px;background:#f36e2b;padding:1rem;display:flex;flex-direction:column;gap:.75rem;overflow-y:auto;flex-shrink:0;border-radius:8px;min-height:400px}.control-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#2d3748;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;text-align:left;position:relative}.control-btn:hover{background:#f7fafc;border-color:#f36e2b}.control-btn:disabled{cursor:not-allowed;opacity:.7}.control-btn:disabled:hover{background:#fff;border-color:#e2e8f0}.control-btn.primary{background:#f36e2b;color:#fff;border-color:#e55a1a}.control-btn.primary:hover{background:#e55a1a}.control-btn.featured{background:linear-gradient(135deg,#F36E2B,#E55A1A);color:#fff;border:2px solid #e55a1a;font-weight:600;font-size:1rem;padding:1rem 1.25rem;box-shadow:0 4px 12px rgba(243,110,43,.3);transform:scale(1.02)}.control-btn.featured:hover{background:linear-gradient(135deg,#E55A1A,#D44A0A);transform:scale(1.05);box-shadow:0 6px 16px rgba(243,110,43,.4)}.control-btn.featured:disabled{opacity:.7;transform:scale(1)}.control-btn.featured:disabled:hover{transform:scale(1);box-shadow:0 4px 12px rgba(243,110,43,.3)}.indent-control{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;background:hsla(0,0%,100%,.1);border-radius:6px}.indent-control label{font-size:.75rem;color:#fff;font-weight:500}.indent-select{padding:.5rem;border:1px solid hsla(0,0%,100%,.2);border-radius:4px;background:#fff;color:#2d3748;font-size:.875rem;cursor:pointer}.indent-select:focus{outline:none;border-color:#fff;box-shadow:0 0 0 2px hsla(0,0%,100%,.2)}.panel-footer{color:#fff;font-size:.75rem;text-align:center;margin-top:auto;padding-top:1rem;border-top:1px solid hsla(0,0%,100%,.2)}.info-panel{background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);overflow:hidden;min-height:400px}.info-content,.info-panel{flex:1 1;display:flex;flex-direction:column}.info-content{padding:1rem;gap:1rem}.info-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#f7fafc;border-radius:6px;border:1px solid #e2e8f0}.info-label{font-size:.875rem;font-weight:500;color:#718096}.info-value{font-size:.875rem;font-weight:600;color:#2d3748}.tooltip{bottom:120%;background:#374151;color:#fff;padding:.5rem .75rem;border-radius:6px;font-size:.75rem;white-space:nowrap;opacity:0;visibility:hidden;transition:all .2s ease;z-index:1000;margin-bottom:.5rem}.tooltip,.tooltip:after{position:absolute;left:50%;transform:translateX(-50%)}.tooltip:after{content:"";top:100%;border:4px solid rgba(0,0,0,0);border-top-color:#374151}.control-btn:hover .tooltip,.panel-btn:hover .tooltip{opacity:1;visibility:visible}.copied-indicator{position:absolute;top:-25px;right:0;background:#48bb78;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;white-space:nowrap;animation:fadeInOut 2s ease-in-out}.results-section{background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);margin:1rem;overflow:hidden;flex-shrink:0}.results-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background:#f7fafc;border-bottom:1px solid #e2e8f0}.results-header h3{margin:0;font-size:1.125rem;font-weight:600;color:#2d3748}.results-controls{display:flex;gap:.5rem}.copy-btn{background:rgba(0,0,0,0);border:1px solid #e2e8f0;border-radius:4px;padding:.5rem .75rem;cursor:pointer;display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:#718096;transition:all .2s;position:relative}.copy-btn:hover{background:#f7fafc;border-color:#f36e2b;color:#f36e2b}.results-content{padding:1.5rem}.xml-display{background:#f7fafc;border-radius:8px;border:1px solid #e2e8f0;overflow:hidden}.display-header{padding:1rem;background:#fff;border-bottom:1px solid #e2e8f0}.display-header h4{margin:0 0 .25rem;font-size:1rem;font-weight:600;color:#2d3748}.section-subtitle{font-size:.75rem;color:#718096}.xml-content{padding:1rem;max-height:400px;overflow-y:auto}.xml-content pre{margin:0;font-size:.875rem;line-height:1.5;color:#2d3748;font-family:Monaco,Menlo,Ubuntu Mono,monospace;white-space:pre-wrap;word-break:break-word}.xml-content::-webkit-scrollbar{width:6px}.xml-content::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.xml-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.xml-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}@keyframes fadeInOut{0%,to{opacity:0}20%,80%{opacity:1}}@media(max-width:1200px){.control-panel{width:250px}}@media(max-width:768px){.main-content{flex-direction:column;gap:.5rem}.control-panel{width:100%;height:auto;max-height:300px}.info-panel,.input-panel{min-height:200px}}