@container (min-width: 1025px) {
  .pricing-template-inner {
    grid-template-columns: 300px 1fr;
    display: grid;
    gap: var(--block-space-sm);
  }
}

.table-wrap {
  overflow: auto;
  margin-bottom: var(--block-space-sm);
}

.table {
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--neutral-300);
  overflow: hidden;

  .muted-text{
    display: block;
  }
}

.table th,
.table td {
  text-align: left;
  padding: 1rem 1rem 1rem 1.2rem ;
}

.table thead th {
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--neutral-75);
  border-bottom: 1px solid var(--neutral-300);
}

.table tbody th {
  font-weight: 500;
}

.table td {
  border-bottom: 1px solid var(--neutral-300);
  /* transition: background-color 0.2s ease; */
}

.table tbody th {
  border-bottom: 1px solid var(--neutral-300);
}

.table tbody tr:last-child td,
.table tbody tr:last-child th {
  border-bottom: none;
}

.table .price {
  font-weight: 600;

}

.table .notes {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

.page-content-section {
  margin-block: var(--block-space-sm);
}

.disks-container-wrap {
  display: grid;
  gap: 1rem;
  padding: 24px;
}

.field-group-additional-disk {
  display: flex;
  gap: 10px;

}

.cloud-calculator {
  margin-bottom: var(--block-space-sm);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--neutral-300);
  max-width: 100%;
  align-items: start;
  overflow: hidden;
  h3{
    margin-bottom: 1rem;
  }

  .additional-ips-extra{
    padding-left: 1rem;
  }

  .cloud-calculator-desc{
    font-size: 14px;
    color: var(--text-muted);
  }
 
}

.additional-ips-calc {
  font-weight: 500;
}

.calculator-actions {
  padding-top: 3rem;
  border-top: 1px solid var(--neutral-300);
}

.cloud-calculator-result {
  gap: 4px;
  grid-template-columns: 1fr 1fr;

}

.cloud-calculator-result-value-muted {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);

}

.top-row {
  border-bottom: 1px solid var(--neutral-300);
  padding: 1rem;
  background-color: var(--neutral-75);
}

.first-column {
  display: grid;
  gap: 1rem;
  padding: 24px;
}

.bottom-row {
  display: grid;


  align-items: start;
  @container (min-width: 769px) {
    grid-template-columns: repeat(2, minmax(120px, 1fr)) minmax(38%, 280px);
  }
}

.calculator-result {
  height: 100%;
  padding: 24px;

  @container (min-width: 769px) {
    border-left: 1px solid var(--neutral-300);
    padding-inline: var(--block-space-sm);
  }
}

.calc-price {
  font-weight: bold;
  font-size: 1.125rem;
}

#calculator-result-container {
  padding-bottom: 1rem;

}

.additional-disks {
  /* overflow: hidden; */

  .additional-disks-summary {
    font-weight: 500;
    cursor: pointer;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 2px;

    &:after {
      content: '';
      display: block;
      background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiM4OTg5ODkiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1jaGV2cm9uLWRvd24taWNvbiBsdWNpZGUtY2hldnJvbi1kb3duIj48cGF0aCBkPSJtNiA5IDYgNiA2LTYiLz48L3N2Zz4=");
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      margin-left: auto;
      transition: transform 0.2s ease;
    }
  }

  &[open] {
    .additional-disks-summary:after {
      transform: rotate(180deg);
    }
  }
}

details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.3s, content-visibility 0.3s;
  transition-behavior: allow-discrete;
  interpolate-size: allow-keywords;
}

details[open]::details-content {
  block-size: auto;
}

.additional-disks-summary {
  border-bottom: 1px solid var(--neutral-300);
  display: block;
}

.additional-disks-container {
  max-height: 240px;
  overflow-y: auto;
  display: grid;
  gap: 1rem;
  padding: 1rem 1.5rem 1rem 0;
  border-bottom: 1px solid var(--neutral-300);
  scrollbar-width: thin;
}

.display-items {
  border-bottom: 1px solid var(--neutral-300);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.additional-disks-count {
  color: var(--text-muted);
  font-weight: 400;
}


@keyframes price-update {
  0% {
    opacity: 0.85;
    transform: translateY(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-updated {
  animation: price-update 160ms ease-out;
}