.klnpay {
  max-width: 760px;
  margin: 0 auto;
}

.klnpay h2,
.klnpay h1 {
  margin-bottom: 0.65em;
}

.klnpay-search-form {
  margin-top: 1.5rem;
}

.klnpay-field {
  margin-bottom: 1rem;
}

.klnpay-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.klnpay-field input {
  width: 100%;
  max-width: 360px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c9c9c9;
  border-radius: 3px;
  font: inherit;
}

.klnpay-date-input-wrap {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 360px;
}

.klnpay-date-input-wrap .klnpay-date-input {
  max-width: none;
}

.klnpay-date-trigger {
  flex: 0 0 auto;
  min-width: 3rem;
  padding: 0 0.8rem;
  border: 1px solid #c9c9c9;
  border-radius: 3px;
  background: #f7f7f7;
  color: #111;
  font: inherit;
  cursor: pointer;
}

.klnpay-date-trigger:hover,
.klnpay-date-trigger:focus {
  background: #ececec;
}

.klnpay-legal {
  max-width: 620px;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.klnpay-button {
  display: inline-block;
  border: 0;
  border-radius: 3px;
  padding: 0.78rem 1.2rem;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.klnpay-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.klnpay-result {
  margin-top: 1.5rem;
}

.klnpay-notice {
  padding: 0.9rem 1rem;
  border-left: 4px solid #777;
  background: #f6f6f6;
}

.klnpay-notice-error {
  border-left-color: #b00020;
}

.klnpay-notice-warning {
  border-left-color: #d98200;
}

.klnpay-payment {
  padding: 1rem;
  border: 1px solid #e1e1e1;
  background: #fff;
}

.klnpay-pay-button {
  margin-top: 0.5rem;
}

.klnpay-return {
  padding: 3rem 1rem;
}

.ui-datepicker {
  width: 18rem;
  padding: 0.5rem;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
  color: #111;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  z-index: 999999;
}

.ui-datepicker .ui-datepicker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: #111;
}

.ui-datepicker .ui-datepicker-title {
  font-weight: 700;
  color: #111;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 4px;
  background: #f3f4f6;
  color: #111;
  cursor: pointer;
  text-decoration: none;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover,
.ui-datepicker .ui-datepicker-prev:focus,
.ui-datepicker .ui-datepicker-next:focus {
  background: #e5e7eb;
  color: #111;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  color: #111;
}

.ui-datepicker select {
  background: #fff;
  color: #111;
  border: 1px solid #cfd4da;
}

.ui-datepicker table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  color: #111;
}

.ui-datepicker thead,
.ui-datepicker tbody,
.ui-datepicker tr,
.ui-datepicker th,
.ui-datepicker td {
  padding: 0.2rem;
  text-align: center;
  color: #111;
  background: #fff;
}

.ui-datepicker th {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4b5563;
}

.ui-datepicker td a,
.ui-datepicker td span {
  display: block;
  padding: 0.35rem 0;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  color: #111;
  line-height: 1.2;
  background: #fff;
}

.ui-datepicker .ui-datepicker-calendar td {
  color: #111;
  vertical-align: middle;
}

.ui-datepicker .ui-datepicker-calendar td a {
  color: #111;
  background: #fff;
}

.ui-datepicker .ui-datepicker-calendar td span {
  color: #9ca3af;
  background: #f9fafb;
}

.ui-datepicker td a:hover,
.ui-datepicker .ui-state-active {
  background: #111;
  color: #fff;
}

.ui-datepicker .ui-state-highlight {
  border-color: #c8d7ff;
  background: #edf3ff;
  color: #0f172a;
}

.ui-datepicker .ui-state-default.ui-state-active,
.ui-datepicker .ui-datepicker-current-day a {
  border-color: #111;
  background: #111;
  color: #fff;
}

.ui-datepicker .ui-datepicker-buttonpane {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.ui-datepicker .ui-datepicker-buttonpane button {
  border: 1px solid #cfd4da;
  border-radius: 4px;
  background: #f8fafc;
  color: #111;
}
