body {
  margin: 0;
  padding: 0;
  background-color: #f1f1f1 !important;
}

/* CALCULATORS bar !!!!! */
.hdr6 {
  padding-right: 22px !important;
}

.titli_pw {
  margin: 8px 0 16px;
}

.titli_pw h1 {
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  text-shadow: 1px 1px 1px white;
  filter: drop-shadow(4px 4px 10px #057);
  padding: 0 4px;
}

.titli_pw img {
  filter: drop-shadow(1px 1px 1px black);
}


.ttle {
  display: flex;
  flex-wrap: wrap;
}

.ttle .l2 {
  display: flex;
  place-items: center;
  justify-content: center;
}

.ttle .l10 {
  display: flex;
  place-items: center;
  justify-content: center;
}

.ttle h3 {
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  text-shadow: #057 0 0 16px;
}

.image-iframe {
  max-width: 80px;
  height: auto;
  filter: drop-shadow(1px 1px 1px #666);
}

/* ------ */
.calculator-battery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.calculator-battery .titli_pw {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 10px;
  padding: 10px;
}

.calculator-battery .titli_pw h2 {
  font-weight: 600;
  text-shadow: 1px 1px 1px white;
  filter: drop-shadow(4px 4px 10px #057);
  font-size: 28px;
  margin: 20px 0;
}

.calculator-battery h3.description {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.6;
  color: #333;
  text-align: justify;
  padding: 0 10px;
}

.calculator-battery h4 {
  color: #057;
  font-size: 20px;
  margin: 20px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #057;
}

.calculator-battery h5 {
  color: #057;
  font-size: 16px;
  margin: 10px 0;
  font-weight: 600;
}

.calculator-battery hr {
  border: 1px solid #057;
  margin: 30px 0;
}

.calculator-battery .tabl_1,
.calculator-battery .tabl_2 {
  width: 100%;
  border-collapse: collapse;
}

.calculator-battery .tabl_1 td,
.calculator-battery .tabl_2 td {
  padding: 10px 5px;
}

.calculator-battery .td_1 {
  width: 55%;
}

.calculator-battery .td_2 {
  width: 20%;
}

.calculator-battery .td_3 {
  width: 25%;
}

.calculator-battery .tabl_21 {
  width: 60%;
}

.calculator-battery .tabl_22 {
  width: 40%;
}

.calculator-battery .tabl_23 {
  font-style: italic;
  font-weight: 600;
  padding: 8px 0;
}

.calculator-battery input,
.calculator-battery select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.calculator-battery input:focus,
.calculator-battery select:focus {
  outline: none;
  border-color: #057;
  box-shadow: 0 0 5px #057;
}

.calculator-battery .estimated-result {
  font-weight: 600;
  color: #057;
  font-size: 18px;
  margin-left: 10px;
}

.calculator-battery .result-value {
  font-weight: 600;
  color: #057;
  font-size: 16px;
  background-color: #f0f8ff;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
}

.calculator-battery .pidcym td {
  font-weight: 600;
  font-style: italic;
  padding: 15px 0;
  background-color: #e3f2fd;
}

.calculator-battery .button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.calculator-battery .button.teal {
  background-color: #057;
  color: white;
}

.calculator-battery .button.teal:hover {
  background-color: #046;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 85, 119, 0.3);
}

.calculator-battery .button.border {
  border: 1px solid #057;
  background-color: transparent;
  color: #057;
}

.calculator-battery .button.border:hover {
  background-color: #057;
  color: white;
}

.calculator-battery .battery-visual {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.calculator-battery .info-text {
  background-color: #e8f4f8;
  border-left: 4px solid #057;
  padding: 20px;
  margin: 20px 0;
  border-radius: 0 10px 10px 0;
}

.calculator-battery .info-text p {
  margin: 10px 0;
  line-height: 1.6;
  color: #333;
}

.calculator-battery .note {
  font-style: italic;
  color: #666;
  font-size: 14px;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 5px;
}

.calculator-battery ul {
  padding-left: 20px;
}

.calculator-battery ul li {
  margin: 8px 0;
  color: #333;
}

@media screen and (max-width: 768px) {
  .calculator-battery .row {
    flex-direction: column;
  }

  .calculator-battery .half {
    width: 100%;
    margin-bottom: 20px;
  }

  .calculator-battery .titli_pw h2 {
    font-size: 22px;
  }

  .calculator-battery .tabl_1 td,
  .calculator-battery .tabl_2 td {
    display: block;
    width: 100%;
    padding: 5px 0;
  }

  .calculator-battery .td_1,
  .calculator-battery .td_2,
  .calculator-battery .td_3 {
    width: 100%;
  }

  .calculator-battery .button {
    width: 100%;
    margin: 5px 0;
  }
}

@media screen and (max-width: 480px) {
  .calculator-battery {
    padding: 10px;
  }

  .calculator-battery h4 {
    font-size: 18px;
  }

  .calculator-battery .estimated-result {
    font-size: 16px;
  }
}

/* Прогрес-бар */
.progress-bar {
  transition: width 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 5px black;
  font-size: 14px;
}

.calculator-battery .monospace {
  font-family: 'Courier New', Courier, monospace;
  text-align: justify;
  font-weight: 600;
}