// Окно подтверждения канала связи (docplat_new)

.sln-core-dialog-modal:has(.sln-dialog-verification) {
  .modal-header,
  .sln-header-search {
    align-items: flex-start;
    padding-bottom: 16px;
  }

  .sln-modal-title {
    text-align: left !important;
    flex: 1 1 auto;
    font-size: 20px;
    line-height: 1.2;
  }

  .modal-footer,
  [mat-dialog-actions].modal-footer {
    justify-content: flex-start;
    padding-top: 0;
  }
}

.sln-dialog-verification {
  &__close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #4453710d;
    cursor: pointer;

    &:hover {
      background: #44537117;
    }

    .sln-common-cross-table {
      width: 20px;
      height: 20px;
      background-size: 20px;
    }
  }

  &-hint {
    margin: 0 0 20px;
    color: var(--MIDLE-GRAY, #6b7280);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.45;

    &__email {
      color: var(--PRIMARY);
      font-family: var(--font-medium);
      word-break: break-word;
    }

    a {
      color: var(--PRIMARY);
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }
    }

    &__command {
      color: var(--PRIMARY);
      font-family: var(--font-medium);
    }
  }

  &-outbound,
  &-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  &-repeat {
    p {
      margin: 0;
      color: var(--MIDLE-GRAY, #6b7280);
      font-family: var(--font);
      font-size: 14px;
      line-height: 1.35;
    }

    a {
      display: inline-block;
      color: var(--PRIMARY);
      font-family: var(--font-medium);
      font-size: 14px;
      line-height: 1.35;
      cursor: pointer;
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }
    }
  }

  &__field-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  &__field {
    width: 100%;

    &--invalid {
      input,
      .mdc-text-field__input,
      .mat-mdc-form-field-input-control {
        border-color: var(--DANGER) !important;
      }
    }
  }

  &__field-error {
    margin: 0;
    color: var(--DANGER);
    font-family: var(--font);
    font-size: 12px;
    line-height: 1.35;
  }

  &__submit {
    width: 100%;
    margin: 0;
  }

  &-footer-hint {
    margin: 0;
    color: var(--MIDLE-GRAY, #6b7280);
    font-family: var(--font);
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
  }

}

.sln-dialog-verification-row {
  &__column {
    margin-bottom: 12px !important;
  }
  &__column__phoneLink {
    display: inline;
    color: var(--PRIMARY);
    text-decoration: none;
  }
}

small.hint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--MIDLE-GRAY, #6b7280);
}

hr.dotted {
  border: none;
  border-top: 1px dotted var(--LIGHT-GRAY, #DADDE3);
  margin: 12px 0;
}
