.flow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--color-sidenav-background);
  border: 1.5px solid var(--color-components-card-border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 100px;
  width: 100%;

  &:hover {
    border-color: var(--color-divider-regular);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: var(--color-nodes--bg);
  }

  .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;

    .flow-name {
      margin: 0;
      font-size: 16px;
      font-weight: 600;
      color: var(--color-text-primary);
      letter-spacing: -0.02em;
      line-height: 1.3;
      flex: 1;
      margin-right: 1rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-shrink: 0;
    }
  }

  .card-content {
    flex: 1;

    .flow-description {
      font-size: 14px;
      line-height: 1.6;
      color: var(--color-text-secondary);
      margin: 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: normal;
      word-break: break-word;
      overflow-wrap: break-word;
      font-weight: 400;

      &.placeholder {
        font-style: italic;
        color: var(--color-input-text-placeholder);
      }
    }
  }
}
