.device-detail-drawer {
  &__connections {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
  }

  &__connections-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  &__connections-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.72);

    .anticon {
      color: rgba(0, 0, 0, 0.45);
    }
  }

  &__connections-empty {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    border: 1px dashed #d9d9d9;
    border-radius: 8px;
    background: #fafafa;
  }

  &__connection-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  &__connection-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;

    &:hover {
      border-color: #d9d9d9;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
  }

  &__connection-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #1677ff;
  }

  &__connection-main {
    flex: 1;
    min-width: 0;
  }

  &__connection-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: rgba(0, 0, 0, 0.88);
  }

  &__connection-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 12px;
    line-height: 18px;
    color: rgba(0, 0, 0, 0.55);
  }

  &__connection-tag {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 6px;
    font-size: 11px;
    line-height: 16px;
    color: rgba(0, 0, 0, 0.72);
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
  }

  &__connection-more {
    flex: 0 0 auto;
  }
}
