/*
 * Phone field (rq-phone-input.js).
 * The country control, suggestions, and list are buttons. Kit and portal
 * button rules would paint them as primary CTAs, so those are reset here.
 */

.rqp-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.rqp-wrap > input {
  width: 100%;
  box-sizing: border-box;
}

body.elementor-kit-6 button.rqp-cc,
#page.sales_panel button.rqp-cc,
button.rqp-cc {
  position: absolute !important;
  top: 1px !important;
  bottom: 1px !important;
  left: 1px !important;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 0.55rem 0 0.7rem !important;
  border: 0 !important;
  border-right: 1px solid var(--rq-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--rq-foreground) !important;
  font-family: var(--rq-font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer;
}

body.elementor-kit-6 button.rqp-cc:hover,
body.elementor-kit-6 button.rqp-cc:focus,
#page.sales_panel button.rqp-cc:hover,
#page.sales_panel button.rqp-cc:focus,
button.rqp-cc:hover,
button.rqp-cc:focus {
  background: color-mix(in oklab, var(--rq-muted) 55%, transparent) !important;
  background-image: none !important;
  color: var(--rq-foreground) !important;
  box-shadow: none !important;
  filter: none;
}

button.rqp-cc:focus-visible {
  outline: 2px solid var(--rq-ring);
  outline-offset: -3px;
}

.rqp-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.rqp-code {
  color: var(--rq-muted-foreground);
  font-variant-numeric: tabular-nums;
}

.rqp-caret {
  color: var(--rq-muted-foreground);
  font-size: 0.65em;
}

.rqp-wrap.rqp-bad > input {
  border-color: var(--rq-destructive) !important;
}

.rqp-wrap.rqp-ask > input {
  border-color: var(--rq-signal) !important;
}

.rqp-msg {
  margin: 0.35rem 0 0;
  font-family: var(--rq-font-body);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--rq-muted-foreground);
}

.rqp-msg:empty {
  display: none;
}

.rqp-msg.rqp-bad {
  color: var(--rq-destructive);
}

.rqp-msg.rqp-ok {
  color: oklch(0.45 0.12 155);
}

body.elementor-kit-6 .rqp-msg button,
#page.sales_panel .rqp-msg button,
.rqp-msg button {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 0 0.3em !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
  letter-spacing: 0 !important;
  text-decoration: underline;
  text-transform: none !important;
  cursor: pointer;
}

.rqp-choice {
  margin: 0.5rem 0 0;
  padding: 0.75rem;
  border: 1px solid var(--rq-border);
  border-radius: var(--rq-radius-brand);
  background: var(--rq-card);
  color: var(--rq-foreground);
  font-family: var(--rq-font-body);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.rqp-choice[hidden] {
  display: none;
}

.rqp-choice p {
  margin: 0 0 0.5rem;
  color: var(--rq-muted-foreground);
}

.rqp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

body.elementor-kit-6 button.rqp-chip,
#page.sales_panel button.rqp-chip,
button.rqp-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0.35rem 0.7rem !important;
  border: 1px solid var(--rq-border) !important;
  border-radius: 999px !important;
  background: var(--rq-background) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--rq-foreground) !important;
  font-family: var(--rq-font-body) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  cursor: pointer;
}

body.elementor-kit-6 button.rqp-chip:hover,
body.elementor-kit-6 button.rqp-chip:focus,
#page.sales_panel button.rqp-chip:hover,
#page.sales_panel button.rqp-chip:focus,
button.rqp-chip:hover,
button.rqp-chip:focus {
  border-color: var(--rq-primary) !important;
  background: var(--rq-card) !important;
  background-image: none !important;
  color: var(--rq-foreground) !important;
  box-shadow: none !important;
  filter: none;
}

button.rqp-chip:focus-visible {
  outline: 2px solid var(--rq-ring);
  outline-offset: 2px;
}

.rqp-chip small {
  color: var(--rq-muted-foreground);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

button.rqp-chip.rqp-more {
  color: var(--rq-primary) !important;
}

.rqp-dd {
  position: fixed;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  width: 20rem;
  max-width: calc(100vw - 1rem);
  max-height: 20rem;
  overflow: hidden;
  border: 1px solid var(--rq-border);
  border-radius: var(--rq-radius-brand);
  background: var(--rq-popover);
  color: var(--rq-popover-foreground);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  font-family: var(--rq-font-body);
  font-size: 0.875rem;
}

.rqp-dd[hidden] {
  display: none;
}

.rqp-dd input {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0.6rem 0.75rem;
  border: 0;
  border-bottom: 1px solid var(--rq-border);
  border-radius: 0;
  background: var(--rq-background);
  color: var(--rq-foreground);
  font: inherit;
  outline: none;
  box-shadow: none;
}

.rqp-dd ul {
  margin: 0;
  padding: 0.25rem 0;
  overflow-y: auto;
  list-style: none;
}

.rqp-dd li {
  margin: 0;
  padding: 0;
}

.rqp-dd .rqp-grp {
  padding: 0.5rem 0.75rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rq-muted-foreground);
}

body.elementor-kit-6 .rqp-dd li button,
#page.sales_panel .rqp-dd li button,
.rqp-dd li button {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0.45rem 0.75rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--rq-foreground) !important;
  font-family: var(--rq-font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  cursor: pointer;
}

body.elementor-kit-6 .rqp-dd li button:hover,
body.elementor-kit-6 .rqp-dd li button:focus,
#page.sales_panel .rqp-dd li button:hover,
#page.sales_panel .rqp-dd li button:focus,
.rqp-dd li button:hover,
.rqp-dd li button:focus {
  background: var(--rq-surface-blue) !important;
  background-image: none !important;
  color: var(--rq-foreground) !important;
  box-shadow: none !important;
  outline: none;
  filter: none;
}

.rqp-dd li button small {
  margin-left: auto;
  color: var(--rq-muted-foreground);
  font-variant-numeric: tabular-nums;
}
