.container {
  .input {
    width: 100%;
    height: 32px;
    padding-left: 44px;
    background-color: $white;
    border: 1px solid $catskill-white;
    border-radius: 3px;
    font-size: 14px;
    font-family: Avenir, AvenirWeb, sans-serif;
    &:focus {
      border: 1px solid $viking;
    }
    &::placeholder {
      color: $gray;
    }
  }
  .countryFlagContainer {
    margin: 1px 0 1px 1px;
    background-color: $white;
    border: none;
    border-right: 1px solid $catskill-white;
    border-radius: 2px 0 0 2px !important;
    cursor: unset !important;
    :global {
      [class='flag 0'] {
        height: 12px;
        margin-top: -6px !important;
        background: url("../../images/country-flag-placeholder.png") no-repeat;
        background-size: contain;
      }
      .selected-flag {
        width: 32px;
        background: none;
        border-radius: 2px 0 0 2px !important;
      }
    }
  }
  &.withError {
    .label {
      color: $sunset-orange;
    }
    .input {
      border: 1px solid $sunset-orange;
    }
  }
}
