@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.xml-formatter-pro-wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  box-sizing: border-box;
  position: relative;
  overflow-x: clip;
  background: linear-gradient(135deg, #030164 0%, #1a1878 45%, #2D7495 100%);
  color: #f4f6fb;
  padding: 42px 16px;
  font-family: Inter, Arial, sans-serif;
}
.xml-formatter-pro-wrap *, .xml-formatter-pro-wrap *::before, .xml-formatter-pro-wrap *::after { box-sizing: border-box; }
.xml-formatter-pro-wrap .xfp-shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 8px; }
.xml-formatter-pro-wrap .xfp-hero { text-align: center; margin: 0 auto 28px; max-width: 760px; }
.xml-formatter-pro-wrap .xfp-kicker { margin: 0 0 8px; color: #e6e8f2; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.xml-formatter-pro-wrap .xfp-hero h1 { margin: 0; color: #ffffff; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.xml-formatter-pro-wrap .xfp-hero p:not(.xfp-kicker) { margin: 13px auto 0; color: #f4f6fb; font-size: 16px; line-height: 1.6; }
.xml-formatter-pro-wrap .xfp-workspace { overflow: hidden; background: #080A38; border: 1px solid rgba(230,232,242,.24); border-radius: 18px; box-shadow: 0 24px 60px rgba(3,1,100,.38), 0 0 30px rgba(45,116,149,.18); }
.xml-formatter-pro-wrap .xfp-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 13px 16px; background: #10134D; border-bottom: 1px solid rgba(230,232,242,.16); }
.xml-formatter-pro-wrap .xfp-tool-label { color: #ffffff; font-size: 13px; font-weight: 800; margin-right: auto; white-space: nowrap; }
.xml-formatter-pro-wrap .xfp-tool-label span { color: #72d5eb; margin-right: 6px; }
.xml-formatter-pro-wrap .xfp-btn, .xml-formatter-pro-wrap .xfp-file-button, .xml-formatter-pro-wrap .xfp-text-btn, .xml-formatter-pro-wrap select {
  font: inherit; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.xml-formatter-pro-wrap .xfp-btn, .xml-formatter-pro-wrap .xfp-file-button { min-height: 38px; border: 1px solid rgba(230,232,242,.25); border-radius: 8px; padding: 8px 12px; color: #ffffff; cursor: pointer; font-size: 13px; font-weight: 700; }
.xml-formatter-pro-wrap .xfp-btn:hover, .xml-formatter-pro-wrap .xfp-file-button:hover, .xml-formatter-pro-wrap .xfp-text-btn:hover { transform: translateY(-1px); border-color: #2D7495; }
.xml-formatter-pro-wrap .xfp-btn-primary { background: #363199; }
.xml-formatter-pro-wrap .xfp-btn-secondary, .xml-formatter-pro-wrap .xfp-file-button { background: #0f172a; }
.xml-formatter-pro-wrap .xfp-btn-accent { background: #2D7495; }
.xml-formatter-pro-wrap .xfp-btn-danger { background: #0f172a; color: #ffffff; }
.xml-formatter-pro-wrap .xfp-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.xml-formatter-pro-wrap .xfp-select-label, .xml-formatter-pro-wrap .xfp-options label { display: flex; align-items: center; gap: 7px; color: #f4f6fb; font-size: 12px; font-weight: 700; }
.xml-formatter-pro-wrap select { min-height: 36px; max-width: 130px; border: 1px solid rgba(230,232,242,.27); border-radius: 7px; background: #080A38; color: #ffffff; padding: 0 8px; cursor: pointer; }
.xml-formatter-pro-wrap .xfp-help { padding: 12px 16px; color: #f4f6fb; background: rgba(45,116,149,.18); border-bottom: 1px solid rgba(45,116,149,.45); font-size: 13px; line-height: 1.5; }
.xml-formatter-pro-wrap .xfp-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); }
.xml-formatter-pro-wrap .xfp-sidebar { padding: 18px; background: #0f172a; border-right: 1px solid rgba(230,232,242,.16); }
.xml-formatter-pro-wrap .xfp-sidebar h2, .xml-formatter-pro-wrap .xfp-sidebar h3 { color: #ffffff; margin: 0 0 12px; font-size: 14px; }
.xml-formatter-pro-wrap .xfp-sidebar h3 { color: #e6e8f2; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.xml-formatter-pro-wrap .xfp-sidebar .xfp-btn { display: block; width: 100%; margin: 0 0 9px; text-align: left; }
.xml-formatter-pro-wrap .xfp-options { display: grid; gap: 11px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(230,232,242,.16); }
.xml-formatter-pro-wrap .xfp-check input { accent-color: #2D7495; }
.xml-formatter-pro-wrap .xfp-editors { min-width: 0; padding: 16px; background: #080A38; }
.xml-formatter-pro-wrap .xfp-message { min-height: 0; margin-bottom: 0; overflow-wrap: anywhere; }
.xml-formatter-pro-wrap .xfp-message:not(:empty) { min-height: 39px; margin-bottom: 12px; padding: 10px 12px; border: 1px solid rgba(45,116,149,.62); border-radius: 8px; background: rgba(45,116,149,.16); color: #ffffff; font-size: 13px; line-height: 1.4; }
.xml-formatter-pro-wrap .xfp-message.is-error { border-color: #e6e8f2; background: rgba(75,85,104,.35); }
.xml-formatter-pro-wrap .xfp-panels { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.xml-formatter-pro-wrap .xfp-panel { min-width: 0; overflow: hidden; border: 1px solid rgba(230,232,242,.2); border-radius: 11px; background: #10134D; }
.xml-formatter-pro-wrap .xfp-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 8px 11px; background: #0f172a; border-bottom: 1px solid rgba(230,232,242,.16); }
.xml-formatter-pro-wrap .xfp-panel-head h2 { margin: 0; color: #ffffff; font-size: 13px; }
.xml-formatter-pro-wrap .xfp-panel-actions { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; justify-content: flex-end; }
.xml-formatter-pro-wrap .xfp-text-btn { min-height: 30px; padding: 5px 7px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #e6e8f2; cursor: pointer; font-size: 11px; font-weight: 700; }
.xml-formatter-pro-wrap .xfp-text-btn:hover { background: rgba(45,116,149,.28); color: #ffffff; }
.xml-formatter-pro-wrap .xfp-editor { display: grid; grid-template-columns: 48px minmax(0,1fr); height: 430px; overflow: hidden; background: #080A38; }
.xml-formatter-pro-wrap .xfp-lines { margin: 0; padding: 14px 9px 14px 0; overflow: hidden; background: #0f172a; border-right: 1px solid rgba(230,232,242,.11); color: #4b5568; font: 13px/1.6 "SFMono-Regular", Consolas, "Liberation Mono", monospace; text-align: right; user-select: none; }
.xml-formatter-pro-wrap .xfp-input, .xml-formatter-pro-wrap .xfp-output, .xml-formatter-pro-wrap .xfp-highlight {
  grid-column: 2; grid-row: 1; width: 100%; height: 100%; margin: 0; border: 0; outline: 0; resize: none; tab-size: 2; white-space: pre; overflow: auto; padding: 14px; font: 13px/1.6 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.xml-formatter-pro-wrap .xfp-input, .xml-formatter-pro-wrap .xfp-output { background: transparent; color: #f4f6fb; caret-color: #72d5eb; }
.xml-formatter-pro-wrap .xfp-input::placeholder { color: #e6e8f2; opacity: .62; }
.xml-formatter-pro-wrap .xfp-highlight { pointer-events: none; color: transparent; overflow: auto; }
.xml-formatter-pro-wrap .xfp-output { color: transparent; background: transparent; }
.xml-formatter-pro-wrap .xfp-output::selection { background: rgba(45,116,149,.65); color: transparent; }
.xml-formatter-pro-wrap .xfp-highlight .xfp-decl { color: #a8e8f5; }
.xml-formatter-pro-wrap .xfp-highlight .xfp-comment { color: #9aa6bd; }
.xml-formatter-pro-wrap .xfp-highlight .xfp-cdata { color: #72d5eb; }
.xml-formatter-pro-wrap .xfp-highlight .xfp-tag { color: #80d9ec; }
.xml-formatter-pro-wrap .xfp-highlight .xfp-attr { color: #e6e8f2; }
.xml-formatter-pro-wrap .xfp-highlight .xfp-value { color: #b8ecf6; }
.xml-formatter-pro-wrap .xfp-highlight .xfp-text { color: #f4f6fb; }
.xml-formatter-pro-wrap .xfp-statusbar { display: flex; gap: 12px; flex-wrap: wrap; padding: 11px 2px 0; color: #e6e8f2; font-size: 11px; }
.xml-formatter-pro-wrap .xfp-statusbar b { color: #ffffff; font-weight: 800; }
.xml-formatter-pro-wrap .xfp-validation { color: #a8e8f5; font-weight: 700; }
.xml-formatter-pro-wrap button:focus-visible, .xml-formatter-pro-wrap select:focus-visible, .xml-formatter-pro-wrap textarea:focus-visible, .xml-formatter-pro-wrap .xfp-file-button:focus-visible { outline: 2px solid #72d5eb; outline-offset: 2px; box-shadow: 0 0 0 4px rgba(45,116,149,.3); }
@media (max-width: 1023px) {
  .xml-formatter-pro-wrap .xfp-layout { grid-template-columns: minmax(0,1fr); }
  .xml-formatter-pro-wrap .xfp-sidebar { display: none; border-right: 0; border-bottom: 1px solid rgba(230,232,242,.16); }
  .xml-formatter-pro-wrap .xfp-sidebar.is-open { display: block; }
  .xml-formatter-pro-wrap .xfp-sidebar .xfp-btn { display: inline-block; width: auto; margin: 0 7px 8px 0; text-align: center; }
}
@media (min-width: 1024px) {
  .xml-formatter-pro-wrap .xfp-sidebar-toggle { display: none; }
}
@media (max-width: 767px) {
  .xml-formatter-pro-wrap { padding: 28px 8px; }
  .xml-formatter-pro-wrap .xfp-shell { padding: 0; }
  .xml-formatter-pro-wrap .xfp-hero h1 { font-size: 32px; }
  .xml-formatter-pro-wrap .xfp-toolbar { padding: 11px; }
  .xml-formatter-pro-wrap .xfp-tool-label { width: 100%; margin-right: 0; }
  .xml-formatter-pro-wrap .xfp-panels { grid-template-columns: minmax(0,1fr); }
  .xml-formatter-pro-wrap .xfp-editors { padding: 10px; }
  .xml-formatter-pro-wrap .xfp-editor { height: 335px; }
  .xml-formatter-pro-wrap .xfp-panel-head { align-items: flex-start; }
  .xml-formatter-pro-wrap .xfp-panel-actions { max-width: 65%; }
}
@media (prefers-reduced-motion: reduce) {
  .xml-formatter-pro-wrap *, .xml-formatter-pro-wrap *::before, .xml-formatter-pro-wrap *::after { transition: none !important; scroll-behavior: auto !important; }
}