body.ua-p-wizard-network .content-wrapper {
  width: 100%;
  max-width: none;
}

body.ua-p-wizard-network .content-header {
  padding: 12px 18px 8px;
}

body.ua-p-wizard-network .content-header h1 {
  margin: 0 0 3px;
}

body.ua-p-wizard-network .content-header p {
  margin: 0;
  font-size: 10px;
}

body.ua-p-wizard-network section.content {
  padding: 8px 18px 18px;
}

body.ua-p-wizard-network .box {
  margin-bottom: 10px;
}

body.ua-p-wizard-network .box-header {
  min-height: 42px;
  padding: 10px 13px;
}

body.ua-p-wizard-network .box-body {
  padding: 12px;
}

body.ua-p-wizard-network :is(.wn-template-form,.wn-diagnose-form,.wn-ping-form,.wn-transit-form) {
  display: grid;
  align-items: end;
  gap: 8px;
  width: 100%;
}

body.ua-p-wizard-network .wn-template-form {
  grid-template-columns: minmax(260px, 520px) auto;
  justify-content: start;
}

body.ua-p-wizard-network .wn-diagnose-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.ua-p-wizard-network .wn-ping-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.ua-p-wizard-network .wn-transit-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.ua-p-wizard-network :is(.wn-template-form,.wn-diagnose-form,.wn-ping-form,.wn-transit-form) .form-group {
  min-width: 0;
  width: auto !important;
  margin: 0;
}

body.ua-p-wizard-network :is(.wn-template-form,.wn-diagnose-form,.wn-ping-form,.wn-transit-form) label {
  display: block;
  min-width: 0;
  margin: 0 0 4px !important;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.ua-p-wizard-network :is(.wn-template-form,.wn-diagnose-form,.wn-ping-form,.wn-transit-form) :is(input,select) {
  width: 100% !important;
  height: 38px;
  min-height: 38px !important;
  padding: 0 9px;
}

body.ua-p-wizard-network :is(.wn-template-form,.wn-diagnose-form,.wn-ping-form,.wn-transit-form) > .btn {
  min-height: 38px;
  margin: 0;
  white-space: nowrap;
}

body.ua-p-wizard-network :is(.wn-diagnose-form,.wn-ping-form,.wn-transit-form) > .btn {
  grid-column: 1 / -1;
}

body.ua-p-wizard-network .wn-apply-form > .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 8px;
}

body.ua-p-wizard-network .wn-apply-form > .row > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
}

body.ua-p-wizard-network .wn-apply-form .form-group {
  margin: 0;
}

body.ua-p-wizard-network .wn-apply-form label {
  display: block;
  margin: 0 0 4px;
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.ua-p-wizard-network .wn-apply-form :is(input,select) {
  width: 100%;
  height: 38px;
  min-height: 38px !important;
}

body.ua-p-wizard-network .callout,
body.ua-p-wizard-network .alert {
  margin-bottom: 8px;
  padding: 9px 11px;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  body.ua-p-wizard-network .wn-diagnose-form,
  body.ua-p-wizard-network .wn-apply-form > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.ua-p-wizard-network :is(.wn-template-form,.wn-diagnose-form,.wn-ping-form,.wn-transit-form),
  body.ua-p-wizard-network .wn-apply-form > .row {
    grid-template-columns: 1fr;
  }
}
