.op-qs-customer [data-customer-results] p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 12px 14px;
  color: #526783;
  font-size: 12px;
  line-height: 1.45;
}

.op-qs-customer [data-customer-results] p b {
  color: #203a61;
  font-size: 13px;
}

.op-qs-customer [data-customer-results] button span,
.op-qs-customer [data-customer-results] button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.op-qs-customer [data-customer-results] button span {
  font-weight: 750;
  color: #18345c;
}

.op-qs-customer [data-customer-selected] span {
  gap: 8px;
}

.op-qs-customer [data-customer-selected] span > b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.op-qs-customer [data-customer-selected] span > small {
  margin-left: auto;
  white-space: nowrap;
}

.op-qs-customer [data-customer-selected] .guest {
  display: flex;
  flex-wrap: wrap;
  margin-top: 8px;
  border: 1px solid #cfe2ff;
  background: #f1f6ff;
  color: #174f9f;
}

.op-qs-customer [data-customer-selected] .guest small {
  width: 100%;
  margin: 0;
  color: #657b9c;
}

.op-qs-customer-guest {
  width: 100%;
  margin-top: 8px;
  border: 1px dashed #9db7dc;
  border-radius: 10px;
  background: #fff;
  color: #315a91;
  padding: 9px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.op-qs-customer-guest:hover {
  border-color: #2d6cdf;
  background: #f1f6ff;
  color: #1554d1;
}

.op-qs-customer {
  padding: 14px;
  border: 1px solid #dce6f4;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.op-qs-customer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.op-qs-customer-head > div {
  display: flex;
  flex-direction: column;
}

.op-qs-customer-head b {
  color: #18345c;
  font-size: 14px;
}

.op-qs-customer-head small {
  margin-top: 2px;
  color: #7b8da7;
  font-size: 10px;
}

.op-qs-customer-head > span {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.op-qs-customer-head > span.guest {
  color: #1d5a9a;
  background: #eaf3ff;
}

.op-qs-customer-head > span.registered {
  color: #08785a;
  background: #e6f8f1;
}

.op-qs-customer-search > span {
  color: #536985;
  font-size: 11px;
}

.op-qs-customer-search input {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding-left: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236d82a0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 13px center;
}

.op-qs-customer [data-customer-results] {
  top: 89px;
  overflow: hidden;
}

.op-qs-customer [data-customer-selected] {
  margin-top: 9px;
}

.op-qs-customer [data-customer-selected] .guest {
  margin-top: 0;
}

.op-qs-customer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 9px;
}

.op-qs-customer-actions > button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 58px;
  margin: 0;
  padding: 9px;
  border-radius: 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.op-qs-customer-actions > button i {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  font-style: normal;
  font-size: 15px;
}

.op-qs-customer-actions > button span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.op-qs-customer-actions > button b {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.op-qs-customer-actions > button small {
  margin-top: 3px;
  overflow: hidden;
  color: #7789a3;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.op-qs-customer-guest {
  border: 1px solid #b9cbea;
  background: #fff;
  color: #315a91;
}

.op-qs-customer-guest i {
  color: #2564c9;
  background: #eaf3ff;
}

.op-qs-customer-guest.active {
  border-color: #5e91e8;
  background: #eef5ff;
  box-shadow: 0 0 0 2px #2d6cdf14;
}

.op-qs-customer-new {
  border: 1px solid #9edec9;
  background: #f2fcf8;
  color: #08785a;
}

.op-qs-customer-new i {
  color: #08785a;
  background: #dff7ee;
  font-size: 20px !important;
}

.op-qs-customer-new:hover {
  border-color: #18a579;
  background: #e9faf4;
}

.op-qs-customer-modal {
  position: fixed;
  z-index: 8350;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #071a38a8;
  backdrop-filter: blur(5px);
}

.op-qs-customer-modal[hidden] {
  display: none;
}

.op-qs-customer-modal form {
  width: min(560px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid #dce6f4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px #00163470;
}

.op-qs-customer-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.op-qs-customer-modal header small {
  color: #1b61cd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.op-qs-customer-modal h2 {
  margin: 4px 0;
  color: #112d55;
  font-size: 23px;
}

.op-qs-customer-modal header p {
  margin: 0;
  color: #71839d;
  font-size: 12px;
}

.op-qs-customer-modal header button {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #eef3fa;
  color: #294b78;
  font-size: 24px;
  cursor: pointer;
}

.op-qs-customer-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.op-qs-customer-form-grid[hidden] {
  display: none;
}

.op-qs-customer-form-grid .wide {
  grid-column: 1 / -1;
}

.op-qs-customer-modal label {
  color: #425a7b;
  font-size: 11px;
}

.op-qs-customer-modal input,
.op-qs-customer-modal select {
  width: 100%;
  min-height: 43px;
  box-sizing: border-box;
}

.op-qs-customer-privacy {
  margin: 15px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  color: #536985;
  background: #f5f8fc;
  font-size: 11px;
}

.op-qs-customer-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}

.op-qs-customer-modal footer button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #d5deeb;
  border-radius: 11px;
  background: #fff;
  color: #405675;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.op-qs-customer-modal footer [data-customer-save] {
  border-color: #0e9f73;
  background: #0e9f73;
  color: #fff;
}

.op-qs-customer-modal footer [data-customer-save]:disabled {
  opacity: .6;
  cursor: wait;
}

@media (max-width: 1280px) {
  .op-qs-customer-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .op-qs-customer-actions,
  .op-qs-customer-form-grid {
    grid-template-columns: 1fr;
  }

  .op-qs-customer-form-grid .wide {
    grid-column: auto;
  }

  .op-qs-customer-modal form {
    padding: 18px;
  }

  .op-qs-customer-modal footer {
    flex-direction: column-reverse;
  }

  .op-qs-customer-modal footer button {
    width: 100%;
  }
}
