.wws-popup-container * {
  box-sizing: border-box;
}

.wws-popup {
  display: none;
  max-width: 320px;
  width: 100%;
}

.wws-popup-container {
  width: auto;
  position: fixed;
  z-index: 9999999;
}

/** Close btn **/
.wws-popup__close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  float: right;
  text-align: center;
  vertical-align: middle;
  line-height: 32px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.wws-popup__close-btn svg {
  width: 16px;
  height: 16px;
}

/** Support **/
.wws-popup__support-wrapper {
  margin-top: 8px;
  border-radius: 8px 8px 0 0;
}

.wws-popup__support {
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.wws-popup__support-about {
  text-align: center;
  padding: 18px 12px;
  line-height: 22px;
  -webkit-user-select: none;
  user-select: none;
}

/** Support persons  */
.wws-popup__support-person-container {
  background-color: #fff;
  border-radius: 0 0 8px 8px;
}

.wws-popup__support-person-wrapper {
  padding: 18px 12px;
  border-radius: 0 0 8px 8px;
  min-height: 100px;
  max-height: 237px;
  overflow-y: scroll;
}

.wws-popup__support-person-link {
  text-decoration: none !important;
  color: transparent !important;
  background-color: transparent !important;
}

.wws-popup__support-person {
  display: flex;
  border-bottom: 1px solid #f5f5f5;
  padding-top: 6px;
  padding-bottom: 6px;
  cursor: pointer;
}

.wws-popup__support-person:not([data-wws-multi-support-person-id]) {
  cursor: not-allowed;
}

.wws-popup__support-person:hover {
  background-color: #f5f5f5;
  border-radius: 8px;
}

.wws-popup__support-person-img-wrapper {
  width: 54px;
  height: 54px;
  overflow: hidden;
  position: relative;
  margin-right: 14px;
}

.wws-popup__support-person-img {
  width: auto;
  height: 100%;
  display: block;
  margin: 0 auto;
}

.wws-popup__support-person-info-wrapper {
  margin-left: 2px;
}

.wws-popup__support-person-title {
  color: #777;
  font-size: 14px;
  line-height: 16px;
}

.wws-popup__support-person-name {
  color: #444;
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
}

.wws-popup__support-person-status {
  font-size: 12px;
  font-weight: 400;
  color: #999;
  margin-top: 4px;
  line-height: 18px;
}

.wws-popup__support-person-available, .wws-popup__support-person-away {
  width: 10px;
  height: 10px;
  position: absolute;
  z-index: 999999;
  bottom: 3px;
  right: 3px;
  border-radius: 50%;
}

.wws-popup__support-person-available {
  background-color: #00c853;
}

.wws-popup__support-person-away {
  background-color: #ffd600;
}

/* Let's get this party started */
.wws-popup__support-person-wrapper::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.wws-popup__support-person-wrapper::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 0;
}

/* Handle */
.wws-popup__support-person-wrapper::-webkit-scrollbar-thumb {
  border-radius: 0;
  background: rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.wws-popup__support-person-wrapper::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(0, 0, 0, 0.3);
}

.wws-popup__support-person-form {
  padding: 18px 12px;
  display: none; /* Delete */
}

.wws-popup__fields_wrapper {
  background-color: #fff;
  padding: 16px 12px;
}

.wws-popup__fields {
  margin-top: 10px;
}

input.wws-popup__fields-number {
  width: 100% !important;
  padding: 8px !important;
  border-radius: 4px !important;
  border: 1px solid #ccc !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  height: 46px !important;
}

input.wws-popup__fields-number::-webkit-input-placeholder {
  color: #888FBB !important;
}

.wws-popup__fields-textarea-wrapper {
  border: 1px solid #ccc !important;
  border-radius: 4px;
  margin: 10px 0;
  position: relative;
}

textarea.wws-popup__fields-textarea {
  background-color: transparent !important;
  outline: none !important;
  resize: none !important;
  box-shadow: none !important;
  border: none !important;
  width: 100% !important;
  height: 100px !important;
  padding: 8px !important;
}

textarea.wws-popup__fields-textarea::-webkit-input-placeholder {
  color: #888FBB !important;
}

.wws-popup__send-btn {
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
  display: inline-block;
  vertical-align: middle;
  -webkit-user-select: none;
  user-select: none;
  position: absolute;
  right: 0;
  bottom: 0;
}
.wws-popup__send-btn svg {
  width: 100%;
  height: 100%;
}

.wws-popup__send-btn:active {
  background-color: #eceff1;
  border-radius: 3px;
}

.wws-popup__support-person-back {
  display: inline-block;
  padding: 8px 20px 2px 20px;
  border-radius: 30px;
  margin-bottom: 10px;
  cursor: pointer;
}

.wws-popup__support-person-back svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 425px) {
  .wws-popup {
    max-width: 100%;
    position: fixed;
    bottom: 0px;
    left: 0;
  }
  .wws-popup__header {
    margin: 0 10px;
  }
  .wws-popup__support-wrapper,
  .wws-popup__support {
    border-radius: 0;
  }
}