.calculator-layout .form-box::before {
  right: .25rem;
}

.calculator-layout .form-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.calculator-layout .form-row:last-child {
  margin-bottom: 0;
}

.calculator-layout .form-group {
  min-width: 0;
}

.date-picker-group,
.date-dropdowns > div {
  min-width: 0;
}

.date-dropdowns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.date-picker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: .75rem;
}

.date-dropdowns select,
.date-today {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: .75rem .5rem;
  border: 2px solid #f3c6d6;
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #2d1b3d);
  font: inherit;
  font-size: 1rem;
}

.date-dropdowns select:focus-visible,
.date-today:focus-visible {
  outline: 2px solid var(--pink, #ff6b9d);
  outline-offset: 2px;
}

.date-today {
  width: auto;
  padding-inline: .65rem;
  color: #a54467;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}

.date-today:hover {
  background: #fff0f5;
}

#calcBtn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}

@media (max-width: 600px) {
  .date-dropdowns,
  .date-picker-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .date-today {
    justify-self: end;
    min-height: 44px;
  }
}
