$container-width: 332px;
$container-height: 236px;
$create-dialog-container-width: 332px;
$create-dialog-container-height: 180px;

.edit-container {
  min-height: $container-height;
  max-height: $container-height;
  height: $container-height;
  width: 100%;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.edit-btn-container {
  min-height: 34px;
  max-height: 34px;
  height: 34px;
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: flex-end;
}

.edit-dialog-container {
  min-height: $create-dialog-container-height;
  max-height: $create-dialog-container-height;
  height: $create-dialog-container-height;
  width: 100%;

  margin-bottom: 24px;

  &--disable {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: block;
  }

  &--wrapper {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;

    &__inf {
      min-height: 20px;
      font-style: normal;
      font-weight: 400;
      font-size: 14px;
      line-height: 20px;
      letter-spacing: 0.25px;
      color: var(--main-text);
    }

    &__icon-container {
      min-height: 56px;
      max-height: 56px;
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: flex-start;
      align-items: flex-start;

      &__icon {
        min-height: 56px;
        max-height: 56px;
        height: 56px;
        min-width: 56px;
        margin-top: 8px;

        background-color: var(--disabled-elements);
        border-radius: 50%;
        text-align: center;
        align-content: center;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      &__upload {
        min-height: 32px;
        max-height: 32px;
        min-width: 80px;
        max-width: 80px;
        margin-top: 8px;
        padding-left: 16px;
        padding-top: 20px;

        font-style: normal;
        font-weight: 700;
        font-size: 14px;
        line-height: 16px;
        letter-spacing: 0.4px;
        color: var(--color-icon);
      }
    }

    &__upload-error {
      min-height: 20px;
      font-style: normal;
      font-weight: 400;
      font-size: 14px;
      line-height: 20px;
      letter-spacing: 0.25px;
      margin-top: 5px;
      color: var(--error);
    }

    &__dialog-name-inf {
      min-height: 20px;
      font-style: normal;
      font-weight: 400;
      font-size: 14px;
      line-height: 20px;
      letter-spacing: 0.25px;
      margin-top: 24px;
      color: var(--main-text);
    }

    &__auto-join {
      min-height: 20px;
      font-style: normal;
      font-weight: 400;
      font-size: 14px;
      line-height: 20px;
      letter-spacing: 0.25px;
      margin-top: 5px;
      color: var(--error);
      display: flex;
      flex-flow: row;

      svg {
        margin: 2px 2px 0 0;
        fill: var(--error);
      }
    }

    &__text-field {
      width: 100%;
    }
  }
}
