// Окно подтверждения канала связи (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;
    font-size: 20px;
    line-height: 1.2;
  }
}
.sln-dialog-verification-hint{
  margin-bottom: 1rem !important;
}
.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;

    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;
  }

  &__field {
    width: 100%;
  }

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

  &__spacer {
    margin-bottom: 8px;
  }

  &-footer {
    display: flex;
    gap: 20px;

    &__item {
      flex: 1;
    }

    &__item:nth-child(2) {
      text-align: right;
    }

    &__item a {
      font-size: 13px;
      line-height: 1.2;
      letter-spacing: 0.01em;
      border-bottom: 1px solid;
      color: var(--PRIMARY);
      cursor: pointer;
      text-decoration: none;
    }

    p {
      color: var(--MIDLE-GRAY, #6b7280);
      font-size: 12px;
      line-height: 1.35;
    }
  }

  @media (max-width: 600px) {
    &-footer {
      flex-direction: column;

      &__item:nth-child(2) {
        text-align: left;
      }
    }
  }
}

.sln-dialog-verification-row {
  &__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;
}
