/* Volumetric weight calculator design */
.vwcalc-section {
  padding: 58px 0 44px;
  background: #f4f8fc;
  overflow: hidden;
}

.vwcalc-section .container-fluid {
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: 0 20px;
}

.vwcalc-title-wrap {
  margin-bottom: 44px;
}

.vwcalc-title {
  margin: 0;
  color: #111;
  font-size: clamp(2.5rem, 6vw, 5.9rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.96;
}

.vwcalc-title span:first-child {
  font-weight: 500;
}

.vwcalc-gradient-text {
  display: inline-block;
  margin-left: 10px;
  background: linear-gradient(90deg, #049134 0%, #000000 55%, #198754 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vwcalc-subtitle {
  max-width: 850px;
  margin: 18px 0 0;
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.7;
}

.vwcalc-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(390px, 1fr);
  min-height: 382px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
}

.vwcalc-input-panel {
  padding: clamp(28px, 4vw, 76px);
}

.vwcalc-panel-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.vwcalc-panel-heading .kyc-doc-svg {
  width: 58px;
  height: 58px;
  margin: 0;
}

.vwcalc-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #243449;
  font-size: 1.02rem;
  font-weight: 500;
}

.vwcalc-panel-heading h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 700;
}

.vwcalc-form {
  margin: 0;
}

.vwcalc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 26px 54px;
}

.vwcalc-field label {
  display: block;
  margin-bottom: 10px;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
}

.vwcalc-input-group {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
}

.vwcalc-input-group input,
.vwcalc-field input,
.vwcalc-field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  padding: 0 22px;
  font-size: 1.05rem;
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.vwcalc-input-group input {
  min-width: 0;
  border: 0;
  border-radius: 0;
}

.vwcalc-input-group input:focus,
.vwcalc-field input:focus,
.vwcalc-field select:focus {
  border-color: #6a5cff;
  box-shadow: 0 0 0 4px rgba(106, 92, 255, 0.12);
}

.vwcalc-input-group input:focus {
  box-shadow: none;
}

.vwcalc-unit-label {
  display: inline-flex;
  min-width: 74px;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #e5e7eb;
  background: #f3f6fb;
  color: #94a3b8;
  font-size: 1rem;
  font-weight: 700;
}

.vwcalc-actions {
  display: flex;
  align-items: center;
  gap: 52px;
  margin-top: 44px;
}

.vwcalc-primary-btn {
  min-width: 300px;
  min-height: 76px;
  border: 0;
  border-radius: 8px;
  background: #100a60;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 500;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.vwcalc-primary-btn:hover {
  transform: translateY(-3px);
  background: #170f7c;
  box-shadow: 0 18px 34px rgba(16, 10, 96, 0.22);
}

.vwcalc-reset-btn {
  min-height: 48px;
  border: 0;
  border-bottom: 1px dashed #777;
  background: transparent;
  color: #777;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.vwcalc-reset-btn:hover {
  color: #111827;
}

.vwcalc-formula {
  margin: 28px 0 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.65;
}

.vwcalc-result-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 382px;
  padding: 54px 48px;
  background: linear-gradient(125deg, #000000 0%, #198754 50%, #085a3c 100%);
  color: #ffffff;
}

.vwcalc-result-inner {
  width: min(100%, 442px);
}

.vwcalc-result-label {
  display: block;
  margin-bottom: 42px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
}

.vwcalc-main-result {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.vwcalc-main-result span {
  font-size: clamp(3rem, 5vw, 5.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.vwcalc-main-result small {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.35rem;
  font-weight: 700;
}

.vwcalc-result-line {
  height: 1px;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.34);
}

.vwcalc-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vwcalc-result-grid div {
  min-height: 112px;
  padding: 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.vwcalc-result-grid strong,
.vwcalc-result-grid span,
.vwcalc-result-grid small {
  display: block;
}

.vwcalc-result-grid strong {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.vwcalc-result-grid span {
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 800;
}

.vwcalc-result-grid small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.vwcalc-result-note {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.94rem;
  line-height: 1.65;
}

@media (max-width: 1199px) {
  .vwcalc-card {
    grid-template-columns: 1fr;
  }

  .vwcalc-result-panel {
    min-height: auto;
  }
}

@media (max-width: 991px) {
  .vwcalc-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 22px;
  }

  .vwcalc-actions {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .vwcalc-section .container-fluid {
    padding: 0 14px;
  }

  .vwcalc-title {
    letter-spacing: -0.055em;
  }

  .vwcalc-gradient-text {
    display: block;
    margin-left: 0;
  }

  .vwcalc-card {
    border-radius: 22px;
  }

  .vwcalc-input-panel,
  .vwcalc-result-panel {
    padding: 28px 20px;
  }

  .vwcalc-grid,
  .vwcalc-result-grid {
    grid-template-columns: 1fr;
  }

  .vwcalc-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .vwcalc-primary-btn {
    min-width: 100%;
    min-height: 60px;
  }

  .vwcalc-reset-btn {
    align-self: flex-start;
  }
}
