.container {
  color: var(--typography-100);
  background: var(--secondary-700);
  border-radius: 16px;
  overflow: hidden;
  max-width: 160px;
  margin-right: 6px;
}

.content {
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.main-info-wrapper {
  display: flex;
  flex-direction: column;

  & > .avatar-wrapper {
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;

    & > .avatar-wrapper-container {
      display: inline-block;
      font-size: 0;
      line-height: 0;
      position: relative;

      & > .avatar {
        height: 136px;
        width: 136px;
        border-radius: 17px;
        object-fit: cover;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
        line-height: 0;
        overflow: hidden;

        & > img {
          min-width: 100%;
          min-height: 100%;
          max-width: 100%;
          max-height: 100%;
        }
      }
    }

    & > .name-wrapper {
      position: absolute;
      text-align: center;
      padding-top: 4px;
      padding-bottom: 18px;
      background: var(--secondary-800);
      bottom: -30px;
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      border-bottom-left-radius: 17px;
      border-bottom-right-radius: 17px;

      & > .name {
        cursor: pointer;
        width: 100%;
        font-weight: 600;
        font-size: 18px;
        line-height: 135%;
        color: var(--typography-100);
      }
    }

    & > .status {
      display: inline-block;
      min-width: 80px;
      text-align: center;
      padding: 2px 8px;
      font-weight: 600;
      font-size: 12px;
      line-height: 16px;
      color: var(--typography-100);
      text-transform: capitalize;
      background-color: var(--success-400);
      width: 80px;
      height: 20px;
      position: absolute;
      border-radius: 22px;
      bottom: -40px;
      left: 28px;

      &.busy {
        background: var(--warning);
        color: var(--typography-900);
      }
    }
  }

  & > .main-info {
    overflow: hidden;
    flex-grow: 1;

    & > .main-info-container {
      display: flex;
      align-items: center;
      color: var(--typography-100);

      & > .rating {
        display: inline-flex;
        align-items: center;
        font-weight: 600;
        font-size: 22px;
        line-height: 32px;
        color: var(--typography-100);

        & > svg {
          width: 24px;
          height: 24px;
          margin-right: 1px;
          margin-left: 5px;
        }
      }

      & > .reviews {
        max-width: 85px;
        font-size: 12px;
        line-height: 130%;
        margin-left: 26px;
      }
    }

    & > .experience {
      display: flex;
      align-items: center;
      font-size: 10px;
      line-height: 130%;
      margin-top: 7px;
      color: var(--typography-300);

      & > svg {
        margin-right: 6px;
        fill: var(--primary-200);
        width: 12px;
        height: 12px;
      }
    }
  }
}

.button-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  width: 100%;
  margin-top: 20px;

  & > .button {
    font-family: Open Sans, sans-serif;
    color: var(--typography-100);
    cursor: pointer;
    background: var(--gradient-pink-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    user-select: none;
    padding: 5px 10px;
    align-self: center;
    outline: none;
    border: none;
    font-size: 16px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
      border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

    height: 40px;
    width: 136px;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    border-radius: 8px;

    &:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      box-shadow: none;
    }

    &.primary {
      background: var(--gradient-pink-base);

      &:disabled {
        background: none;
        background-color: var(--secondary);
        color: var(--typography-400);
        opacity: 1;
      }
    }
  }
}

.price-info-wrapper {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  margin-right: 20px;
  width: 100%;
  margin-bottom: 20px;

  & > .price-info {
    display: inline-block;
    color: var(--typography-200);
    font-size: 12px;
    line-height: 130%;
  }
}

.bold {
  font-weight: 600;
  color: var(--typography-100);
}
