#ocena-naruszenia-enisa-root {
  font-family: 'Inter', 'Aptos', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: #161616;
  background: #f7faff;
  padding: 24px;
  max-width: 930px;
  margin: 0 auto 44px auto;
}

.ocena-enisa-form h2 {
  font-size: 1.14em;
  color: #1b2438;
  margin: 30px 0 10px 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.fieldset {
  background: #fff;
  padding: 14px 17px 9px 17px;
  border-radius: 14px;
  box-shadow: 0 2px 16px #bed0f91c;
  margin-bottom: 17px;
  margin-top: 8px;
  border: none;
}

input[type="text"], input[type="date"], textarea {
  font-size: 1em;
  padding: 7px 10px;
  border-radius: 7px;
  border: 1px solid #b6c2e1;
  margin-top: 4px;
  width: 99%;
  background: #f7fbff;
  margin-bottom: 7px;
  resize: vertical;
  box-sizing: border-box;
  transition: border .15s;
}
input[type="text"]:focus, input[type="date"]:focus, textarea:focus {
  border-color: #2563eb;
  outline: none;
}
textarea {
  min-height: 56px;
  max-height: 240px;
}

input[type="number"] {
  width: 70px;
  border-radius: 7px;
  border: 1px solid #cbd5e1;
  padding: 5px 7px;
  background: #f9fbff;
}

.checkbox-groups {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.checkbox-group {
  flex: 1 1 200px;
  min-width: 180px;
  margin-bottom: 6px;
}
.checkbox-group-title {
  font-size: .99em;
  color: #676d88;
  margin-bottom: 7px;
  font-weight: 600;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 4px;
  font-size: 0.99em;
}
.radio-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 0.99em;
}
.radio-row input[type="radio"] {
  margin-top: 3px;
}

.suggestion {
  margin-top: 7px;
  font-size: .98em;
  color: #2563eb;
}

.sticky-widget {
  position: fixed;
  right: 38px;
  top: 86px;
  background: linear-gradient(120deg,#f7fbff 90%,#e7efff 100%);
  border-radius: 22px;
  box-shadow: 0 6px 38px #2563eb1a, 0 1.5px 10px #2563eb0a;
  padding: 24px 28px 22px 28px;
  z-index: 1100;
  width: 176px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 9px solid #2563eb22;
  transition: box-shadow .14s;
}
.sticky-score-outer {
  position: relative;
  width: 120px;
  height: 120px;
}
.sticky-score-outer svg {
  width: 120px;
  height: 120px;
  display: block;
}
.sticky-score-inner {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 2.25em;
  font-weight: 800;
  color: #18181b;
  letter-spacing: -.01em;
  text-shadow: 0 2px 12px #fff7, 0 1px 0px #e7e7eb;
}
.sticky-desc {
  font-size: .97em;
  color: #475166;
  margin-top: 12px;
  text-align: center;
  line-height: 1.2;
  min-height: 60px;
}
.sticky-widget.low { border-left: 8px solid #38d39f; }
.sticky-widget.medium { border-left: 8px solid #fbbf24; }
.sticky-widget.high { border-left: 8px solid #f97316; }
.sticky-widget.veryhigh { border-left: 8px solid #ef4444; }

.btn {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 27px;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: background .16s, box-shadow .14s;
  margin-top: 13px;
  box-shadow: 0 2px 8px #2563eb16;
  font-family: 'Aptos', 'Inter', 'Segoe UI', Arial, sans-serif;
  position: relative;
}
.btn[disabled], .btn[style*="pointer-events:none"] {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
}
.btn:hover:not([disabled]) {
  background: #15319b;
}

.btn-delete {
  background: #e53e3e;
  color: #fff;
  margin-left: 8px;
  margin-top: 7px;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: background .16s, box-shadow .14s;
  box-shadow: 0 2px 8px #e53e3e16;
  border: none;
  display: inline-block;
}
.btn-delete:hover {
  background: #be2525;
}

.waga {
  color: #64748b;
  font-weight: bold;
  font-size: 1em;
  margin-left: 5px;
}
.wzor-box {
  border-left: 5px solid #2563eb;
  background: #eef5ff;
  padding: 16px 18px;
  border-radius: 18px;
  margin-bottom: 18px;
  margin-top: 26px;
  box-shadow: 0 1.5px 8px #bdd3ff24;
}

.spinner {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}
.spinner svg {
  width: 20px; height: 20px;
  display: inline-block;
  animation: spinner-rotate 0.7s linear infinite;
}
@keyframes spinner-rotate { 100% { transform: rotate(360deg); } }

@media (max-width: 1200px) {
  .sticky-widget {
    right: 0;
    top: unset;
    bottom: 18px;
    position: fixed;
    left: 0;
    margin: 0 auto;
    box-shadow: 0 6px 38px #2563eb13;
  }
}

@media (max-width: 800px) {
  #ocena-naruszenia-enisa-root {
    max-width: 100vw;
    padding: 4vw 2vw 45vw 2vw;
  }
  .sticky-widget {
    position: static;
    margin: 19px auto 18px auto;
    border-radius: 24px;
    left: 0;
    right: 0;
    width: 96vw;
    min-width: unset;
    max-width: 97vw;
    box-shadow: 0 2px 24px #00295c18;
  }
  .checkbox-groups {
    flex-direction: column;
    gap: 7px;
  }
  .checkbox-group { min-width: unset; }
  .fieldset {
    padding: 9px 8px 7px 8px;
  }
}

::-webkit-input-placeholder { color:#a1a1aa; }
::-moz-placeholder { color:#a1a1aa; }
:-ms-input-placeholder { color:#a1a1aa; }
::placeholder { color:#a1a1aa; }
