.saas-app-device-planning-init-takeover-modal {
  .pisell-lowcode-modal-body {
    padding-top: 4px;
  }

  &__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  &__message {
    padding: 22px 24px;
    border: 1px solid #ffecb5;
    border-radius: 10px;
    background: #fffbe6;
    color: #8a5a00;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
  }

  &__info-table {
    overflow: hidden;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    background: #fff;
  }

  &__group-title {
    padding: 10px 24px;
    background: #f7f8fa;
    color: rgba(0, 0, 0, 0.45);
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    text-transform: uppercase;
  }

  &__row {
    display: grid;
    grid-template-columns: minmax(160px, 30%) 1fr;
    align-items: center;
    min-height: 52px;
    padding: 0 24px;
    border-bottom: 1px solid #f0f0f0;
    column-gap: 24px;
  }

  &__group:last-child &__row:last-child {
    border-bottom: none;
  }

  &__label {
    color: rgba(0, 0, 0, 0.45);
    font-size: 15px;
    line-height: 22px;
  }

  &__value {
    min-width: 0;
    color: rgba(0, 0, 0, 0.88);
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    overflow-wrap: anywhere;
  }
}

.saas-app-device-planning-init-takeover-modal--phone {
  width: 100%;
  max-width: 100%;

  .pisell-lowcode-modal-body {
    max-height: calc(100dvh - 172px);
    overflow: auto;
  }

  .saas-app-device-planning-init-takeover-modal__content {
    gap: 16px;
  }

  .saas-app-device-planning-init-takeover-modal__message {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 22px;
  }

  .saas-app-device-planning-init-takeover-modal__group-title {
    padding: 8px 14px;
    font-size: 12px;
  }

  .saas-app-device-planning-init-takeover-modal__row {
    grid-template-columns: minmax(120px, 42%) 1fr;
    min-height: 46px;
    padding: 0 14px;
    column-gap: 12px;
  }

  .saas-app-device-planning-init-takeover-modal__label,
  .saas-app-device-planning-init-takeover-modal__value {
    font-size: 14px;
    line-height: 21px;
  }
}
