.keyboard-date-control {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}

.keyboard-date-entry {
  min-width: 0;
  width: 100%;
}

.keyboard-date-button {
  display: inline-flex;
  min-height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7dddc;
  border-radius: 0.75rem;
  background: #fff;
  color: #2d7d83;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.keyboard-date-button:hover {
  border-color: #2d7d83;
  background: #e8f2f2;
}

.keyboard-date-button:focus-visible {
  border-color: #2d7d83;
  box-shadow: 0 0 0 3px rgba(45, 125, 131, 0.14);
  outline: none;
}

.keyboard-date-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.keyboard-date-button svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.keyboard-date-native {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 480px) {
  .keyboard-date-control {
    gap: 0.375rem;
  }
}
