.cat2{
    padding-left: 20px !important;
}

.cat3{
    padding-left: 40px !important;
}

#scrollbar {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 0%;
    height: 5px;
    z-index: 9999;
}

#scrollbar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #E16036;
}

.article-body pre {
  background: linear-gradient(135deg, #082f49 0%, #064e3b 100%);
  color: #f8fafc;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 14px;
  overflow-x: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(8, 47, 73, 0.16);
}

.article-body pre code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  background: transparent;
  color: inherit;
  padding: 0;
  white-space: pre;
}

.article-body p code,
.article-body li code {
  background: #ecfdf5;
  color: #065f46;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  border: 1px solid #a7f3d0;
}

/* Calculator box */
.article-body .rent-calculator {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

/* Field wrapper */
.article-body .rent-calculator__field {
  margin-bottom: 1rem;
}

/* Labels */
.article-body .rent-calculator label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

/* Inputs */
.article-body .rent-calculator input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-body .rent-calculator input::placeholder {
  color: #94a3b8;
}

.article-body .rent-calculator input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.14);
}

/* Remove number spinner in Chrome, Safari, Edge */
.article-body .rent-calculator input[type="number"]::-webkit-inner-spin-button,
.article-body .rent-calculator input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Remove number spinner in Firefox */
.article-body .rent-calculator input[type="number"] {
  -moz-appearance: textfield;
}

/* Button */
.article-body .rent-calculator button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.25rem;
  margin-top: 0.5rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #082f49 0%, #064e3b 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 22px rgba(8, 47, 73, 0.18);
}

.article-body .rent-calculator button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(8, 47, 73, 0.24);
}

.article-body .rent-calculator button:active {
  transform: translateY(0);
  opacity: 0.92;
}

/* Result */
.article-body .rent-calculator #result {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 700;
}

/* Hide empty result spacing */
.article-body .rent-calculator #result:empty {
  display: none;
}

/* Responsive */
@media (max-width: 640px) {
  .article-body .rent-calculator {
    padding: 1.1rem;
    border-radius: 14px;
  }

  .article-body .rent-calculator input,
  .article-body .rent-calculator button {
    font-size: 0.95rem;
  }
}