@import "/common/css/base.css";
@import "/common/css/shopify.css";
@import "/common/css/page.css";
@import "/common/css/avatar.css";
@import "/common/css/card.css";
@import "/common/css/masthead.css";
@import "/common/css/question-form.css";
@import "/common/css/inputs.css";
@import "/common/css/polaris-additions.css";
@import "modal.css";

html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: #f4f6f8;
  height: auto;
}

.Polaris-Subheading__Note {
  font-size: 12px;
}

.checkbox {
  appearance: none;
  background: hsl(0, 0%, 100%);
  border: 2px solid hsl(150, 10%, 69%);
  border-radius: 4px;
  box-shadow: inset 0 0 0 0 hsl(0, 0%, 100%);
  cursor: pointer;
  height: 16px;
  margin: 0;
  transition: all 200ms;
  width: 16px;
}

.checkbox:checked {
  background: hsl(230, 33%, 18%);
  border-color: hsl(230, 33%, 18%);
  box-shadow: inset 0 0 1px 2px hsl(0, 0%, 100%);
}

.radio {
  appearance: none;
  background: hsl(0, 0%, 100%);
  border: 1px solid hsl(150, 10%, 69%);
  border-radius: 7px;
  box-shadow: inset 0 0 0 0 hsl(0, 0%, 100%);
  cursor: pointer;
  grid-row: 1 / 3;
  height: 14px;
  margin: 2px 0 0;
  transition: all 250ms ease-in;
  width: 14px;
}

.radio:checked {
  background: hsl(230, 33%, 18%);
  border-color: hsl(230, 33%, 18%);
  box-shadow: inset 0 0 1px 3px hsl(0, 0%, 100%);
}

.radio-control {
  color: hsl(150, 10%, 23%);
  display: grid;
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
  gap: 8px;
  grid-template-columns: auto 1fr;
}

.radio-control__action {
  color: hsl(174, 74%, 23%);
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
}

.select-control {
  appearance: none;
  background-image: url(/common/images/icons/select-arrow-new.svg);
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 10px 7px;
  border: 1px solid hsla(150, 10%, 23%, 1);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  padding: 4px 32px 4px 12px;
}

.action {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  line-height: 17px;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  padding: 8px 16px;
}

.action--primary {
  background: hsla(230, 33%, 18%, 1);
  border-color: hsla(230, 33%, 18%, 1);
  color: hsla(0, 0%, 100%, 1);
}

.action--secondary {
  border-color: hsla(230, 33%, 18%, 1);
}

.form-label__action {
  align-items: center;
  color: hsla(230, 33%, 18%, 1);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 400;
  gap: 4px;
  line-height: 20px;
  margin: 18px 0 0;
  text-decoration: none;
}

.add-icon {
  height: 16px;
  width: 16px;
}

.country-selector {
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.country-selector__header {
  border-bottom: 1px solid #E9EDEB;
  padding: 32px 32px 24px;
}

.country-selector__title {
  color: hsla(150, 10%, 23%, 1);
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 28px;
}

.country-selector__subtitle {
  color: hsla(150, 10%, 23%, 1);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  margin: 2px 0 0;
}

.country-selector__search-control {
  padding: 24px 32px;
  position: relative;
}

.country-selector__search-icon {
  height: 20px;
  position: absolute;
  top: 32px;
  width: 20px;
}

.country-selector__search-input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #E9EDEB;
  border-radius: 0;
  box-sizing: border-box;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  padding: 10px 0 10px 36px;
  position: relative;
  transition: border-color 200ms ease-in;
  width: 100%;
}

.country-selector__search-input::placeholder {
  color: hsla(150, 10%, 69%, 1);
}

.country-selector__search-input:focus {
  outline: 0;
  border-bottom: 1px solid #35413B;
}

.country-selector__search-cancel {
  color: hsla(150, 10%, 23%, 1);
  cursor: pointer;
  height: 14px;
  position: absolute;
  right: 40px;
  top: 32px;
  width: 14px;
}

.country-selector__controls {
  display: flex;
  gap: 16px;
  padding: 0 32px;
}

.country-selector__select-control {
  color: hsla(149, 10%, 46%, 1);
  cursor: pointer;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 17px;
  text-decoration: underline;
}

.country-selector__selected-count {
  color: hsla(149, 10%, 46%, 1);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 17px;
  margin: 0 0 16px auto;
  text-align: right;
}

.country-selector__country {
  align-items: center;
  display: grid;
  grid-gap: 8px 16px;
  grid-template-columns: auto 1fr;
  padding: 8px 32px;
}

.country-selector__country.is-pill {
  align-items: center;
  background: hsl(150, 10%, 92%);
  border-radius: 8px;
  display: flex;
  gap: 4px;
  padding: 8px;
}

.country-selector__country-name {
  cursor: pointer;
  overflow: hidden;
}

.country-selector__country.is-pill .country-selector__country-name {
  cursor: default;
}

.country-selector__country-action {
  cursor: pointer;
  display: block;
  height: 9px;
  width: 9px;
}

.country-selector__countries {
  flex: 1 1 64px;
  overflow-y: scroll;
  overscroll-behavior: contain;
  padding: 8px 0 16px;
}

.country-selector__countries.is-inline {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  max-height: 340px;
}

.product-selector__actions {
  align-items: center;
  border-top: 1px solid #E9EDEB;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding: 32px 24px;
}
