/**
 * Hybrid date: type text for manual entry + calendar button (native picker).
 */
.v1-date-field {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.v1-date-field__text {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 10px 0 0 10px !important;
  margin: 0 !important;
}

.v1-date-field__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0 10px;
  border: 1px solid #dbe3ef;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.v1-date-field__btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.v1-date-field__btn:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 1px;
}

.v1-date-field__native {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  padding: 0;
  margin: 0;
  border: 0;
}

.siv-edit-form .v1-date-field__text,
.siv-edit-form .v1-date-field__btn {
  font-size: 0.875rem;
}

.siv-edit-form .v1-date-field__text {
  border-radius: 8px 0 0 8px !important;
}

.siv-edit-form .v1-date-field__btn {
  border-radius: 0 8px 8px 0;
  border-color: #cbd5e1;
}

.sales-consign-detail-wrap .v1-date-field__text {
  border-radius: 10px 0 0 10px !important;
}

.sales-consign-detail-wrap .v1-date-field__btn {
  border-radius: 0 10px 10px 0;
}
